Included in this project is a collection of various different ways to create a websocket server and client in Embedded Jetty.
See src/main/java for the code examples.
Jetty WebSocket Native API Examples
- examples.annotated - create a WebSocket using @WebSocket annotation
- examples.time - a WebSocket server periodically posting messages to connected clients