6 Working with WLST Commands for ADF Applications

This chapter describes the WLST commands you can use to deploy, manage, and configure Oracle ADF applications to Oracle WebLogic Server.

This chapter includes the following sections:

Overview of Custom WSLT Commands for Oracle ADF

WLST provides a set of ADF-specific commands to administer ADF applications. Use the WLST commands to deploy, manage, and configure Oracle ADF applications running on Oracle WebLogic Server.

WLST provides a set of commands for ADF applications that are specific to WebLogic Server and allow to:

  • manage URL connections for an ADF application

  • manage Web Service connections for an ADF application

  • export CSV format of JARs versions

  • upgrade ADF Metadata of an application

For a complete list of ADF-specific WLST Commands, see Application Development Framework (ADF) Custom WLST Commands of the WLST Command Reference for Infrastructure Components.

For information about other WLST commands, such as custom Metadata Services (MDS) commands, see Metadata Services (MDS) Custom WLST Commands of the WLST Command Reference for Infrastructure Components.

Using ADF-Specific WLST Commands

Custom WLST commands for a given Oracle Fusion Middleware component are available for use only if the component is installed in the ORACLE_HOME directory. Use the different ADF-based URL Connections WLST commands to control the prompt display.

To use the custom WLST commands for Oracle ADF, you must run the WLST script from the Oracle Common home (not from the WebLogic server home).

The script is located at:

%ORACLE_HOME%\oracle_common\common\bin\wlst.cmd on Windows
$ORACLE_HOME/oracle_common/common/bin/wlst.sh on Unix

To navigate the hierarchy of configuration or runtime beans and control the prompt display using ADF-based URL Connections WLST commands:

  • Use the getADFMArchiveConfig command to manage the ADFMArchiveConfig object.

  • Use the exportJarVersions, exportApplicationJarVersions, and exportApplicationSelectedJarVersions commands to export CSV format of JARs versions to a specified location.

  • Use the Web service connection-specific commands to create, list, or delete Web service connections for an ADF application.

  • Use the listUpgradeHandlers command to list all upgrade handlers of an application.

  • Use commands related to applications' registered ADF Metadata to upgrade all or selected registered ADF Metadata of an application (or all the applications).

Note:

ADF-specific WLST commands can be used with WLST either online, offline, or both. Offline WLST commands are not supported from Maven.

For detailed description, syntax, and examples of using ADF-specific WLST commands, see the Application Development Framework (ADF) Custom WLST Commands chapter of WLST Command Reference for Infrastructure Components.

For more information about using custom WLST commands, see Getting Started Using the Oracle WebLogic Scripting Tool (WLST) in Administering Oracle Fusion Middleware.