ajax – 可以像Comet的http漫长等待一样使用XMPP吗?

可以用与 reverse Ajax模式类似的方式应用 XMPP吗?它可以用来实现像 Comet这样的http长等待吗?是否有使用XMPP这种技术的例子?
是.看看 XMPP over BOSH.这是一种长期存在的非民意调查技术.从 BOSH specification开始:

This specification defines a transport protocol that emulates the semantics of a long-lived,bidirectional TCP connection between two entities (such as a client and a server) by efficiently using multiple synchronous HTTP request/response pairs without requiring the use of frequent polling or chunked responses.

jbosh一个开源Java实现. Tigase.org有许多项目,包括BOSH支持,并且似乎主要是Java / GWT. JAXMPP是框架中的Java库,但不清楚它支持哪些功能集.我自己没试过这些.

相关文章

IE6是一个非常老旧的网页浏览器,虽然现在很少人再使用它,但...
PHP中的count()函数是用来计算数组或容器中元素的个数。这个...
使用 AJAX(Asynchronous JavaScript and XML)技术可以在不...
Ajax(Asynchronous JavaScript and XML)是一种用于改进网页...
本文将介绍如何通过AJAX下载Excel文件流。通过AJAX,我们可以...
Ajax是一种用于客户端和服务器之间的异步通信技术。通过Ajax...