What are the available Java EE Websockets implementations?

笑着哭i 提交于 2019-12-23 22:36:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!