Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Home & Remote Interfaces

 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



Thanks,
Prakash
 
akilan irudaya raja
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

- Akilan SCJP,SCWCD,SCBCD.
 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.



Thanks,
prakash
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic