Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
WebLogic Server - EJB
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Dec 7, 2012 7:06 AM by
René van Wijk
EJB 3.0 local lookup from POJO in WLS Cluster
Dec 5, 2012 10:17 AM
I'm developing on JDeveloper Studio Edition Version 220.127.116.11.0 and deploying to a WebLogic 10.3.5 Cluster.
I have developed an EJB 3.0 stateless session bean and I need to invoke it from a POJO within the same EAR, specifically an ADF EntityImpl Class.
Up to this point, I've only invoked EJBs using injection via an @EJB annotation, and have never done a full lookup.
Could somebody please provide a verbose instruction on how to obtain invoke an EJB 3.0 SLSB via local interface from a POJO when running on a WLS cluster?
As I see it I have two problems to solve.
1) Obtaining a reference to the initial context in a cluster.
2) Using that to get a reference to the local interface of the bean, which I don't think is on the global JNDI tree.
Edited by: user576183 on Dec 5, 2012 4:16 PM
This content has been marked as final.
Show 1 reply
Re: EJB 3.0 local lookup from POJO in WLS Cluster
René van Wijk
Dec 7, 2012 7:06 AM
in response to
Re: Unable to lookup in InitialContext a Local EJB in Weblogic 10.3.5 (EJB 3.0)