A netty server that demonstrates various ways of using netty to implement Ajax push to the browser.
Related articles
- Netty Tutorial Part 1: Introduction to Netty
- Netty Tutorial Part 1.5: On Channel Handlers and Channel Options
The following push protocols are implemented:
- Long Polling
- HTTP Streaming
- WebSockets
To run the server, clone this project locally and then run:
- mvn clean install
- mvn exec:java
- Point your browser to http://localhost:8087