
Use this procedure to create the Web module project, which provides the framework for developing the Calculator JSP and the JavaBean helper class.
Creating the project structure
The project structure for the new Web module project is generated and displayed in the J2EE Explorer. It also contains the deployment descriptors web.xml and web-j2ee-engine.xml.
Specifying the project dependencies
Since the EJB business methods from the Session Bean are to be referenced in the Web resources, you will need to specify the EJB module project CalculatorEjb in the project build path.
The Web project CalculatorWeb is created. For the build path, the CalculatorEjb is referenced in the project dependencies.
Next step:
You can now go on with creating a JavaBean for the Calculator application.