Tuesday, August 25, 2020

Re: How to start with GWT upgrade from version 2.1.0 to 2.9.0, (java 1.6 to java 1.8)

Hi Hari, 

I think, it depends on the used Frameworks. The biggest change will be the switch to the Super Dev Mode. 
In your case, I would jump to 2.8.2 and later on to 2.9.0 because 2.9.0 is very new and maybe there are some bugs you run into. The most 2.8.2 problems are discussed somewhere ;)

You will have to change the gwt.xml file a bit, but overall the code should be untouched. There are only some special things where 2.8.2 is different. Especially if you have methods with one parameter, but different possible input types. Sometime 2.8.2 selects the wrong one you needs a little push to find the correct method. But you can see this very fast because of some ClassCastExceptions ;)

The question, if it would be cheaper to write everything cannot be answered. But if not every single feature is well documented, you will lose some on the rewrite. So in general rewrite everything should be the last option to choose.

Best Regards
Norbert

Hari schrieb am Dienstag, 25. August 2020 um 13:01:47 UTC+2:
Hi Team,

(Apologies if the answers to my question are based on individuals opinion based, but i am in dire need of your help)

I am currently stuck with an old GWT 2.1.0 application written in Java 1.6 which needs to be updated to java 1.8, so we are planning to upgrade to latest GWT version 2.9.0. There are no changes to the application code or any new enhancement request in last 5 years, considering this our client is expecting no changes to look and feel of the application but from the compliance perspective we are required to upgrade to at least Java 1.8.

But i have no experience and never used GWT, and there are very few guides out there on upgrade from 2.1.0 to 2.9.0 (I know its a big jump). Can someone help me understand, how to start the upgrade process, and how much code changes would i need to make the application compatible with the new version, will it be complete re-wright of the UI component of the application? or will it be minor changes to existing code ? Finally, if the upgrade requires complete re writing of UI component, is it worth it for me to lean GWT (considering recent slow down in upgrades to GWT) and uses it in the upgrade instead of complete rewrite of UI in React. 

Thanks in advance. 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/29c94932-f877-4ad1-9044-a26e485fb3adn%40googlegroups.com.

No comments:

Post a Comment