Java WebSocket Programming
Chapter 2. Java WebSocket Lifecycle
Chapter 3. Basic Messaging
Chapter 4. Fun with Sessions
Chapter 5. Advanced Messaging
Chapter 6. Java WebSockets on the Client Side
Chapter 7. Securing Your Java WebSockets
Chapter 8. Java WebSockets in Web Applications
Build dynamic enterprise Web applications that fully leverage state-of-the-art communication technologies. Written by the leading expert on Java WebSocket programming, this Oracle Press guide offers practical development strategies and detailed example applications. Java WebSocket Programming explains how to design client/server applications, incorporate full-duplex messaging, establish connections, create endpoints, handle path mapping, and secure data. You’ll also learn how to encrypt Web transmissions and enrich legacy applications with Java WebSocket.
- Develop Web applications using the Java WebSocket API
- Create and publish annotated and programmatic endpoints
- Manage the lifecycle events of WebSocket endpoints
- Maintain reliable connections across the endpoint lifecycle
- Manage synchronous and asynchronous messaging
- Define encoding and decoding strategies for complex messaging
- Configure message timeouts, size limits, and exceptions
- Map message paths and route incoming URIs to Web containers
- Secure data, authenticate users, and encrypt connections