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 will scan 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.
There are two ways to add the application.xml to Enterprise Application Projects:
During the project creation
Select the Generate Deployment Descriptor option at the new project wizard.
At any time later
Open the Enterprise Application Project in the Project Explorer.
In the context menu, choose the
.The application.xml appears in the META-INF directory of the Enterprise Application Project.