socket.io的最佳java服务器实现 [英] Best java server implementation for socket.io

查看:1133
本文介绍了socket.io的最佳java服务器实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 socket.io 将数据从服务器推送到浏览器,但该项目是java tomcat one,并且有很多实现 Github 用于 socket.io 的服务器实现。他们中的大多数人说他们已被弃用或更好的可用。任何人都建议我做一个很好的实施。

I wanted to use socket.io to push data from server to browser but the project is java tomcat one, and there are many implementation in Github for the server implementation of socket.io. Most of them say they are deprecated or better ones are available.Can anyone suggest me a good implementation.

我看到很多演示和有关使用 socket.io 进行广播的示例代码。我的要求是将不同的消息推送给不同的客户端。有人能指点我一些好的演示或教程处理这些东西吗?

And I see lot of demo and sample code about broadcasting with socket.io. My requirement is to push different messages to different clients. Could someone point me to some good demo or tutorial dealing with such stuff?

谢谢

推荐答案

作为作者,我建议在Java上尝试我的SocketIO服务器实现:

As author, I suggest to try my SocketIO server implementation on Java:

https://github.com/mrniko/netty-socketio

稳定且生产就绪的lib。

Stable and production ready lib.

这篇关于socket.io的最佳java服务器实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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