Java 中的 WebSockets 生产就绪服务器? [英] WebSockets production ready server in Java?

查看:26
本文介绍了Java 中的 WebSockets 生产就绪服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 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

在这些选项中,我猜JettyResin 是最成熟和稳定的.但是,自己进行测试总是好的.

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屋!

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