Java Frontend (Swing) and Backend (Springboot) websocket chat application
JavaChatAppDemo.mp4
- Install Java 17+
- Install .jar file
- Run in terminal:
$java -jar "path/to/jar/grego-chat-client.jar"
- Timestamped messages with connect and disconnect messages
- Max users capacity set on the server-side
- Force disconnects duplicate usernames in the same session
Runs on local application
GUI built with Javax Swing
Uses Spring stomp messaging framework to communicate with server
Runs on Render.com free server
Java Spring Boot server
Uses stomp messaging framework
- Render.com free tier has a slow cold start, so you need to wait and relaunch the client after attempting to connect
- After 5 minutes, Render.com will close a websocket connection forcefully because of free tier limitations
- Client textbox can become unfocused/unselectable