May 2025
Backend Developer - Java
Real-Time Application
The Real-Time Chat Application is a lightweight and simple messaging platform that uses WebSocket for real-time communication. Developed with Spring Boot and WebSocket technology, the application allows users to send and receive messages in real time without relying on a persistent database. This app was designed for learning and demonstration purposes, showcasing the ease of integrating WebSocket into Spring Boot applications.
The application uses Spring Boot and WebSocket with SockJS to provide real-time message broadcasting. The message flow is managed using the STOMP protocol, with SockJS acting as the WebSocket client to ensure compatibility across different browsers. All message broadcasts are handled via a simple in-memory message broker, and Cross-Origin Resource Sharing (CORS) is configured to allow requests only from http://localhost:8080
.
The development followed an agile process with a focus on simplicity and performance. The core logic was developed iteratively, with frequent testing of WebSocket communication to ensure real-time message updates. Collaboration with frontend developers was key to maintaining synchronization between the backend and user interface.
Ensuring smooth real-time communication with WebSocket, managing message delivery without persistence, and maintaining low latency in a lightweight, session-based system.
Used Spring Boot and WebSocket with SockJS and STOMP for real-time communication, with a simple in-memory message broker.