bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Creating the Presentation Layer

Creating the Presentation Layer

This topic describes how to create the presentation layer that formats the output of BEA Liquid Data for WebLogicTM query results to users. It contains the following sections:

- About the Presentation Layer

- Tasks for Creating the Presentation Layer

For detailed information about creating the presentation layer using the Liquid Data JSP tag library, see Invoking Queries in JSP Clients in Invoking Queries Programmatically.

About the Presentation Layer

In Liquid Data, a presentation layer is the software component that handles the layout, formatting, and display of query results to users. Liquid Data provides a JSP (Java Server Pages) tag library that you can use to create the presentation layer in JSP pages. The Liquid Data tag library can be used with both stored queries and ad hoc queries. For more information about the Liquid Data tag library, see About the Liquid Data Tag Library in "Invoking Queries in JSP Clients" in Invoking Queries Programmatically.

Tasks for Creating the Presentation Layer

To create the presentation layer, complete the following steps in your JSP page:

- Step 1: Reference the Liquid Data Tag Library

In this step, you specify the URI of the Liquid Data tag library in the JSP page.

- Step 2: Connect to the Liquid Data Server

In this step, if the JSP client is deployed on a server other than the Liquid Data Server, you connect to the Liquid Data Server using BEA's t3 protocol.

- Step 3: Specify Query Parameters

In this step, you specify query parameters, if applicable.

- Step 4: Execute the Query

In this step, you execute the query on the Liquid Data Server.

- Step 5: Process the Results of the Query

In this step, you process the results of the query by performing an XSL transformation using an embedded tag, such as the x:transform tag described in the JavaServer Pages Standard Tag Library 1.0 Specification, which is published by the Sun Microsystems, Inc. at the following URL:

http://java.sun.com/products/jsp/jstl/index.html