0

I just dived into Websocket interface. I ran my first sample websocket code in Tomcat 7, it works great.

Is there any other servers to supports websocket with java programmming?

Any other features with HTML 5 & Tomcat 7 otherthan websocket?

3 Answers 3

1

Jetty (wiki) and Netty (examples from netty homepage) support WebSockets

1

Did you try Atmosphere? https://github.com/Atmosphere/atmosphere

Quote from their github page

The Atmosphere Framework contains client and server side components for building Asynchronous Web Application. The majority of popular frameworks are either supporting Atmosphere or supported natively by the framework. The Atmosphere Framework supports all majors Browsers and Servers...

Here is a nice tutorial/sample app using Jersey/Jetty as server and Jquery on client-side http://www.ncolomer.net/2012/03/cometwebsocket-introducing-the-atmosphere-framework/

I am try this out right now. Pretty impressive! (Jetty is good enough for me and I haven't tried out other servers with atmosphere; if you want a sample project to bootstrap yours, you can probably start from here)

1
  • I understand that Atmosphere & jwebsocket providing infrastructure to support websocket. But, my question is what are other servers supporting websocket? Oct 12, 2012 at 8:54
1

Play framework(1.2.5 to latest) also support websocket. play-1.2.5 Websocket Link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.