This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt on EJB specification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt on EJB specification" Watch "Doubt on EJB specification" New topic

Doubt on EJB specification

GeethGubi Gubendran
Ranch Hand

Joined: Jul 31, 2006
Posts: 31
Hi all,

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?


Cheers,<br />Geetha
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
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).


GeethGubi Gubendran
Ranch Hand

Joined: Jul 31, 2006
Posts: 31
Hi Herman,

Thank you for the reply

jQuery in Action, 2nd edition
subject: Doubt on EJB specification