JavaEE webapps with Wildfly 27

535 views
Skip to first unread message

Prasanth Reddy

unread,
Nov 1, 2022, 10:12:38 AM11/1/22
to WildFly
Is there a way to deploy webapps built with EE7 or EE8 to be deployed in Wildfly 27?

Thanks,
Prasanth

Brian Stansberry

unread,
Nov 1, 2022, 9:02:37 PM11/1/22
to WildFly
Not in standard WildFly, no.
 
In WildFly Preview 27 we will still support the deployment transformation behavior discussed in the 'WildFly and WildFly Preview' doc.[1]. Note that that only handles the javax.* to jakarta.* namespace change that happened in EE 9; other differences between EE 9 a 10 are not handled. But many apps wouldn't be affected by those.

If you wanted to bring that deployment transformation behavior to standard WildFly you could try copying the org.wildfly.deployment.transformation module from a WildFly Preview installation to a standard WildFly one:

cp -r $WILDFY_PREVIEW_HOME/modules/system/layers/base/org/wildfly/deployment $WILDFY_PREVIEW_HOME/modules/system/layers/base/org/wildfly/

There's a JIRA open[2] to create a separate Galleon feature pack for the deployment transformer to make it easy to use Galleon to include it in a standard WildFly installation.


Best regards,
Brian

Brian Stansberry

unread,
Nov 2, 2022, 9:59:57 AM11/2/22
to WildFly
On Tuesday, November 1, 2022 at 8:02:37 PM UTC-5 Brian Stansberry wrote:
Not in standard WildFly, no.
 
In WildFly Preview 27 we will still support the deployment transformation behavior discussed in the 'WildFly and WildFly Preview' doc.[1]. Note that that only handles the javax.* to jakarta.* namespace change that happened in EE 9; other differences between EE 9 a 10 are not handled. But many apps wouldn't be affected by those.

If you wanted to bring that deployment transformation behavior to standard WildFly you could try copying the org.wildfly.deployment.transformation module from a WildFly Preview installation to a standard WildFly one:

cp -r $WILDFY_PREVIEW_HOME/modules/system/layers/base/org/wildfly/deployment $WILDFY_PREVIEW_HOME/modules/system/layers/base/org/wildfly/

I made a cut and paste error above. The second $WILDFLY_PREVIEW_HOME should be $WILDFLY_HOME. Both are just shorthand for wherever your WildFly Preview and standard WildFly installations are.
Reply all
Reply to author
Forward
0 new messages