JDK 17+ Support Considerations
The following considerations must be taken into account when using EJB Features on JDK 17+:
-
If using a Java SE client for remote EJB lookups, add the
--add-opens=java.base/java.lang=ALL-UNNAMED
JVM argument to the list of startup arguments of the client.