Building a Real-Time Messaging System with Spring and Apache Mina

Server ImplementationApache Mina provides a robust framework for building network applications. When combined with Spring's dependency injection, it creates a flexible architecture for real-time message delivery and session management.Data Transfer ObjectsThe communication layer requires structured message objects for serialization. The incomin ...

Posted on Sat, 23 May 2026 18:54:07 +0000 by yarons

Implementing Real-Time Messaging with SSE in Spring Boot

Server-Sent Events (SSE) is a mechanism that enables servers to push real-time updates to clients over HTTP. Compraed to WebSocket, SSE is simpler and suitable for many real-time communication scenarios. This article explores how to implement real-time messaging using Spring Boot and SSE. What Are Server-Sent Events SSE allows a server to send ...

Posted on Wed, 13 May 2026 05:05:18 +0000 by iraja

Practical WebSocket Client with Auto-Reconnection and Real-Time Message Push for Vue 3

import EventBus from "@/utils/EventBus"; import { WS_ERROR_EVENT } from "@/config/constants"; import { getAuthToken } from "@/utils/auth"; const WS_BASE_URL = import.meta.env.VITE_WS_BASE_URL; class WebSocketClient { private enableAutoReconnect: boolean = true; public reconnectAttempts: number = 0; private ...

Posted on Fri, 08 May 2026 01:50:18 +0000 by johnnyboy16