What you could do is
1) export a publish a Java API of your java code to JavaScript using GWT-Exporter(maybe gwt 2.8 has a better way to that not sure).
2) Write a linker that will create a single js output from your Java class (or use an exsiting linker)
3) Write JSNI code to wrap the generated JS file
We ve done something similiar to provide a JS API to our webdesktop UI. Unfortunately I cant open source that part.
1) export a publish a Java API of your java code to JavaScript using GWT-Exporter(maybe gwt 2.8 has a better way to that not sure).
2) Write a linker that will create a single js output from your Java class (or use an exsiting linker)
3) Write JSNI code to wrap the generated JS file
We ve done something similiar to provide a JS API to our webdesktop UI. Unfortunately I cant open source that part.
On 24 February 2016 at 09:18, Kirill Prazdnikov <pkirill@gmail.com> wrote:
Do you want them to link a JS library?As far s I know GWT does not support creating a JS library.
On Tuesday, February 23, 2016 at 3:47:16 AM UTC+3, David wrote:Please see my previous answer. I don't want my company Java developers to see my original Java code in Eclipse.--
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.
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