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

[ 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


This thread has been viewed 416 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 08:50:32.