Java中的WebSockets生产就绪服务器? [英] WebSockets production ready server in Java?
问题描述
编辑:删除对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服务器的生产就绪框架?我找到了一个图书馆 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服务器 - 自去年9月以来,Jetty一直支持WebSockets。这似乎是个不错的选择。
- Caucho Resin
- 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屋!