Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.41 KB

File metadata and controls

43 lines (33 loc) · 1.41 KB

JavaChatApp

Java Frontend (Swing) and Backend (Springboot) websocket chat application

Table of contents

Demo

JavaChatAppDemo.mp4

Installation

  1. Install Java 17+
  2. Install .jar file
  3. Run in terminal: $java -jar "path/to/jar/grego-chat-client.jar"

Additional Info

Features

  • Timestamped messages with connect and disconnect messages
  • Max users capacity set on the server-side
  • Force disconnects duplicate usernames in the same session

Client

Runs on local application
GUI built with Javax Swing
Uses Spring stomp messaging framework to communicate with server

Server

Runs on Render.com free server
Java Spring Boot server
Uses stomp messaging framework

Known Issues

  • 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