bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Invoking Liquid Data Queries Programmatically

Invoking Queries in Business Process Manager Applications

This topic describes how to invoke BEA Liquid Data for WebLogicTM queries from workflows in the Business Process Manager (BPM) component of BEA WebLogic Integration. It contains the following sections:

- Liquid Data and the BPM Component

- Setting Up a Query Invocation in BPM Client Applications

Liquid Data and the BPM Component

Workflows in the Business Process Management (BPM) component of WebLogic Integration can invoke Liquid Data queries in BPM business operations using the Liquid Data EJB API. For comprehensive information about BPM, see Business Process Management in the WebLogic Integration documentation.

A business operation represents a method call on an EJB, including any variables that are passed to it as parameters, and result values that are returned to the workflow.

You define business operations using the business operations facility in the WebLogic Integration Studio, as described in "Configuring Business Operations" in Configuring Workflow Resources in Using the WebLogic Integration Studio. Once defined, individual workflows can use the Perform Business Operation action to invoke the business operation and, optionally, assign the results of the query to a workflow variable.

Setting Up a Query Invocation in BPM Client Applications

To invoke a query using the Liquid Data EJB API, you must first define the business operation using the WebLogic Integration Studio. For each business operation, you define the name of the business operation, the JNDI name of the Query EJB to be invoked (com.bea.ldi.server.QueryHome), and the method to invoke. Stateless session EJB references persist for the duration of a workflow instance.

For more information, see "Configuring Business Operations" in Configuring Workflow Resources in Using the WebLogic Integration Studio.