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 or right-click the project and choose Build Project.
Deploy the application
Right-click the enterprise application project and choose Run Project
to start the target application server and domain, undeploy
the enterprise application if it is already deployed, deploy the enterprise application
to the target application server and domain,
and display it in the IDE's default browser.
Right-click the enterprise application project and choose Deploy Project to
start the target application server and domain and deploy the enterprise application to it.
Right-click any of the application's module projects and choose Run
Project to deploy the module without deploying the other modules in
the application.