有谁知道gwt中的服务器推送/commet技术
我需要以任意方式将一些数据从服务器推送到客户端,我的意思是当有数据时,它将使用commet技术将数据推送到客户端小部件中,知道如何以及从哪里开始。
I need to push some data from server to client in arbitrary manner, i mean when there is data it will push the data in the client widget using commet technique , any idea how and where to start.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
GWT 有很多库,但这里有一些:
http://code.google.com/p/gwteventservice/
http://code.google.com/p/gwt-comet/
http://code.google.com/p/rocket-gwt/wiki/Comet
http://www.jboss.org/errai
http://code.google.com/p/dwr4gwt/
说明:
http://www.jroller.com/masini/entry/a_comet_implementation_for_google
http://wintermuteblog.blogspot.com/2010/01/websphere-gwt -comet.html
There are many libraries for GWT but here are a few:
http://code.google.com/p/gwteventservice/
http://code.google.com/p/gwt-comet/
http://code.google.com/p/rocket-gwt/wiki/Comet
http://www.jboss.org/errai
http://code.google.com/p/dwr4gwt/
Descriptions:
http://www.jroller.com/masini/entry/a_comet_implementation_for_google
http://wintermuteblog.blogspot.com/2010/01/websphere-gwt-comet.html
我尝试了许多这样的库,发现 GWTEventService 工作得非常好,我已经在我编写的基于 Web 的聊天客户端中使用它一段时间了。它也很容易启动和运行,因此这可能是一个很好的开始。
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. It is also very easy to get up and running so that might be a good one to start with.
这是一个关于服务器推送技术的好文档。
It is a good document about server push techniques..