!--a11y-->
Creating an Assembly Project 
In this step you create an assembly project. This project enables you to create a reference to the EJB and the Web project you have created and to generate an EAR file.
The JavaMail and JavaMailWeb projects are saved and compiled.
...
1. Choose File ® New ® Project ® J2EE ® Enterprise application project.
2. In the New Project dialog that appears, specify JavaMailEar as the Project name. Choose Next.
3. Make a reference to SendMail EJB and JavaMailWeb projects.
4. Choose Finish.
The project is created. You can now see:
Result Preview

In the new project:
...
1. Open the application.xml file and choose the Modules tab.
2. Select the JavaMailWeb.war from the list.
3. Specify /jmindex as the context root.
4. Choose File ® Save to save the file.
The new assembly project is created.
Generating Files for Deployment