
Use this procedure to create a WAR file that contains the Calculator.jsp, the CalcProxy JavaBean, and deployment descriptors - web.xml and web-j2ee-engine.xml.
You have created the Web module project CalculatorWeb that contains the CalcProxy JavaBean and Calculator.jsp.
Entering a reference to an EJB using web.xml
The Developer Studio opens a multipage editor, which allows you to enter descriptions in the standard deployment descriptor web.xml.
The EJB Reference enables you to look up the referenced enterprise bean.
Creating a War File
The system displays a message to inform you that the build was successful.
The Web archive file CalculatorWeb.war has been generated. It contains all the classes, Web resources of the Web module project, and the entries in the deployment descriptors.
Next step:
Now you can assemble the application .