For those looking for something more like Sinatra in Java, check out webbit: https://github.com/joewalnes/webbit
Here's an example of a simple Websocket chat server: https://gist.github.com/1421652
Disclaimer: It's an open source project that I have some commits to