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 )
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With