- 浏览: 23179 次
- 性别:
- 来自: 杭州
最新评论
文章列表
Comet
技术、框架与应用
Comet
有
long polling, streaming
两种方式
Streaming
技术:
隐藏的
Iframe
XMLHttpRequest
Streaming
HTML 5
server-sent
事件
HTML 5 Web
Socket API
Dojo Bayeux
协议
XMPP BOSH
协议
JSONRequest
对象
Comet
资源
参考资料:
·
Wikipedia
Comet
——
http://en.wikipedia.org/wiki/Comet_%28programming%29
(
Comet
的各种实现技术很全,
References
中相关资源也很全)
·
JavaOne
: TS-5250 ASYNCHRONOUS AJAX FOR REVOLUTIONARY WEB APPLICATIONS
—
http://www.oracl ...
Comet
在web 开发中,Comet是一个新词来描述一种web app模型
,长连接的HTTP请求
,允许web Server推送数据到浏览器
,而不用浏览器显式地请求。Comet是一个实现这种交互的多种技术的涵盖性术语
。这些方法依赖于浏览器 ...
源地址链接: http://www.ibm.com/developerworks/cn/web/wa-cometjava/
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.Serv ...
源地址链接:http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Tomcat 6 AIO支持Comet的sample代码:
public class ChatServlet
extends HttpServlet implements CometProcessor {
protected ArrayList<HttpServletResponse> connections =
new ArrayList<HttpServletResponse>();
p ...
A very important PDF "Asynchronous Ajax for revolutionary web applications" from SUN web site.
http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5250.pdf
ASYNCHRONOUS AJAX FOR REVOLUTIONARY WEB APPLICATIONS
Jeanfrancois Arcand Ted Goddard, Ph.D. TS-5250
Join the As ...
转自 "http://www.ibm.com/developerworks/cn/web/wa-lo-comet/#resources"
Comet:基于 HTTP 长连接的“服务器推”技术
很多应用譬如监控、即时通信、即时报价系统都需要将后台发生的变化实时传送到客户端而无须客户端不停地刷新 ...
转自 "
http://en.wikipedia.org/wiki/Comet_(programming)
"
Comet
In
web development
, Comet
is a
neologism
to describe a
web application
model in which a long-held
HTTP
request allows a