Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on EJB specification

 
GeethGubi Gubendran
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Herman,

Thank you for the reply

Regds,
Geetha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic