How to implement websocket in Dropwizard

Balachandar picture Balachandar · Feb 7, 2013 · Viewed 10.6k times · Source

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.

Answer

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...