且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以在单独的 war 文件中创建可动态插入的 GWT 小部件/portlet?

更新时间:2023-11-25 14:11:34

我认为GWT portlet"只不过是您自己编写的一个小部件(并且可能实现了一个通用接口).

I'd imagine that a "GWT portlet" is nothing more than a widget that you write yourself (and perhaps implements a common interface).

困难的部分是动态地允许预编译的 gwt 应用程序包含另一个 gwt 组件(在本例中为 portlet),而无需再次使用源代码进行编译(这似乎是问题所暗示的).

The hard part is to dynamically allow a precompiled gwt app to include another gwt component (the portlet in this case) without compiling again with the source (which is what the question seems to imply).