Summary

Today you learned how to implement and deploy a stateful session bean. The home interface extends javax.ejb.EJBHome interface and contains create method(s). The remote interface extends javax.ejb.EJBObject and contains the business methods callable by the client. The enterprise bean class implements the javax.ejb.SessionBean interface. In addition, it implements the ejbCreate method(s) corresponding to the create methods defined in the home interface and business methods defined in the remote interface. The container recognizes the session bean type from the bean's deployment descriptor.

The EJB container serializes all calls to the stateful session bean instance and throws exception if clients attempt to simultaneously access the same bean instance. Also, the container throws an exception if the client attempts to access the session object that was removed earlier.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.136.84