[Logo]
Forums Register Login
EJB Doubt? Please help
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 ]
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.
Thanks Vinay

Naseem
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 22, 2017 00:46:50.