The official line is here: 
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html

quote:
Loading multiple modules in an HTML host page
If you have multiple GWT modules in your application, there are two
ways to approach loading them.
Compile each module separately and include each module with a separate
<script> tag in your HTML host page.
Create a top level module XML definition that includes all the modules
you want to include. Compile the top level module to create a single
set of JavaScript output.
The first approach may seem the easiest and most obvious. However, the
second approach will lead to much better end-user performace. The
problem with loading multiple modules is that each module has to be
downloaded seperately by the end-user's browser. In addition, each
module will contain redundant copies of GWT library code and could
possibly conflict with each other during event handling. The second
approach is strongly recommended.

On Feb 17, 9:42 pm, KD <[email protected]> wrote:
> I am making an app in GWT. It is like a dashboard and will have out of
> the box widgets that I will provide.
>
> Now when we ship this out, there is a use case that the customer might
> want to create their own GWT widget and use this in the dashboard app.
>
> As I understand it, they will not be able to do this since we cannot
> ship our source code which is needed to compile the whole app again
> once tag of their widget/module gets into the gwt.xml file of my app.
>
> I cannot use anything other that GWT to make this dashboard. And their
> widget could be say a flash heapmap, a jquery widget/plugin, another
> GWT module, a jsp page that renders a visualization from back end.
>
> So far my thoughts have been to provide a widget in my app which is a
> wrapper in the form of an Iframe and call their main page (they will
> provide url), and have an api to let my app and their widget talk.
>
> But I would like to know if there are other / better approaches?

-- 
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.

Reply via email to