Search code examples
ruby-on-railsrubyjrubyreal-timefaye

Faye in jruby on rails


I have searched A LOT and couldn't find any resource that says I can use Faye with jruby. I have found this one that says that it doen't play well with jruby but it's really really old. Also I have found this that looks like they have implemented a Java native extension in order to support jruby?? Does anyone know if I can use it in a Jruby on rails project?

Thanks!


Solution

  • From the creator of Faye:

    Yes, the server runs on JRuby. The client uses either WebSocket, EventSource, XMLHttpRequest, CORS or JSON-P depending on what is supported by the user's browser, the server, and the intervening network, and is compatible with other Bayeux servers.