In EJB, our bean class does not implement the remote interface. But we are calling the methods of remote interface. How does the method call to the remote interface is calling the method of our bean class?
posted 12 years ago
The EJB Container is responsible for doing so. Each call on the EJBObject(Remote Interface) is intercepted by the EJB Container and delegated to the appropriate Bean Class. In doing so the EJB Container may uses the services available such as Transaction Service, Security etc, which frees the developer from all the plumbing work