
To add and edit Web resources for your car rental application, you will first create a Web Module project called QuickCarRentalWeb. Since the bean classes and auxiliary classes from the EJB Module project are to be referenced in the Web resources, you will need both, to enter the EJB Module project QuickCarRentalEjb and the Java project Helperclasses in the project dependencies.
|
|
You have created the entity bean QuickBookingBean and the stateless session bean QuickOrderProcessorBean in the project QuickCarRentalEjb. |
|
|
You have already created the Java project Helperclasses. |
Creating the project structure
|
|
The wizard generates a initial project structure for the new Web Module project QuickCarRentalWeb. It already contains the two deployment descriptors web.xml and web-j2ee-engine.xml.
|
|
Specifying the project dependencies
For the build path, both the Java project Helperclasses and the EJB Module project QuickCarRentalEjb are to be referenced in the new project.
Next step: