GWT 或 Liferay 或只是 Tomcat:如何从服务器端启动更新?
是否可以从服务器端启动 portlet 或 Web GUI 对象的更新?例如,如果服务器上的聊天板已更新,如何才能要求所有 Web 客户端重绘其内容?
我知道可以从客户端定期查询,但我对从服务器端启动感兴趣。
感兴趣的技术有 GWT(Google Web Toolkit)、GAE(Google App Engine)和 Liferay(门户服务器)。
谢谢
Is it possible to initiate the update of a portlet or web GUI object from the side of server? For example if a chat board is updated on the server how is it possible to ask all web clients to redraw it's contents?
I know that it is possible to query periodically from the client side, but I am interested in initiation namely from server side.
Interested technologies are GWT (Google Web Toolkit), GAE (Google App Engine) and Liferay (Portal server).
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看 http://www.icepush.org/product/icepush-GWT.html 页面的IcePush解决了这个问题。如果您对 GWT 足够熟悉,您将在其 wiki 上找到所有必需的信息。
Have a look for http://www.icepush.org/product/icepush-GWT.html page for IcePush solution to this problem. If you're enough familiar with GWT you'll find all the required information on their wiki.
查看 GAE 通道 API
http://code.google.com/appengine/docs/java/channel/
Check out the GAE Channel API
http://code.google.com/appengine/docs/java/channel/