Section 6.10. Session Beans


6.10. Session Beans

To add a Session Bean to the JAW Motors application, we need to do the following:

  • Define the Local and Remote Interface(s).

  • Create the Home Interface(s).

  • Develop the Bean Class Code.

  • Deploy the Bean with EJB deployment descriptors.

  • Automate the Bean deployment with Ant and XDoclet.

  • Create the EJB JAR file with Ant.

  • Add the EJB JAR file to the EAR.

  • Register the EJB JAR file in application.xml.

  • Copy the EJB JAR file into the EAR.



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net