Tuesday, July 1, 2014

Re: Want to convert a couple of Java Applets

There are other Java-to-JavaScript transpilers [1,2], but GWT is by far the best of them. You'll have to rewrite the UI and client/server communications (if you have some) but you should be able to keep all your "business logic" as-is.

[1] http://j2s.sourceforge.net/ seems to still be actively developed but hasn't released anything for years; it's an Eclipse plugin though (cannot be used from the command line or a build tool like Ant or Maven, etc.)
[2] https://st-js.github.io/ is only about the Java syntax, it doesn't emulate many classes from the standard library (starting with Java Collection, making it a no-go for a migration of an existing Java project)

On Tuesday, July 1, 2014 1:08:45 AM UTC+2, Tom Adams wrote:
I have a couple of Java Applets deployed on the web that I would like to convert away from deploying  Java Applets, due to the apparent failure/decline of Java Applets as a web technology.

There are at www.poologic.com. they are the Poologic Calculator and ROI Calculator.

Seems I can use GWT to compile them into javascript, not sure.

Is GWT  a good option? Are their better options?

I am at the bottom of the learning curve, just found GWT a few hours ago.  I was starting to learn javascript, but I decided to do some searches on automatic Java to Javascript conversion tools today.

Thanks for any advice or ideas.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment