Show TOC

Adding the application.xml to Enterprise Application ProjectsLocate this document in the navigation structure

Use

In Java EE 5, the availability of the application.xml deployment descriptor in the Enterprise Application archive is optional. If the application.xml is missing, the system scans the archive for available modules there.

By default, the Developer Studio does not generate this deployment descriptor in Enterprise Application projects. There are options to add it if you want.

Procedure
  1. In the Project Explorer , select the Enterprise Application project.

  2. In the context menu, choose Start of the navigation path Java EE Tools Next navigation step Generate Deployment Descriptor Stub End of the navigation path.

The application.xml appears in the META-INF directory of the Enterprise Application project.