https://github.com/celer/simple-java-websockets-jetty-example
A very simple websockets example using jetty - the goal being to have the most basic example possible.
https://github.com/celer/simple-java-websockets-jetty-example
Last synced: about 1 year ago
JSON representation
A very simple websockets example using jetty - the goal being to have the most basic example possible.
- Host: GitHub
- URL: https://github.com/celer/simple-java-websockets-jetty-example
- Owner: celer
- Created: 2016-06-03T18:42:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-01T23:18:06.000Z (almost 10 years ago)
- Last Synced: 2025-02-14T08:51:25.534Z (over 1 year ago)
- Language: Java
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a simple java websockets app using jetty for testing websockets
# Instructions
Simply run
```
run.sh
```
It will:
* Download jetty
* Copy the lib directory out of jetty
* Setup a class path
* Run the application
To use simply visit
http://localhost:8080/
You can specify the URL to connect to for websockets by providing parameters 'host' and 'port'
It is based off of the example from here:
http://jansipke.nl/websocket-tutorial-with-java-server-jetty-and-javascript-client/