Part 3. Network protocols

WebSocket is an advanced network protocol that has been developed to improve the performance and responsiveness of web applications. We’ll explore Netty’s support for each of them by writing a sample application.

In chapter 12 you’ll learn how to implement bidirectional data transmission using WebSocket by building a chat room server where multiple browser clients can communicate in real time. You’ll also see how to switch from HTTP to the WebSocket protocol in your applications by detecting whether the client supports it.

We’ll conclude part 3 with a study of Netty’s support for the User Datagram Protocol (UDP) in chapter 13. Here you’ll build a broadcasting server and monitor client that can be adapted to many practical ...

Get Netty in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.