bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Invoking Liquid Data Queries Programmatically

 Previous Next Contents Index View as PDF  

About the Liquid Data Query API

About Liquid Data Queries

Stored Queries

Ad Hoc Queries

Parameterized Queries

Components of the Liquid Data Query API

Packages

Query Execution EJB

Query Parameters

Query Attributes

Query Results

Types of Java Clients

EJB Clients

JSP Clients

Invoking Queries in EJB Clients

Step 1: Connect to the Liquid Data Server

Step 2: Specify Query Parameters

Step 3: Execute the Query

Step 4: Process the Results of the Query

Invoking Queries in JSP Clients

About the Liquid Data Tag Library

Scope of the Liquid Data Tag Library

Location of the Liquid Data Tag Library

Tags in the Liquid Data Tag Library

query Tag

param Tag

Processing Steps

Step 1: Reference the Liquid Data Tag Library

Step 2: Connect to the Liquid Data Server

Step 3: Specify Query Parameters

Step 4: Execute the Query

Executing Stored Queries

Executing Ad Hoc Queries

Handling Exceptions

Step 5: Process the Query Results

Invoking Queries in Web Service Clients

Finding the WSDL URL for Generated Web Services

Invoking Web Services Programmatically

Invoking Queries in Business Process Manager Applications

Liquid Data and the BPM Component

Setting Up a Query Invocation in a BPM Workflow

Invoking Queries in BEA WebLogic Portal Applications

Invoking Liquid Data Queries as EJB Clients

Invoking Liquid Data Queries as JSP Clients

Using Custom Functions

About Custom Functions

Defining Custom Functions

Step  1:  Write the Custom Function Implementation in Java

Rules for Writing Custom Function Implementations

Correspondence Between XML and Java Data Types

Step  2:  Create the Custom Functions Library Definition File

Contents of a CFLD File

Structure of a CFLD File

Elements and Attributes in a CFLD File

Step  3:  Register the Custom Function in the Administration Console

Examples of Custom Functions

Example That Uses Simple Types

Implementation of Custom Functions for Simple Types

CFLD File That Declares Custom Functions for Simple Types

Query That Uses the Custom Functions for Simple Types

Example That Uses Complex Types

Implementation of a Custom Function for a Complex Type

CFLD File That Declares the Custom Function for a Complex Type

Query That Uses the Custom Function for a Complex Type

Setting Complex Parameter Types

Architecture of Complex Parameter Types

Sample Complex Parameter Type Code

Sample Query

Sample Code

Compiling and Running the Sample Code

 

Back to Top Previous Next