File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Home & Remote Interfaces 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 "Home & Remote Interfaces" Watch "Home & Remote Interfaces" New topic

Home & Remote Interfaces

siva prakash
Ranch Hand

Joined: Aug 24, 2004
Posts: 80
Hi All,

we need to have Home Interface, why can't we directly access Remote Interface object, so EJB. why we need this redirection from Home to Remote interface object for accessing EJB.

akilan irudaya raja

Joined: Feb 19, 2004
Posts: 26
I think.

1)Home is meant only for creation of EJB
2)There will be only one home for n EJB Instances.
3)Every EJB Instances will have Remote Object. It will not be shared by the
EJB Instances.


Java Programmar SCJP,SCWCD,SCBCD.
siva prakash
Ranch Hand

Joined: Aug 24, 2004
Posts: 80

for stateful session bean, we will have a home for each ejb. not 1-n relation.

Can any one pls breif me about importance of home interface.

I agree. Here's the link:
subject: Home & Remote Interfaces
It's not a secret anymore!