This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Doubt on EJB specification
It's not a secret anymore!