DB-AppView Sample Query Readme

A copy of this readme is included with the DB-DB sample in your Liquid Data installation at <WL_HOME>/liquiddata/samples/buildQuery/db-appview-xml/readme.htm. (The default install home for Liquid Data is bea/weblogic700.) 
This readme includes the following topics: 

What this Query Demonstrates

This sample illustrates how to use LiquidData to extract customer information from three heterogeneous data sources: a JCA/ApplicationView, an XML file, and a relational database.

In this example, the customer information is stored in XML; customer orders can only be accessed through an EIS system (via J2EE Connector Architecture and Weblogic Application View); and promotion information is stored in a relational database. Traditionally, an application developer needs to write a set of data access methods and some application logic to complete the information extraction and assemble the result. Using Liquid Data, we demonstrate the use of a single XQuery statement to accomplish this task.

How to Run the Query

  1. Start the Liquid Data Samples server.
  2. Start the Data View Builder.
  3. In the Data View Builder, open the following project file: <WL_HOME>/liquiddata/samples/buildQuery/db-appview-xml/threeds.qpr
  4. Click the Test tab. (This shows the generated query statement.)
  5. Click the "Run Query" button and view the XML result.

If You Want to Re-create the Query . . . 

Configure the Data Sources in the Administration Console

  1. Configure the Application View data source as follows: 
  2. Configure the CRM relational database data source as follows: 
  3. Configure the BroadBand XML data source: LD-XMLDS

Build the Query in the Data View Builder

Reference