简体   繁体   English

GWT服务器<->客户端消息总线?

[英]GWT server<->client message bus?

Errai provides one, for example. 例如,Errai提供了一个。 Are there any other solutions providing event bus implementations that allow the client to receive realtime events from the server and share client events with the server? 是否有其他解决方案提供事件总线实现,以允许客户端从服务器接收实时事件并与服务器共享客户端事件?

Found a gwt lib that could match what I have been looking for: 找到了可以与我一直在寻找的gwt库:

http://code.google.com/p/gwt-comet/ http://code.google.com/p/gwt-comet/

Example: 例:

Basic use of gwt-comet for GWT GWT的gwt-comet的基本用法

But gwt-comet seems to be unmaintained since May 2011. Lots of open bug reports and no changes in the repository. 但是自2011年5月以来,gwt-comet似乎一直没有得到维护。大量未解决的错误报告,而且存储库中没有任何更改。 No maven integration. 没有Maven集成。

Similar discussion: 类似的讨论:

How can I connect GWT to CometD/Bayeux events? 如何将GWT连接到CometD / Bayeux事件?

Alternative using the existing cometd implementation at github.com: 使用github.com上现有的cometd实现的替代方法:

http://code.google.com/p/cometd4gwt/ http://code.google.com/p/cometd4gwt/

It has no maven ingration and the discussion group contains 4 threads only. 它没有专家,讨论组仅包含4个线程。

Seems like http://code.google.com/p/gwteventservice/ is the only proper solution right now because it has maven support, most issues have been solved and the last svn commit was in dec 2012. 似乎http://code.google.com/p/gwteventservice/是目前唯一合适的解决方案,因为它具有maven支持,大多数问题已得到解决,上一次svn提交是在2012年12月。

JIRA request for cometd GWT integration: http://bugs.cometd.org/browse/COMETD-63 JIRA要求对Cometd GWT进行集成: http ://bugs.cometd.org/browse/COMETD-63

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM