[英]does anyone know about the server push/commet technique in gwt
我需要以任意方式将一些数据从服务器推送到客户端,我的意思是当有数据时它将使用commet技术推送客户端小部件中的数据,任何想法如何以及从何处开始。
There are many libraries for GWT but here are a few: GWT有很多库,但这里有几个:
http://code.google.com/p/gwteventservice/ http://code.google.com/p/gwteventservice/
http://code.google.com/p/gwt-comet/ http://code.google.com/p/gwt-comet/
http://code.google.com/p/rocket-gwt/wiki/Comet http://code.google.com/p/rocket-gwt/wiki/Comet
http://www.jboss.org/errai http://www.jboss.org/errai
http://code.google.com/p/dwr4gwt/ http://code.google.com/p/dwr4gwt/
Descriptions: 说明:
http://www.jroller.com/masini/entry/a_comet_implementation_for_google http://www.jroller.com/masini/entry/a_comet_implementation_for_google
http://wintermuteblog.blogspot.com/2010/01/websphere-gwt-comet.html http://wintermuteblog.blogspot.com/2010/01/websphere-gwt-comet.html
I played around with many of these libraries and found that GWTEventService works quite nicely, I have been using it for some time for a web based chat client that I wrote. 我玩了很多这些库,发现GWTEventService工作得非常好,我已经使用它一段时间用于我写的基于Web的聊天客户端。 It is also very easy to get up and running so that might be a good one to start with.
它也很容易启动和运行,因此这可能是一个很好的开始。
这是一个关于服务器推送技术的好文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.