Skip to content

GregoryLi360/JavaChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published