How to Lookup an EJB3 Local Interface from a Plain Java Object Packaged in the Same EAR but Not the Same JAR/WAR
(Doc ID 1175123.1)
Last updated on SEPTEMBER 14, 2023
Applies to:
Oracle WebLogic Server - Version 10.3.2 and laterInformation in this document applies to any platform.
Goal
An EJB application that has a utility class it uses that makes a call to the local interface of another EJB. Both EJB's are in different jars but are packaged within the same EAR file.
How does one access an EJB local business interface from a utility class (non-EJB) that resides inside the application EAR file (not the same JAR or WAR). How is the JNDI lookup done since local business interfaces are not injected in the JNDI registry?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |