aspose file tools*
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
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt on EJB specification" Watch "Doubt on EJB specification" New topic
Author

Doubt on EJB specification

GeethGubi Gubendran
Greenhorn

Joined: Jul 31, 2006
Posts: 28
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?

Regds,
Geetha.


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).

OK?

Herman
GeethGubi Gubendran
Greenhorn

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

Thank you for the reply

Regds,
Geetha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on EJB specification