Stefan, It's a bit against the idea of GWT. GWT forces all code to be in one compilation.
But I understand the requirement (I have exactly the same requirement). What I currently do is load the GWT subapplications in an IFrame and I communicate between the IFrame and main application through JSNI code. It's not nice but it works. Since 1.5 it should be possible to skip the IFrame part but then you root application should instrument the sub applications where they are allowed to render themselfs. The communication between the applications still needs a roundtrip through JSNI. GWT obfuscates and compresses the method names so you need to publish the API that you want to use between them using JSNI. You have to think about things like timing. These apps will launch asynchronously so you can not just blindly start calling them. On Mon, Aug 10, 2009 at 9:44 AM, Stefan<stefan.wach...@gmx.de> wrote: > > Hi all, > > I am to develop a GWT application that shall consist of a main > application that is used to start and control the execution of "sub > applications". The "sub applications" are not now at compile time of > the main application. They are identified by IDs and should be > startable by these IDs. > > In Java I could use reflection to instantiate the sub applications and > use interfaces that must be implemented by "sub applications" in order > to control them. > > Is it possible to achieve something similar with GWT? The "sub > applications" should be compilable into JavaScript independently of > the main application and must be dynamically loadable by the main > application. > > Thanks for your attention, > > --Stefan > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---