embedded-jetty-websocket-examples
embedded-jetty-websocket-examples copied to clipboard
Embedded Jetty WebSocket Examples
WebSockets on Embedded Jetty
This project contains examples on using WebSockets with Embedded Jetty.
Note: If you want to use CDI + websockets with Jetty, check out the example project at
https://github.com/jetty-project/embedded-jetty-weld
There are 2 APIs you can use with Jetty, the native WebSocket API and the javax.websocket API.
Project: javax.websocket-example
Demonstration of how to create a WebSocket Client or a WebSocket Server using javax.websocket
APIs.
Project: native-jetty-websocket-example
Demonstration of how to create a WebSocket Client or WebSocket Server using org.eclipse.jetty.websocket
APIs.