Oracle® Application Developer's Guide - XML 10g (9.0.4) Part Number B12099-01 |
|
This chapter contains the following sections:
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.
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.
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.
BC4J features include the following:
BC4J has the following advantages:
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.
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.
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.
Business rules can be changed on site without needing access to the underlying component source code.
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.
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:
|
Copyright © 2001, 2003 Oracle Corporation. All Rights Reserved. |
|