...
1. Choose File → New → Project…
2. Choose J2EE → Enterprise Application Project.
3. Specify the project name and location and choose Next.
4. Choose the application modules to be contained in the application.
You can always add additional modules after the project is created.
5. Choose Finish.
You can now add bundled libraries, edit the application deployment descriptors or deploy the enterprise application on the application server.
Adding Modules to the Enterprise Application
Editing the application-j2ee-engine.xml
Building, Publishing and Removing Published Java EE Applications