Deploying a J2EE Client Module (client JAR)

A J2EE Client module is packaged as a client JAR file which contains one or more Java application components and a client deployment descriptor file named application-client.xml. Once you've created the deployment profile containing the Java application components and the deployment descriptor file and packaged them into a standard J2EE archive, you can proceed to deploy the client JAR to the application server.

To deploy a J2EE Client module in JDeveloper:

  1. If not already done, create a J2EE client JAR deployment profile.
  2. If not already done, create an application server connection to the target application server before deploying the client JAR.
  3. Select and right-click the clientmodule_deployment_profile_icon client deployment profile icon which appears in the Navigator below the specified project. The context menu displays these deployment options:
    1. Deploy to JAR file: the Client module is packaged as an client JAR file and saved to the local project directory.
    2. Deploy to EAR file: the Client module is packaged as an Enterprise Archive (EAR) file and saved to the local project directory.
    3. Deploy to <Name_of_application_server_connection>: the Client module is packaged as a client JAR. JDeveloper also generates an EAR file which contains the client JAR before deploying to the target application server connection.
  4. Choose one of these deployment options.
    The client module is deployed to the target application server directory.
  5. (Optional) If you want to edit either the the clientmodule_deployment_profile_icon client deployment profile or the 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
OC4J Deployment Application Directory Structure
Deploying a J2EE Client Module (client JAR)