Reverse ajax in dropwizard
2 answers
As far as I know, reverse ajax is not available directly in Dropwizard. But the inverse ajax effect can be set directly using either websockets or long polling. Websockets are an efficient way to communicate asynchronously between client and server without reloading the page on the client.
There are many ways to create websockets in dropwizard and my favorite is the jetty website.
+1
source to share
There are several types of AJAX backlinks (poll, websites, copy, comet). Atmosphere, asynchronous comet / website framework works great with Jersey. You can try it here: https://github.com/Atmosphere/atmosphere
There is also a Dropwizard / Atmosphere version included: https://github.com/mgutz/dropwizard-atmosphere/
0
source to share