Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss support Websockets?

Does JBoss support WebSockets? Where can I find an example?

( I did try looking around for an answer, but ended up confused by product names. There is something called infinispan which might handle websockets, then there is HornetQ which might not be up to date, then there is a patch for Netty... I don't know what these different products are. Maybe what I am trying to do is handled in Tomcat already?)

I just want some sample code so I can get a sense of how this type of connection would be handled by JBoss. I would like to try to connect to some clients with web-socket-js )

like image 569
jedierikb Avatar asked Nov 14 '22 06:11

jedierikb


1 Answers

JBoss 6 supports asynchronous servlet handling. Websockets are on the client side. I guess they will work.

If you want to have comet regardless of the underlying implementation, take a look at Atmosphere - it will choose the most advanced method available.

like image 173
Bozho Avatar answered Jan 12 '23 12:01

Bozho