I would like to share a client singleton across GWT modules. Is this
possible? If so, how?

I have several modules that need to share an EventBus (SimpleEventBus)
instance. Creating a singleton in GWT Java code and having all modules
inherit from the common module did not work. Each of the root modules
has a different instance of the EventBus.

I also tried using the replace-with and create() approach documented
in ClientFactory of GWT MVC and that did not work. Each module had
it's own instance.

Ideas?

Thanks in advance,

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to