Skip to content

A simple Java WebSocket chat application developed with Java, Java JSONB.

License

Notifications You must be signed in to change notification settings

yusufsefasezer/java-websocket-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java WebSocket Example

A simple Java WebSocket chat application developed with Java, Java JSONB.

How to run

Maven must be installed to run this application.

If you have maven execute the below command to run.

mvn clean package cargo:run

You can access the application using localhost:8080/java-websocket-example in your web browser.

Docker

Docker must be installed.

Build the Docker image with the tag "java-websocket-example"

docker build -t java-websocket-example .
docker run -p 80:8080 java-websocket-example

You can access the application using localhost:80 in your web browser.

Screenshot

License

This project is licensed under the MIT License. See the LICENSE file for details

Created by Yusuf Sezer