3 Setting Up and Configuring Application Development Framework (ADF)

This chapter contains the following topics:

3.1 Downloading ADF Runtime

Access the download using the following link:

http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html

From the drop-down menu, select the release that corresponds to the MTRs located in this section, and then click the Download File button.

The appropriate Oracle ADF Runtime Distribution will download.

3.2 Installing ADF Runtime Libraries on Weblogic (WLS)

Now, to Weblogic, install the ADF Runtime Libraries you downloaded in Section 3.1, "Downloading ADF Runtime".

3.2.1 Installing ADF Runtime

To install ADF Runtime:

  1. Change directory to java\bin folder.

  2. Execute java-jar fmw_12.1.3.0.0_infrastructure.jar file.

    This image is described in surrounding text.
  3. Click Next on the Welcome screen.

    This image is described in surrounding text.
  4. Enter the existing Oracle Home, for example, Oracle\Middleware)

    This image is described in surrounding text.
  5. Select the Fusion Middleware Infrastructure option and click Next.

    This image is described in surrounding text.
  6. Click Next after the Prerequisite Checks.

    This image is described in surrounding text.
  7. Review the installation summary, and then click Install.

    This image is described in surrounding text.
  8. Click Next when installation is completed.

    This image is described in surrounding text.
  9. Review the Installation Status and click Finish.

3.3 Configuring ADF Runtime

You configure the ADF runtime by completing the following tasks:

  • Creating the Database Schemas using RCU

  • Extending the Weblogic domain for ADF

  • Creating a managed server

  • Applying the JRF Template to the new managed Server

3.3.1 Creating the Database Schemas using Repository Creation Utility (RCU)

To create the database schemas using RCU:

  1. Execute the rcu.bat(sh) from the Oracle_Home\oracle_common\bin folder.

    This image is described in surrounding text.
  2. Click Next on the Welcome Screen.

    This image is described in surrounding text.
  3. Select the Create Repository, and System Load and Product Load options.

    This image is described in surrounding text.
  4. Enter the database connection information.

    This image is described in surrounding text.
  5. Click OK after the Prerequisites Checks.

    This image is described in surrounding text.
  6. Enter a new schema prefix and select the AS Common Schemas.

    This image is described in surrounding text.
  7. The installer will perform a second check.

    This image is described in surrounding text.
  8. Enter the password for all schemas.

    This image is described in surrounding text.
  9. Review the tablespaces information.

    This image is described in surrounding text.
  10. Click OK to confirm tablespaces creation.

    This image is described in surrounding text.
  11. Click Create.

    This image is described in surrounding text.
  12. Click Close when the tablespaces creation is completed.

3.3.2 Extending the Weblogic Server Domain for ADF Runtime

Since your ADF applications will be on the same domain as your ADF libraries, then you need to extend the Weblogic Server Domain for ADF Runtime.

Note:

If you have not yet created the WLS domain, you can choose "Create a new domain" instead of "Update an existing domain."

To extend the Weblogic server domain for ADF runtime:

  1. Execute the config.cmd(sh) from Oracle_Home\oracle_common\common\bin folder.

    This image is described in surrounding text.
  2. Click the Update an existing domain option.

    The Create a new domain will be similar.

    This image is described in surrounding text.
  3. Select the Oracle Enterprise Manager option.

    The other two options will be selected automatically.

    This image is described in surrounding text.
  4. Verify the Domain location, and then click Next.

    This image is described in surrounding text.
  5. Enter the Database Configuration.

    Be sure to use the prefix_STB schema.

  6. Click Get RCU Configuration to verify the connection.

    This image is described in surrounding text.
  7. Review the Data Source Components and verify that the connection info is correct.

    This image is described in surrounding text.
  8. The test connection should return successfully.

    This image is described in surrounding text.
  9. Click Next without selecting any options.

  10. Review the Configuration Summary, and then click Update.

    This image is described in surrounding text.
  11. Click Next when the upgrade process is completed.

    This image is described in surrounding text.
  12. Click Finish to exit the installer.

3.3.3 Creating a Managed Server

To create a managed server:

  1. Launch the Weblogic Admin Console.

  2. Click Server, and then click Lock and Edit.

  3. Click New to create a Managed Server.

    Note:

    If you have Server Manager agent installed and have registered the Weblogic instance to your Server Manager, you can create the J2EE container from Server Manager.
    This image is described in surrounding text.

3.3.4 Applying the JRF Template to the New Managed Server

To apply the JRF template to the new managed server:

  1. Sign on to Weblogic Enterprise Manager. http://server:port/em.

  2. Select the Managed Server.

  3. Click the JRF Template.

    This image is described in surrounding text.
  4. Review the Confirmation message.

    Now this server is ready for deployment.