Skip Headers

Oracle® Application Developer's Guide - XML
10g (9.0.4)

Part Number B12099-01
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

12
Building BC4J and XML Applications

This chapter contains the following sections:

Introducing Business Components for Java (BC4J)

Oracle Business Components for Java (BC4J) is a Java, XML-powered framework that enables development, portable deployment, and flexible customization of multi-tier, database applications from reusable business components.

Maps XML Messages

The Business Components for Java (BC4J) framework provides a general, metadata-driven solution for mapping E-commerce XML Messages into and out of the database.

Test BC4J Applications using JDeveloper

You can use Oracle BC4J framework and Oracle JDeveloper 's wizards and component editors to assemble and test application services from your reusable business components.

In JDeveloper, you can also customize the functionality of existing Business Components by using the visual wizards to modify your XML metadata descriptions.

See Also:

BC4J Features

BC4J features include the following:

BC4J Advantages

BC4J has the following advantages:

Flexible Deployment

BC4J-developed services can then be deployed as CORBA Server Objects or EJB Session Beans on enterprise-scale server platforms supporting Java technology.

The same server-side business component can also be deployed without modification, as a JavaServer Pages/Servlet application or Enterprise JavaBeans component.

This flexibility, enables you to reuse the same business logic and data models to deliver applications to a variety of clients, browsers, and wireless Internet devices without needing to rewrite code.

Building BC4J XML Applications in JDeveloper

The Business Components for Java (BC4J) framework in JDeveloper9i 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.

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 12-1 Using Business Components for Java (BC4J)

Text description of adxml086.gif follows

Text description of the illustration adxml086.gif

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

Building XSQL Clients with BC4J

In JDeveloper9i, 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.

See Also:

Ease of Code Generation and Management when Building XML and Java Applications

The following lists some typical JDeveloper code requirements when using the BC4J framework to build an XML application:

The BC4J framework represents each Business Component that uses a combination of XML and Java code.

Other typical generated files are:


Go to previous page Go to next page
Oracle
Copyright © 2001, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index