I think that my latest post could be useful for your problem: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/6cf9babf73c94a38#
Shared model objects stored as GWT-modules could be used as described by Pearce but with encoded String communication rather than JavascriptObjects. On 4 Dic, 00:07, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Just a small background on what I'm doing. > > I'm writing JSR-286 portlets, mostly using GWT. I'm taking advantage > of the newer portlet eventing features and having them distributed to > the GWT portlets in real time, using a Comet implementation similar to > what is shown in the book "Google Web Toolkit Applications" by Ryan > Dewsbury. In my current implementation, I have a comet servlet set up > for each GWT portlet. > > It's easy to see what the problem is. Right now I only have two GWT > portlets developed, so there are two comet servlets being connected to > at the same time. The load is not so bad with just two applications, > but the portal will expand with new applications in the coming days. > Six comet connections at a time per user is a very bad idea, so I want > to cut it down to just one connection per user. > > Implementing a comet servlet with a multiple "channel" support for > each kind of GWT app in the portal will be the easy part. What I want > to do, however, is set up a single GWT application on the portal page > that will handle the comet connection and let other, separate GWT > applications communicate with it, receiving any new events the apps > subscribed for. > > What I want to know is if it is possible to have two complete seperate > GWT applications, served on the same HTML page, communicate with each > other within the browser? > > I know I could aggregate all GWT applications into one but that is not > the goal of the project. They absolutely require to be portlets. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
