
In addition to the predefined entries, you will now record specific deployment information in the J2EE standard descriptor application.xml.
|
Description |
Use |
|---|---|
|
General Descriptions |
|
|
Display Name |
Returns a label for the Ear file to be created. |
|
Description |
Returns a description for the deployment descriptor as a whole. |
|
Special entries for modules |
|
|
Context root |
The context root defines the root directory for the URL from which the application is called. The appropriate URL (for localhost) is: http://localhost:50000/<Context-Root> |
|
|
The structure of your QuickCarRentalEar project is currently displayed in the J2EE Explorer. |
Specifying the general properties
The Developer Studio opens a multipage editor, which allows you to record descriptions in the standard deployment descriptor application.xml.
Specifying the context root
The following entries are automatically added to the XML source:
<application> <display-name>QuickCarRentalApplication</display-name> <description>Modules for car rental example.</description> <module> <ejb>QuickCarRentalEjb.jar</ejb> </module> <module> <web> <web-uri>QuickCarRentalWeb.war</web-uri> <context-root>QuickCarRental</context-root> </web> </module> </application>
Note :
Thus the URL for your car rental application (for localhost) is: http://localhost:50000/QuickCarRental
You have entered all the descriptions that your application needs in the standard J2EE deployment descriptor application.xml.
Since no J2EE Engine-specific entries are needed in the deployment descriptor application-j2ee-engine.xml for this application, the Enterprise Application project is now completely specified. You can now continue by creating a appropriate archive file for the complete car rental application.