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

Samples

Running the Avitek Sample

You can see Liquid Data in action by running the Avitek Sample. Before you can run the Samples you need to make sure that the Samples are installed, the Samples database has been populated by running the First-Time Samples Configuration, and the Samples server is running. For details, see the Installation Guide and Next Steps: What to Do After Installing.

Run the Sample!

The Samples Web page is always located at the following URL where HostName is the name or IP address of the Samples server: http://HostName:7001/ldsample/index.htm

When the Samples server is running on your local host, open a Web browser and go to this URL to run the sample:

http://localhost:7001/ldsample/index.htm

On Windows platforms, you can also start the Sample by choosing:

StartProgramsBEA WebLogic Platform 7.0 Liquid Data for WebLogic 1.1Liquid Data SamplesOpen Samples Home.

Getting Started: Learn How to Construct Order Query

Getting Started walks you through the same process we used to create and test the Order Query in the Avitek Sample. This is an easy way to get your feet wet. Shows you how to configure data sources, build a data view, generate a query, and run it in Liquid Data.

More Samples and Readmes

Ready for more Query examples? The samples directory in your Liquid Data installation provides more pre-built queries for you to walk through and tinker with. Each sample includes a readme that describes the business scenario addressed, details on how the query was built, project files and schemas, and instructions for running the query. To find these samples, look in the directory following directory on the system where Liquid Data is installed:

WL_Home/liquiddata/samples/buildQuery/

We suggest starting with the readme. Here is a list of query samples available in the samples/buildQuery directory. Copies of the the readmes are also provided here for you to browse:

Data Transformation and Aggregation Sample Readme

DB-AppView-XML Sample Query Readme

DB-Web Service Sample Query Readme

Data View Sample Query Readme

DB-XML Sample Query Readme

DB-DB Sample Query Readme

DB-AppView-XML Sample Query Readme

Custom Functions (DB-UDF) Sample Query Readme

Stored Procedure Sample Readme

Complex Parameter Type (DB-CPT) Sample Readme

Complex Parameter Type (DB-CPTCO) Sample Readme

Parameterized View Sample Readme

In addition to the above samples, the samples directory installed with Liquid Data (WL_Home/liquiddata/samples/) also includes viewlet demos on working with Web services, using administration features like implementing security, and working with the Liquid Data Repository. Also, there is an EJB API programming example.

Generate Web Service Sample (viewlet demo):

  WL_Home
/liquiddata/samples/websrvcGen/readme.htm

Complex Web Service as Data Source Sample (viewlet demo):

  WL_Home/liquiddata/samples/complexwebsrvc/readme.htm

Server Repository Sample (viewlet demo):

   WL_Home
/liquiddata/samples/repository/readme.htm

Security Sample (viewlet demo):

   WL_Home
/liquiddata/samples/security/readme.htm

EJB API Sample:

   WL_Home
/liquiddata/samples/ejbAPI/readme.htm