Real Time Articles
2 articles about Real Time. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Implement Server-Sent Events (SSE) in Spring Boot
A guide to implementing Server-Sent Events (SSE) in Spring Boot. Covers how to use SseEmitter and Flux<ServerSentEvent>, reconnection with EventSource, criteria for choosing between SSE and WebSocket, and operational considerations such as Nginx, with practical examples.
-
How to Implement Real-Time Communication with WebSocket in Spring Boot - Basics of STOMP and SockJS
Step-by-step guide to building a broadcast-style chat feature from scratch using Spring Boot + STOMP + SockJS. Covers @MessageMapping, SimpMessagingTemplate, and integration with Spring Security in a practical way.