首页IT科技rabbitmq存储消息的数据结构(RabbitMQ » Blog Archive » SockJS – WebSocket emulation Messaging that just works)

rabbitmq存储消息的数据结构(RabbitMQ » Blog Archive » SockJS – WebSocket emulation Messaging that just works)

时间2025-08-05 08:19:04分类IT科技浏览6059
导读:3 Responses to “SockJS – WebSocket emulation” falcon Says:...

3 Responses to “SockJS – WebSocket emulation               ”

falcon Says:

September 19th, 2011 at 5:05 pm

How about a server in Java? Seriously, there are different efforts to do real-time communication with the browser in java (various socket.io implementations, atmosphere), but they are all terrible to use.

Every time I start to read documentation of atmosphere, I find trying to figure out continuations, paus/resume/broadcast, annotations. Other implementations show a few lines of code as "simple" example of how to write java to send simple messages. The fact that all (?) of them need to be deployed into web/sevlet containers doesnt get described.

It took me less time to figure out what node.js was, what socket.io was, what npm was, how to install them, get them running and successfully communicate with browsers, than it did for me to get java solutions working. (actually I have NEVER gotten java solutions to work satisfactorily). This, despite the fact that Im not a web developer and have almost no javascript experience...whereas I have been doing java for 10 years.

marek Says:

September 19th, 2011 at 5:12 pm

How about a server in Java?

Why not Subscribe to SockJS mailing list and ask there http://groups.google.com/group/sockjs . Im heard few people interested in doing SockJS-java!

Tim Fox Says:

September 21st, 2011 at 7:59 am

Have you looked at https://github.com/purplefox/node.x

Its a fully async general purpose application container for JVM languages. It supports TCP, HTTP, Websockets, etc, and many more modules on the way.

If you like, you can think of it as "node.js for JVM languages".

Its also a Rabbit/VMware project. (I work for VMware too ) )

How about a server in Java?

声明:本站所有文章                ,如无特殊说明或标注                       ,均为本站原创发布               。任何个人或组织       ,在未征得本站同意时            ,禁止复制                、盗用                       、采集       、发布本站内容到任何网站            、书籍等各类媒体平台                       。如若本站内容侵犯了原著者的合法权益                        ,可联系我们进行处理        。

创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
windows7任务栏隐藏了怎么还原(Windows7系统任务栏的图标隐藏与显示的方法)