Creating a Deployment Profile for J2EE Client Modules (client JAR)

JDeveloper lets you create the deployment profile containing the J2EE client module and its corresponding application-client.xml deployment descriptor and packages them into a standard J2EE client JAR archive for deployment.

To create a J2EE client module deployment profile in JDeveloper:

  1. In the Navigator, select the project_icon <projectname>.jpr in which you want to create the J2EE client module 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 Client JAR File - J2EE Client Module.
  5. Click OK.
  6. Specify a location for the <appcl_name>.deploy profile or accept the defaults.
  7. Click Save.
  8. The Client JAR Deployment Profile Settings panel displays. Configure the settings for each page as appropriate:
    1. Files Page
    2. JAR Options Page
    3. Dependency Analyzer Page
    4. (Advanced) Filters Page: further refinement to the Dependency Analyzer settings
    5. (Optional) Profile Dependencies: if the deployment profile depends on J2EE modules from another deployment profile.
    6. (Optional) Standalone OC4J: Deploying EAR and Binding Web Apps
  9. Click OK when you are done.
    The newly created clientmodule_deployment_profile_icon client deployment profile and corresponding appclientxml application-client.xml icons appear in the Navigator below the specified project.
  10. To deploy the J2EE client module profile, see Deploying a J2EE Client Deployment Archive (client JAR).
  11. By default, you can run and debug the client JAR components in JDeveloper's embedded OC4J server to test the application. When you are ready to deploy the client JAR to the target application server, make sure to create an application server connection.
  12. (Optional) If you want to edit either the the clientmodule_deployment_profile_icon client deployment profile or the appclientxml application-client.xml deployment descriptor settings, right-click its icon and choose Settings.

Notes:


Related topics

About J2EE Applications and How They Are Packaged and Deployed
Deploying an Executable JAR File
About the OC4J Deployment Application Directory Structure
Deploying a J2EE Client Module (client JAR)