有哪些可用的Java EE Websockets实现? [英] What are the available Java EE Websockets implementations?

查看:156
本文介绍了有哪些可用的Java EE Websockets实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于JSR 356 - WebSocket的Java API我知道参考实现是Tyrus。

For the JSR 356 - Java API for WebSocket i know the reference implementation is Tyrus.

还有其他人吗?

如果没有,那么我猜Tyrus是所有应用服务器(Glassfish,JBossAS / Wildfly等......)的实现。

If not, then i guess Tyrus is the implementation in all Application Servers (Glassfish, JBossAS/Wildfly etc...)

推荐答案

据我所知,有一些用于WebSocket的JSR 356 Java API Tyrus (参考实施)之外的实施:

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是Java EE参考实现,使用 Tyrus

Glassfish is the Java EE reference implementation and uses Tyrus.

根据我的研究:


  • IBM 宣布 WebSocket对WebSphere Application Server Liberty Profile 8.5.5的支持,但没有关于实现的信息。可能他们正在使用他们自己的解决方案。

  • 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在版本12.1.2中引入了专有的WebSocket API,现在已弃用,但仍然支持向后兼容。根据文档,现在WebSocket协议实现了Oracle WebLogic Server由JSR 356 Java API for WebSocket的参考实现提供。

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.

这篇关于有哪些可用的Java EE Websockets实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆