An open API service indexing awesome lists of open source software.

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.

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/