[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
I promise I will be the best, most loyal friend ever! All for this tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS


This thread has been viewed 391 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 22, 2018 02:03:06.