Thursday, February 18, 2016

Re: How to protect IP in GWT.

I do not think it is possible.

GWT does not translate java code to JS code, it compiles whole program from java source to JS.
It can not translate a module for example.


On Tuesday, February 16, 2016 at 4:20:09 AM UTC+3, David wrote:


I like to prevent my regular developers from viewing my GWT key Java source code because it contains a lot of my core business. What I like to do is following: (1). compile them into javascript. (2). use JSNI or GWT JsInterop to wrap the compiled javascript back into Java classes so my regular developers can use them in Eclipse. (3). When projects are ready for production, wrapped Java classes are replaced by a real Java classes during production compilation. Is this solution possible? Are there some examples in this community?

Thanks!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment