WebSocket - JSR356
summary
Explains why WebSocket replaces polling and long polling with a TCP based full duplex channel and notes lack of delivery guarantees and that the client must start the handshake. Describes JSR 356 with Tyrus reference implementation, shows bootstrapping a Java SE client via ContainerProvider and GlassFish 4 includes WebSocket, details encoders/decoders, path templates, subprotocols, firewall gotchas and Azure issues and demos a browser drawing app that works end to end using NetBeans live debugging and Chrome network frames.
AI-written summary · about
chapters (9)
- 0:00Introduction to WebSocket
- 4:21WebSocket standard and browser support
- 11:57WebSocket API basics and endpoints
- 20:04Sending and receiving messages
- 26:28Encoders and decoders for Java objects
- 34:25Path mapping and query parameters
- 38:16Security and protocol considerations
- 42:10Demo and tools for WebSocket development
- 50:02Q&A on clustering and security
related talks
01h 28mIntroduction to WebSockets
46mJava: Odlotowe Gniazda Sieciowe w Netty
39mAmazing WebSockets in Netty
01h 14mWebSocket: How, When and What It Costs
29mWebSockets Bring Light at the End of the Tunnel
46mServlet 4 0: A New Twist on an Old Favorite
25mTaming Client-Server Communication
49mThe Real Time Web with XMPP
