I am preparing for SCBCD. I am currently going thro' ejb specs. I came across a sentence "Get a reference to the session object�s remote home interface." under References to Session Object Remote Interfaces. How cum a Remote interface get a reference to Remote Home Interface? Only by using remote home interface we are getting remote interface. Or does this refer to getting one session object's remote home interface with another Session object's remote interface?
Joined: Jul 17, 2006
hi GeethGubi Gubendran,
I think this is about page 63 of the specs, right?
Normally you first look-up the remote home interface first(EJBHome), and then you can get the remote interface (EJBObject).
If you have a reference to the EJBObject, but not to the EJBHome: according to the specs: from the EJBObject you can get a reference back to the EJBHome(instead of having to do a JNDI lookup).