Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing JavaEE <-> JakartaEE interoperability scenarios #543

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

ropalka
Copy link
Contributor

@ropalka ropalka commented Jun 22, 2022

@ropalka ropalka changed the title [EJBCLIENT-419] Allowing JavaEE <-> JakartaEE interoperability scenarios Allowing JavaEE <-> JakartaEE interoperability scenarios Jun 22, 2022
…ios.

This introduces new EJB protocol version number 4.
Protocol versions 1 2 and 3 mean JBoss EJB Client runs in JavaEE environment.
Protocol versions 4 and above mean JBoss EJB Client runs in JakartaEE environment.
@@ -23,7 +23,11 @@
*/
final class Protocol {

public static final int LATEST_VERSION = 3;
static final int JAVAEE_PROTOCOL_VERSION = 3;
static final int JAKARTAEE_PROTOCOL_VERSION = 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really would like to validate if this is necessary or if a simple attribute in the remote outbound connection could be used to indicate the need for transformation without an upgrade in the protocol version

Copy link
Contributor Author

@ropalka ropalka Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is really necessary. Otherwise Jakarta EE side wouldn't know if communicating oposite side runs in Java EE or in Jakarta EE environment @fl4via .

@tadamski tadamski merged commit 9ed380a into wildfly:4.0 Aug 1, 2022
@ropalka ropalka deleted the javax2jakarta branch September 15, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants