Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

Using JDeveloper to Build Oracle XML Applications, 5 of 11

## Building XSQL Clients with Business Components for Java (BC4J)

In JDeveloper 3.2, you can build XSQL Pages which can integrate with BC4J application modules and thereby serve application logic from the middle tier to multiple clients. You can retrieve XML data and present it to any kind of a client device just by applying the corresponding stylesheet.

The following features will assist you in building XSQL clients with BC4J:

- Object Gallery

- XSQL Element Wizard

- Page Selector Wizard

  Note: These appearance of these features may differ in the JDeveloper 3.2 production version.

### Object Gallery

The Web Object Gallery has three new icons to assist in creating XSQL, XML and XSL documents easily. When the user clicks on them, the basic tags for these pages are generated and the user can then enhance them.

The XSQL Pages icon is of special interest because XSQL Element Wizard can be used, after generating your basic XSQL pages, to insert data bound tags in the XSQL pages.

Figure 14-2 illustrates the Object Gallery.

#### Figure 14-2 JDeveloper's Object Gallery Showing the new XSQL, XML, and XSL Icons

### XSQL Element Wizard

XSQL Element Wizard provides you with a mechanism to add tags which allows accessing database tables or BC4J View Objects. You can either perform queries against them or update the underlying database tables through them.

Figure 14-3 illustrates the JDeveloper 3.2 XSQL Element Wizard.

#### Figure 14-3 JDeveloper's XSQL Element Wizard

### Page Selector Wizard

When a developer wants to build full-fledged XSQL pages in the process of building a web application, they can easily invoke the Page Wizard which will allow them to create XSQL Pages on top of either database tables directly or on top of BC4J View Objects. When the user chooses to build an XSQL Page on top of a BC4J View Object, they will be prompted to select an application module (Refer to JDeveloper Documentation here) from a list or create a new application module and then build the XSQL Pages based application.

Figure 14-4 illustrates JDeveloper's Page Selector Wizard.

#### Figure 14-4 JDeveloper's Page Selector Wizard

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index