Search code examples
scalaplayframeworkplayframework-2.0signalratmosphere

Play Framework Bi-directional support including older browsers


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.


Solution

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