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, 4 of 11

## XML in Business Components for Java (BC4J)

The Business Components for Java (BC4J) framework in JDeveloper 3.2 uses XML to define the metadata that represents the declarative settings and features of the objects. Custom or complex business logic can be implemented in Java.

- The BC4J Tester enables you to see data in view objects as XML.

- Business rules, such as validation rules, are stored in XML rather than Java source code

- Easy customization of business applications by changing XML rather than Java source code

- Applications are easier to read and understand by abstracting the logic in XML

##### BC4J uses XML to Store Metadata

The business components for Java framework that ships with JDeveloper uses XML to store metadata about its application components. Important information is now stored in a structured document rather than in Java source code. This makes the application easier to understand and customize.

The application is now customizable without having access to the source code.

Figure 14-1 shows how BC4J is used with XSQL servlet to generate XML documents.

#### Figure 14-1 Using Business Components for Java (BC4J)

Business rules can be changed on site without needing access to the underlying component source code.

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