This is my take on the commonly distributed demo websocket application - a chat application. It's very basic and still work in progress but I wanted to play with the combination of rxjava and vaadin's newly support push feature.
Using rxjava to power the main Chat class is extremely powerful. I think this combination of technologies could prove to be extremely productive.
I wrote the first version of this while up late waiting for the first trades of the day to enter the system where I work. Ensuring that the weekend release had gone out as expected.
More importantly I wanted to experiment with the new vaadin push support.
mvn clean install
- run the com.github.oxlade39.vaadin.Main class. or
- run mvn exec:java
I've written it to use an Embedded Jetty instance, just because I like a pure java solution.
I've deployed it to heroku which doesn't support websockets but the vaadin should gracfully degrade to polling.
TODO add more documentation...