Deploying a J2EE Enterprise Archive (EAR)

The J2EE Enterprise Archive (EAR) deployment profile provides you with centralized control over the process of application assembly. This assembling task involves selecting which already-packaged J2EE deployment profiles to include with the EAR file. You can choose to mix and match any combination of packaged WAR, EJB JAR, and/or client JAR profiles in projects within the same workspace. When you choose Deploy to <application_server_name>, JDeveloper is actually assembling a minimal EAR file which includes the packaged profile combinations and deploying the EAR to the target application server.

To deploy a J2EE Enterprise Archive (EAR):

  1. If not already done, create an EAR deployment profile.
  2. If not already done, create an application server connection to the target application server.
  3. The EAR_deployment_profile_icon <EAR_appname>.deploy profile appears in the Navigator below the specified project. Select and right-click EAR_deployment_profile_icon. The context menu displays these deployment options:
  4. (Optional) If you want to edit the EAR deployment profile, right-click the EAR_deployment_profile_icon <EAR_appname>.deploy profile and choose Settings.

Notes:


Related topics

Adding a Resource Adapter Archive (RAR) to the EAR
About J2EE Applications and How They Are Packaged and Deployed
About the Deployment Process
About Deployment Profile Dependencies
Ways to Create Application Server Connections
Ways to Deploy J2EE Applications
Ways to Deploy to Oracle9i Database
Understanding the n-Tiered Business Components Architecture
About Business Components for Java (BC4J) Deployment