Tagged articles

SseEmitter

7 articles · Page 1 of 1
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 11, 2026 · Backend Development

Spring Boot SSE Integration: Simpler Server Push Without WebSocket Overhead

This article details implementing Server-Sent Events (SSE) in Spring Boot for real-time server-to-client push, covering SseEmitter endpoints, connection registry with cleanup, heartbeat, Last-Event-ID reconnection, cluster broadcasting via Redis Pub/Sub, Base64 binary transfer, and production tuning for Nginx and thread pools.

EventSourceReal-time PushRedis Pub/Sub
0 likes · 17 min read
Spring Boot SSE Integration: Simpler Server Push Without WebSocket Overhead
Java Companion
Java Companion
Dec 23, 2025 · Backend Development

Three Spring Async Streaming APIs to Eliminate Timeout Issues

This article explains how to handle long‑running Spring endpoints by using three asynchronous streaming tools—ResponseBodyEmitter, SseEmitter, and StreamingResponseBody—showing their appropriate scenarios, configuration details, and complete code examples that keep the servlet thread free and avoid timeout problems.

@AsyncResponseBodyEmitterSpring
0 likes · 9 min read
Three Spring Async Streaming APIs to Eliminate Timeout Issues
macrozheng
macrozheng
Jan 3, 2025 · Backend Development

Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide

This article introduces Spring's SseEmitter for server‑sent events, outlines its key features and use cases, and provides a complete end‑to‑end example—including Vue 3 front‑end setup, JavaScript client, and Spring Boot controller code—to enable real‑time message pushing between server and browser.

Real-time PushServer-Sent EventsSpring Boot
0 likes · 8 min read
Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide