问题
For the JSR 356 - Java API for WebSocket i know the reference implementation is Tyrus.
Are there any others?
If not, then i guess Tyrus is the implementation in all Application Servers (Glassfish, JBossAS/Wildfly etc...)
回答1:
As far as I know, there are a few JSR 356 Java API for WebSocket implementations besides Tyrus (the reference implementation):
- Apache Tomcat
- Jetty
- Undertow used by WildFly
Glassfish is the Java EE reference implementation and uses Tyrus.
According to my researches:
IBM announced WebSocket support for WebSphere Application Server Liberty Profile 8.5.5, but there's no information about the implementation. Probably they are using their own solution.
Oracle WebLogic Server introduced a proprietary WebSocket API in release 12.1.2 which is deprecated now, but remains supported for backward compatibility. According to the documentation, now the WebSocket protocol implementation in Oracle WebLogic Server is provided by the reference implementation of JSR 356 Java API for WebSocket.
Other proprietary application servers might provide their own implementations.
回答2:
The Event Driven Framework supporting WebSocket and HTTP Atmosphere
来源:https://stackoverflow.com/questions/33262947/what-are-the-available-java-ee-websockets-implementations