摘要: Comet support allows a servlet to process IO aynchronously, recieving events when data is available for reading on the connection (rather than always using a blocking read), and writing data back on connections asychnonously (most likely responding to some event raised from some other source).
原文地址:http://tomcat.apache.org/tomcat-6.0-doc/aio.html
评论
jamesby 2007-03-03
hexiaodong 写道
比我自己的Comet实现相比,更充分利用了tomcat自身的资源,但因为不属于servlet标准,因此不具备服务器兼容性。
给点代码实例就好了.
hexiaodong 2007-03-03
比我自己的Comet实现相比,更充分利用了tomcat自身的资源,但因为不属于servlet标准,因此不具备服务器兼容性。
hexiaodong
搜索本博客
最近加入圈子
存档
最新评论
评论排行榜