A client never directly accesses instances of the session bean's class. A client always uses the session bean's remote interface to access a session bean's instance. The class that implements the session bean's remote interface is provided by the container; its instances are called session EJBObject s. A session EJBObject supports:
The implementation of the methods defined in the javax.ejb.EJBObject interface is provided by the container. They are not delegated to the instances of the session bean class. |