JBoss EAP 8 server Interoperability with JBoss EAP 7 and JBoss EAP 6 servers
Issue
How to enable interoperability between Red Hat JBoss Enterprise Application Platform 8 server and older versions of the Red Hat Enterprise Application Platform?
JBoss EAP 8 server supports Jakarta EE10, that uses the new jakarta.*
package namespace, but older versions of JBoss EAP support Java EE 8 specification or older, whose API classes use the javax.*
package namespace (for more information on the namespace change, please refer to the Jakarta EE10 Application Migration Article )
When a JBoss EAP 8 server receives requests from a JBoss EAP 7 server, or sends requests to that server, the EE objects exchanged between those servers need to be correctly ported to the right package namespace so the request or response can be correctly processed.
The same solution applies to a JBoss EAP 8 server communicating with one or more JBoss EAP 6 servers. Notice that communication between JBoss EAP 6 and JBoss EAP 7 servers is not affected by this problem, as both servers support the javax.*
package namespace for EE classes.
Environment
Multi-server applications, where applications deployed in JBoss EAP8 servers communicate with applications deployed in JBoss EAP7 servers or older servers. This applies regardless whether the JBoss EAP8 server receives remote EE requests from those servers, sends EE remote requests to them, or both.
This article covers JNDI requests and EJB requests.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.