服务器端 WebSockets 的最佳 Java 框架 [英] Best Java framework for server side WebSockets

查看:37
本文介绍了服务器端 WebSockets 的最佳 Java 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个低负载的简单服务器.目标是让一些 javascript 客户端通过 WebSockets 访问一些在 Java 中实现的功能.我正在寻找最好的库来使用它 - 它应该简单,健壮等.现在我考虑 3 个替代方案- jWebSocket- 码头- 网易哪个最好?或者可能是别的什么?

I want to create simple server having low load. The goal is to give a few javascript clients access to some functionality implemented in Java through WebSockets. I seek for best library to use for that - it should be simple, robust etc. Now I consider 3 alternatives - jWebSocket - jetty - netty What is the best? Or may be something else?

提前致谢

推荐答案

jWebSocket 现在包含 Jetty 8.0 引擎(包括 SSL),并在其之上包含许多不错的功能.它提供了跨浏览器和跨平台兼容的客户端,甚至更多的移动应用程序,例如在 Android、Symbian 和 BlackBerry 下.服务器可以通过插件轻松扩展,并且已经包含了很多插件(例如用于身份验证/自动化、JDBC、SMTP、XMPP/Jabber、RPC、Twitter、文件共享、聊天等).只需检查一下...http://jwebsocket.org.期待您的反馈.

jWebSocket now includes the Jetty 8.0 engine including SSL and includes many nice-to-haves on top of it. It provides cross-browser and cross-platform compatible clients even more mobile apps e.g. under Android, Symbian and BlackBerry. The server can easily be extended with plug-in and already includes lots of them (e.g. for Authentication/Autorization, JDBC, SMTP, XMPP/Jabber, RPC, Twitter, Filesharing, Chat etc.). Just check it out... http://jwebsocket.org. Looking forward to your feedback.

问候亚历克斯

这篇关于服务器端 WebSockets 的最佳 Java 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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