I have an application where an
EJB exposes its remote interface to the web application. The web application can ONLY call this EJB from the ejb application, no other. All other EJBs are accessed locally from this EJB (Business Delegate
pattern).
The problem is that normal
Java casting fails for the home object returned by the JNDI context lookup. So I am using PortableRemoteObject.narrow() and it predictably fails with the message that _iiopClient.jar is required on the classpath.
So, on OEM, I enabled IIOP for the target server instance by checking all three following options:
Generate IIOP Client Stubs when Compiling EJBs
IIOP Wrapper Code Debug Mode
Keep Generated IIOP Source Code
Now I am deploying the application, but the iiopClient.jar is nowhere to be seen. Please tell me what I am doing wrong; or what alternatives do I have to get this application working.
I am using Oracle AS 10.1.3
TIA.