~/talk

Deep dive into Spring WebSockets

Talkat SpringOne2GX 2014 · 2014-09-08..09-11· [web-platform, web-animation]
slides:none on file

Spring WebSocket support (since Spring 4.0) adds STOMP-over-WebSocket handling, a demo chat app with profanity filter and private messaging works end to end, and Spring 4.1 introduces websocket scope (session-scoped beans, ban after 5 profanities in demo), an sjs Java client for server-to-server and load tests, and broker stats plus configurable thread pools/buffer limits (default send time limit 10s). Options are embedded simple broker or STOMP broker relay (RabbitMQ recommended for scale); Spring Security 4 and Spring Session integrate message-level security and HTTP–WebSocket session sync.

AI-written summary · about

  1. 0:00Introduction to WebSockets
  2. 2:14Real-time web basics
  3. 5:42Why Spring WebSockets
  4. 8:12STOMP over WebSockets
  5. 10:21Message processing flow
  6. 16:46Demo: Chat application
  7. 22:25Destinations and brokers
  8. 33:28Spring Integration support
  9. 34:53Application destinations demo
  10. 40:51Broker destinations explained
  11. 44:43User-specific destinations
  12. 53:00WebSocket scope in Spring 4.1
  13. 56:56Performance and monitoring
  14. 1:03:24Java client for WebSockets
  15. 1:06:17WebSocket security
  16. 1:14:10Spring Session integration
  17. 1:16:57Testing WebSocket apps
  18. 1:21:56Resource implications
  19. 1:29:54Q&A and closing
~/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.