开发者

combine GWT application from several modules (JARs or OSGI bundles)

I need a web UI with pages like "Info", "Support", etc. That's easy. In addition, I have some "plugins" with their own "editors", which need to be shown in the same web UI. It's something similar to "Extensions" page shown in Google Chrome: every extension has an "Options" link, which can contain any editor the extension wants.

So, my main application does not know upfront how many "plugins" and editors it has. All it knows is how to call the plugin's "showEditor()" method. (this is how it's currently implemented in my Eclipse-based desktop app, which I'm trying to port to web)

I'm wondering if GWT is applicable for this kind of applications. So far looks that GWT applications are "monolithic" and all pages / panels need to be referenced in the common "gwt.xml" file, which means I can't configure the distributive to include only "core plus plugin1 and plugin2" or only "core plus plugin 2 and plugin 3" - I have to always include everything since it's referenced in the common xml file.

there's no requirement to install/update additional plugins AFTER the application is built and installed - this should make the task easier.

Any ideas how to use "modularity" with GWT so that UI panels can come from several "modules/p开发者_运维技巧lugins"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜