开发者

Comet without AJAX

开发者 https://www.devze.com 2022-12-23 14:24 出处:网络
Suppose I only had the regular J2SE http libraries but wanted to write a client 开发者_JAVA百科for comet, say in Android etc, but not limited to that, i.e. not using a WebView. Since there\'s no brow

Suppose I only had the regular J2SE http libraries but wanted to write a client 开发者_JAVA百科for comet, say in Android etc, but not limited to that, i.e. not using a WebView. Since there's no browser I'm assuming you'd have to open the long term connections yourself ... is this feasible?


Comet is only required in a browser environment. When you have access to J2ME/Android libraries you don't need to employ comet -- you simply do all what you want with full power of sockets.

0

精彩评论

暂无评论...
验证码 换一张
取 消