• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Doubt? Please help  RSS feed

 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why enterprise javabean architecture does not allow ejb's to implement remote interface?

It's actually the EJB object which communicates with the EJB bean, so within a EJB container EJB bean is local with respect to EJBObject. Is this the reason or is there any other reason?

Thanks & Regards

Naseem
[ July 31, 2006: Message edited by: Naseem Khan ]
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beans are not supposed to be accessed outside the container and EJB Clients do not have direct access to bean instances. If beans implemented Remote Interfaces, they could easily be passed to the client using a "this" reference.
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vinay

Naseem
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!