Question for experts: Pluggable gwt module & CompileModule class & XXXX.gwtar file.

28 views
Skip to first unread message

KD

unread,
Nov 11, 2011, 3:07:30 PM11/11/11
to google-we...@googlegroups.com

OK this one is for GWT experts!!

 

I have a GWT app that has widgets. We are shipping 5 widgets out of the box.

 

The widgets also depend on our API which act as simple DAO pojos

 

Now when this gets outs to customers. They have a requirement where they want to create their own widgets (as GWT modules) and use them inside our GWT app. Of course, to make things complicated, we cannot give them the source of our app or the API.

 

Now I know a more prevalent solution here is to have a JSNI API of some sort to have the widget and our app talk to each other, document it and have it rest in peace.

 

But we are also looking around to see if there are alternatives.

 

For example, looking at this CompileModule class

 

http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/CompileModule.java?r=10304

 

Can this be used to "mickey mouse" our sources.

 

It looks like this compiler will / could compile a module into a XXXX.gwtar file and in theory that might all customers would need to compile there custom module.

 

Any thoughts? Are we on to something here or is it dead end.

 

thanks

Jeff Chimene

unread,
Nov 11, 2011, 3:46:07 PM11/11/11
to google-we...@googlegroups.com
On 11/11/2011 01:07 PM, KD wrote:
> OK this one is for GWT experts!!

Maybe GQuery plugins?

No doubt there will be rework required.

Reply all
Reply to author
Forward
0 new messages