Select libraries and other external resources to bundle with the EAR file.
Set runtime options such as the application's default web page and target
application server.
Build the project
Choose Build > Build
Main Project from the main menu or right-click the project and choose Build.
Deploy the application
Right-click the enterprise application project and choose Undeploy and Deploy to
undeploy the enterprise application if it is already deployed, and then deploy the enterprise application
to the target application server and domain.
Right-click any of the application's module projects and choose Run
to deploy the module without deploying the other modules in the application.