~/talk

From Zero to Hero with Spring WebSocket

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [web-platform, security]
slides:none on file

Shows how Spring 4.2 adds Server‑Sent Events support using SseEmitter and the browser EventSource API to push notifications, then migrates to full duplex messaging with WebSocket, SockJS fallbacks and STOMP over WebSocket so clients subscribe and send to destinations. Demonstrates simple in‑memory broker vs a broker relay to RabbitMQ for scaling, handshake customization to assign usernames, user destinations and user‑registry synchronization, and message‑level security with Spring Security plus use of WSS.

AI-written summary · about

  1. 0:00Introduction to Real-time
  2. 1:08Limitations of HTTP 1.1
  3. 2:44Historical Real-time Hacks
  4. 5:03Server-Sent Events Overview
  5. 8:20Implementing SSE in Spring
  6. 14:41SSE Live Demo Review
  7. 17:37Introduction to WebSockets
  8. 22:21WebSocket Protocol and API
  9. 25:41Spring WebSocket Support
  10. 28:44Implementing Raw WebSockets
  11. 41:43STOMP and Message Brokers
  12. 47:13STOMP Over WebSockets Demo
  13. 51:51Configuring Message Broker
  14. 1:04:38User Destinations and Security
  15. 1:13:22Scaling with Broker Relay
  16. 1:19:30Clustering and Registry Sync
  17. 1:27:51WebSocket Security Deep Dive
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.