由网友(帅气称霸)分享简介:我需要的数据不断地从Java Web应用程序在Tomcat上运行的一个道场实现网站推。I need to push data continuously from Java web application running on Tomcat to a Dojo implemented website.如何从服务器和客...
我需要的数据不断地从Java Web应用程序在Tomcat上运行的一个道场实现网站推。
I need to push data continuously from Java web application running on Tomcat to a Dojo implemented website.
如何从服务器和客户端的处理呢?
How to handle this from both server and client?
推荐答案
考虑使用贝叶协议。稳定实现这个协议是由cometd http://cometd.org/ (这是一个Dojo Foundation项目提供,所以这是完全符合Dojo工具包)。
Consider using the Bayeux protocol. A stable implementation of this protocol is provided by cometd http://cometd.org/ (which is a Dojo Foundation project, and so it's fully compliant with dojo toolkit).
相关推荐
最新文章