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.