Java 中的 WebSockets 生产就绪服务器? [英] WebSockets production ready server in Java?
问题描述
EDIT:删除了对 C# 的引用,因为唯一接受的答案是关于 Java.如果有人需要有关 C# 中 websocket 服务器实现的信息,请提出一个新问题.
EDIT: removed reference to C# as the only accepted answer is about Java. If someone needs information about websocket server implementation in C#, ask a new question.
您知道在 Java 中创建 WebSockets Server 的生产就绪"框架吗?我找到了一个库 http://nugget.codeplex.com/ 但我不知道它是如何稳定的快.
Do you know "production ready" framework for creating WebSockets Server in Java? I found one library http://nugget.codeplex.com/ but i did not know how it is stable and fast.
推荐答案
对于 Java,请查看此 信息性帖子.从那里复制粘贴:
For Java, check out this informative post. Copy-paste from there:
- Jetty WebSocket 服务器 – Jetty 从去年 9 月开始支持 WebSockets.这似乎是一个不错的选择.
- Caucho 树脂
- jWebSocket
- GlassFish/Grizzly(参见 DZone 上的帖子这里)
- JBoss Netty(参见补丁 这里)
- Webbit
- Jetty WebSocket Server – Jetty has supported WebSockets since last September. This seems to be a good option.
- Caucho Resin
- jWebSocket
- GlassFish/Grizzly (see a DZone posting on it here)
- JBoss Netty (see patch here)
- Webbit
在这些选项中,我猜Jetty 和Resin 是最成熟和稳定的.但是,自己进行测试总是好的.
Out of these options, I guess Jetty and Resin are the most mature and stable. However, always good to do your own testing.
这篇关于Java 中的 WebSockets 生产就绪服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!