Upgrade GWT from 2.7 to 2.9

172 views
Skip to first unread message

HATIM SETTI

unread,
Jun 3, 2021, 12:42:15 PMJun 3
to GWT Users
Hi team,

I'm working on an existing project with (gwt 2.7 , maven Java 6,spring..), and we want to upgrade to 2,8 or 2.9 atest version.

And I want to know the impact of that, will we need to change a lot of code, what the steps shoud I follow ?

Also what the gain of upgrading to the latest version ? there is any improvement in term of security ?

Thanks

Thomas Broyer

unread,
Jun 3, 2021, 1:25:20 PMJun 3
to GWT Users
On Thursday, June 3, 2021 at 6:42:15 PM UTC+2 HATIM SETTI wrote:
Hi team,

I'm working on an existing project with (gwt 2.7 , maven Java 6,spring..), and we want to upgrade to 2,8 or 2.9 atest version.

And I want to know the impact of that, will we need to change a lot of code, what the steps shoud I follow ?

From a quick scan, no breaking change besides http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1
And you'll have to update your Java version too.
 
Also what the gain of upgrading to the latest version ? there is any improvement in term of security ?

Bug fixes mostly, also the ability to use Java 8 (or even 11) syntax and some APIs if you want (lambdas, streams, etc.) and improvements around JsInterop.
Again, see the release notes for details.

David Nouls

unread,
Jun 3, 2021, 2:19:58 PMJun 3
to google-we...@googlegroups.com
Hi,

Migration is nearly invisible but if you depend on 3rd party gwt libs then there is always risk that they are no longer supported.

I ran into some backward compatibility issue with generics support with GWT2.9. It compiled on 2.8 but fails with 2.9. I did not find the time to create a bug report and code sample to demonstrate. 

Groeten,
David
--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/232cba3f-f910-432f-bfba-382e8d9eab9dn%40googlegroups.com.

HATIM SETTI

unread,
Jun 8, 2021, 7:03:59 AMJun 8
to GWT Users
Hi,

thank you guys for your responses.

So there is no breaking changes from 2.7 to 2.9. the main reason that we want to upgrade is for securities reasons, so I suggest there is no need to upgrade to 2.9 ?!  not to mention that we will have to migrate to java 8 or latest version. so a lot of work is anticipated.

do you guys have other arguments that I can provide to avoid this whole migration ?

Thank you .

Craig Mitchell

unread,
Jun 9, 2021, 11:20:34 PMJun 9
to GWT Users
Avoid it!?!  Why would you want to avoid it?  Pre java 8 sucks.  No Lambdas for a start.  Feel free to Google all the advantages of Java 8.

I say, reduce your tech debt, upgrade to the latest.  :-)

HATIM SETTI

unread,
Jun 10, 2021, 6:47:55 AMJun 10
to GWT Users
I understand the advantages of java 8, but i'm working on an existing project in a company, and for now they don't want to update to java 8, they want to upgrade gwt .
So I have to convice them that there is no reason to upgrade from gwt 2.7 to 2.8, because our matter now is securities reasons in gwt not java !!
Reply all
Reply to author
Forward
0 new messages