Creating a Deployment Profile for All J2EE Modules (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.

Note: If you have an existing EAR file, you can use the JDeveloper EAR import facility to import the EAR into any project.

To create a deployment profile for all J2EE Modules (EAR):

  1. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the EAR deployment profile.
  2. Choose File | New to open the New Gallery.
  3. In the Categories tree, expand General and select Deployment Profiles.
  4. In the Items list, double-click EAR File - J2EE Application.
  5. Click OK.
  6. Specify a location for the <EAR_appname>.deploy profile or accept the defaults.
  7. Click Save.
  8. The EAR Deployment Profile Settings panel displays. Configure the settings for each page as appropriate:
    1. General Page
    2. EAR Options Page
    3. Application Assembly Page
    4. Platform Page (Optional) If you want to pass command line parameters to any of the supported target connection types, click the appropriate node: Standalone OC4J, iAS Remote DCM, iAS Local DCM, WebLogic 6.x, or WebLogic 7.x.
  9. Click OK when you are done.
    The newly created EAR_deployment_profile_icon <EAR_appname>.deploy profile appears in the Navigator below the specified project.
  10. To deploy the EAR deployment profile, see Deploying a J2EE Enterprise Archive (EAR).
  11. (Optional) See Adding a Resource Adapter Archive (RAR) to the EAR.
  12. (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

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