Hello.

As GWT performes many optimizations on whole code, it should have
access to all parts of a system. So, I think, there is no possibility
to dynamically add some code 'plugins' to compiled GWT application.

May be you can do in little bit another way: when new 'plugin' is
added or removed, recompile application automatically, so GWT can re-
analyze and build new instance with applied changes.

On 6 Лют, 21:29, Axel Rauschmayer <aurausc...@googlemail.com> wrote:
> More and more web servers integrate OSGi in some way, allowing for
> very dynamic server-side modules. In contrast, GWT's modules are
> static and must be available at compile time. What I am looking for is
> a client-side complement to server-side OSGi modules. In its simplest
> form, this could work as follows:
>
> - On the server: another OSGi module tells the framework about a
> client-side module and a client-side class it provides. On the client,
> one then loads the module and instantiates the class.
>
> This scenario currently faces the following obstacles:
> - Classes can currently only be instantiated statically, via
> constructor or by specifying a class literal to GWT.create().
> - Modules cannot be packaged, deployed or loaded as an independent
> entity.
>
> Does this make sense? Any pointers or comments?
>
> Thanks!
>
> Axel

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