Deploying a BI Beans Java-Client Application

This topic provides instructions for packaging and running a stand-alone Java-client application.

Prerequisite

Before deploying a BI Beans Java-client application, complete the preparation for deploying a BI Beans application.

Procedure: Deploying and running a Java-client application

This procedure uses the following substitutions:

The following list provides the steps that are required to deploy and run the application:

  1. In JDeveloper, perform one of the following tasks depending on whether you have an existing deployment profile (with the .deploy extension):

  2. Right-click the deployment profile and choose Deploy to JAR file. The JAR file is created in the folder that you specified when you created the deployment profile. The JAR file contains the application classes, BI Beans runtime libraries, and third-party libraries that BI Beans requires.

  3. Copy the JAR file to deploy_home on the production machine.

  4. To prepare to run the application, ensure that the required OLAP services are available and running as described in the following steps:

    1. On the production machine, open a command prompt window and ensure that the JDK binaries (on Windows, jdk_home\bin or, in UNIX, jdk_home/bin) are in the PATH variable.

    2. Ensure that the deployed JAR file, such as app1.jar, is in the the CLASSPATH.

  5. To run the application, enter the following command under deploy_home where applicationclassname represents the class name of your application: java <applicationclassname>

    Example: java mypackage1.BIApplication1

Creating a deployment profile for a Java-client application

To create a deployment profile, follow the procedure in the JDeveloper Help topic "Creating a Deployment Profile for J2EE Client Modules" but select the following libraries in the Which libraries are involved in dependency analysis box:

You can return to Step 2 of the deployment procedure.

Editing a deployment profile

To edit an existing deployment profile, perform the following steps:

  1. In the System-Navigator, right-click the deployment file and select Settings.

  2. Select Dependency Analyzer and select the following items in the Which libraries are involved in dependency analysis box:

  3. Choose OK to complete the change to the profile.

You can return to Step 2 of the deployment procedure.