在道场和Java AJAX PUSH(流)执行 [英] AJAX PUSH (Streaming) implementation in Dojo and Java
本文介绍了在道场和Java AJAX PUSH(流)执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要的数据不断地从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).
这篇关于在道场和Java AJAX PUSH(流)执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文