Migrating from WildFly-14 to 30

726 views
Skip to first unread message

Rajesh Jose

unread,
Dec 18, 2023, 1:53:30 PM12/18/23
to WildFly
Hi,

We are looking in to migrating our product from WildFly-14 to 30. Is there any migration guide/tools available?

We looked at some tools for jakarta migration (eg: https://dzone.com/articles/best-practices-to-deal-with-javax-to-jakarta-migra). But looks like 14 to 30 will have much more than that.

We started compiling our source with WildFly-30 and some of it we could manage by looking through the source code of 14 and 30. Right now we are stuck with resteasy-jaxrs issues related to removed packages/classes or refactored classes, some of which are mentioned below....Any pointers to how to go about this? 

org.jboss.resteasy.spi.ResteasyProviderFactory - refactored

org.jboss.resteasy.annotations.interception.ServerInterceptor - removed?
org.jboss.resteasy.annotations.interception.EncoderPrecedence - removed?
org.jboss.resteasy.spi.interception.AcceptedByMethod - removed?
org.jboss.resteasy.spi.interception.PostProcessInterceptor - removed?
org.jboss.resteasy.spi.interception.MessageBodyWriterContext - removed?
org.jboss.resteasy.spi.interception.MessageBodyWriterInterceptor - removed?
org.jboss.resteasy.spi.UnauthorizedException - removed?


-Rajesh

Richard Opalka

unread,
Dec 18, 2023, 2:32:44 PM12/18/23
to Rajesh Jose, WildFly
Hello Rajesh,

   I'd highly recommend your team to split the migration process into two major steps:
1) Migration to WildFly 26.1.3.Final first (the last one version that supports Java EE API 8,
2) Migrate to the latest WildFly (switch to Jakarta EE API 10).

Rio

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/52e749fa-9028-4ff2-ac39-81903f4b444bn%40googlegroups.com.

Rajesh Jose

unread,
Dec 18, 2023, 3:23:17 PM12/18/23
to Richard Opalka, WildFly

Thanks Rio, 

I was looking at this page and it says 26.x is Jakarta EE 8 - https://docs.wildfly.org. I presume, that is what you meant and it's probably only the package change from javax? 

Even with 26.x, what I see is, the REST-easy library is changed to 4.x and all the changes I mentioned in the previous mail are still applicable. In fact, rest-easy was changed from 3.x to 4.x in 25.x onwards. We need to move minimum to 25.x because we have to move to Java-17 for other reasons. So looks like handling rest-easy migration is some thing we can not do away with.

And any pointers on the challenges from moving to 26.x to 30 (Jakarta-EE 10)?

-Rajesh

Emmanuel Hugonnet

unread,
Dec 19, 2023, 4:09:26 AM12/19/23
to wil...@googlegroups.com


Le 18/12/2023 à 21:22, Rajesh Jose a écrit :
>
> Thanks Rio,
>
> I was looking at this page and it says 26.x is Jakarta EE 8 - https://docs.wildfly.org. I presume, that is what you meant and it's
> probably only the package change from javax?

No there is no package change here. So you'll be able to adapt your code to the component upgrades.

>
> Even with 26.x, what I see is, the REST-easy library is changed to 4.x and all the changes I mentioned in the previous mail are still
> applicable. In fact, rest-easy was changed from 3.x to 4.x in 25.x onwards. We need to move minimum to 25.x because we have to move to
> Java-17 for other reasons. So looks like handling rest-easy migration is some thing we can not do away with.
>
> And any pointers on the challenges from moving to 26.x to 30 (Jakarta-EE 10)?

You'll have to do the packages change during this phase.
> <https://groups.google.com/d/msgid/wildfly/52e749fa-9028-4ff2-ac39-81903f4b444bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wildfly/CABSyOEEjTnDdkiuTdvU8w1-oeXGUB0txZ2nnJ23Xzuzq6V%2B1Gg%40mail.gmail.com
> <https://groups.google.com/d/msgid/wildfly/CABSyOEEjTnDdkiuTdvU8w1-oeXGUB0txZ2nnJ23Xzuzq6V%2B1Gg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wildfly/CA%2Bkp0xTdne53shUt-EXY7YE8NcDBdkaOGjaXysOP-J_gCKfkkw%40mail.gmail.com
> <https://groups.google.com/d/msgid/wildfly/CA%2Bkp0xTdne53shUt-EXY7YE8NcDBdkaOGjaXysOP-J_gCKfkkw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Rajesh Jose

unread,
Dec 24, 2023, 9:25:28 AM12/24/23
to WildFly

Thanks, Emmanuel

-Rajesh

Reply all
Reply to author
Forward
0 new messages