以下听起来非常相似的 Java 服务器/框架都支持 Web 套接字:
请注意,由于 安全问题(因为 Microsoft 不想这样做)。
您还可以考虑查看一些向 Web 套接字提供 JMS 的 JMS 提供程序,例如使用 Stomp 的 HornetQ 和 ActiveMQ。
The following very similar sounding Java servers / frameworks have web socket support:
Note that web sockets aren't universally supported as a result of security issues (and because Microsoft doesn't want to).
You could also consider looking at some of the JMS providers that provide JMS to web sockets e.g. HornetQ and ActiveMQ using Stomp.
不需要,Java 有它自己的非常直观的套接字库。
API: http://download.oracle.com /javase/1.4.2/docs/api/java/net/Socket.html
教程:http://download.oracle.com/javase/tutorial/networking/sockets/
No need, Java has it's own very intuitive socket library.
api: http://download.oracle.com/javase/1.4.2/docs/api/java/net/Socket.html
tutorial: http://download.oracle.com/javase/tutorial/networking/sockets/
Grizzly 还具有其价值的 websockets 支持。但使用 websockets 而不是 java.net.Socket 的原因之一是 websockets 可以透明地穿越防火墙和代理,而无需重新配置网络端口/策略。
Grizzly also has websockets support for what it's worth. But one reason to use websockets rather than java.net.Socket is that websockets can traverse firewalls and proxies transparently without having to reconfigure network ports/policies.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(3)
以下听起来非常相似的 Java 服务器/框架都支持 Web 套接字:
请注意,由于 安全问题(因为 Microsoft 不想这样做)。
您还可以考虑查看一些向 Web 套接字提供 JMS 的 JMS 提供程序,例如使用 Stomp 的 HornetQ 和 ActiveMQ。
The following very similar sounding Java servers / frameworks have web socket support:
Note that web sockets aren't universally supported as a result of security issues (and because Microsoft doesn't want to).
You could also consider looking at some of the JMS providers that provide JMS to web sockets e.g. HornetQ and ActiveMQ using Stomp.
不需要,Java 有它自己的非常直观的套接字库。
API: http://download.oracle.com /javase/1.4.2/docs/api/java/net/Socket.html
教程:http://download.oracle.com/javase/tutorial/networking/sockets/
No need, Java has it's own very intuitive socket library.
api: http://download.oracle.com/javase/1.4.2/docs/api/java/net/Socket.html
tutorial: http://download.oracle.com/javase/tutorial/networking/sockets/
Grizzly 还具有其价值的 websockets 支持。但使用 websockets 而不是 java.net.Socket 的原因之一是 websockets 可以透明地穿越防火墙和代理,而无需重新配置网络端口/策略。
Grizzly also has websockets support for what it's worth. But one reason to use websockets rather than java.net.Socket is that websockets can traverse firewalls and proxies transparently without having to reconfigure network ports/policies.