I have a requirement to implement websocket with a dropwizard project. However i am unable to find any document related to it. Can any one point out resources for the same.
I've been dealing with the same problem, and thought I would like to share my solution: http://cvwjensen.wordpress.com/2014/08/02/websockets-in-dropwizard/
I use the Atmosphere framework and the solution defaults to using websockets, but can downgrade to long-polling if required.
That should be enough to get you started...
I'm looking to do this too. This is the best information I've found so far:
Supposedly one of the most popular websocket frameworks out there works well with Jersey (Jersey is bundled with Dropwizard). You can find more about it here: https://github.com/Atmosphere/atmosphere
Also, someone has published a repository integrating the two of them together: https://github.com/mgutz/dropwizard-atmosphere/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With