Question

I'm about to build a web application in Play Framework and I'll need to have bidirectional communication between the server and the browser.

For modern browsers I can use web sockets, but for older browsers I will need to use long polling. Is there a library that will abstract away this choice and choose whichever one is supported by the browser? Similar to SignalR in .net.

Was it helpful?

Solution

It seems like the Atmoshphere library is absolutely what I was looking for. https://github.com/Atmosphere/atmosphere

OTHER TIPS

Two good options nowdays:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top