I want to create a JEE6 application that uses websockets. Is there any library I can use to do so that allows me to use application server’s port instead of opening a new port? (Which is out of JEE6 specification as far as I know)
Thanks a lot in advance.
I don’t think that most of the JEE6 application servers/servlet containers support websockets in a standard way. But you can actually try to use container-specific functionality. For example Jetty and Glassfish support websockets in their container-specific way.
Here are the links:
There is also jwebsocket which I suppose can be embedded into the Tomcat.