Working with ADF Business Components in the Model Project

ADF Business Components technology provides a framework-based method for developing J2EE business services. ADF Business Components governs interaction between the rest of the application and the data stored in the data source, providing validation, specific services, and other business logic.

This topic assumes you have followed the steps in Creating Business Services for the Model Project and chosen ADF Business Components as your business service technology.

To create ADF BC components:

  1. In the New Gallery, select the Business Components node.
  2. In the Items list, select either Business Components Diagram or Business Components from Tables:
  3. Click OK to close the dialog and open either a diagram or the Business Components from Tables wizard.
  4. Design business domain components (entity objects, associations, and domains to represent your database objects. If you are using the Business Components from Tables wizard, you will also be given the option to create default data model components, although you will change these later. For more information on these components, see the related topics list.
  5. Optionally, add business logic to your business domain components. This can mirror or replace business logic you have implemented in your database. Implementing this logic in ADF BC components will make your application more efficient and responsive.
  6. Analyze your client's data needs. Whether or not you have completely designed your client, you should now decide what data it needs to display and identify the relationships between that data.
  7. Create or change data model components (view objects, view links, and application modules) to expose needed data to your client. For more information on these components, see the related topics list.
  8. Create a Struts page flow and create either JSP or UIX pages for your ViewController project.

    Note: You do not need to create data controls for Oracle ADF Business Components&mdashOracle ADF BC data model components already implement the data control interfaces. This step is done for you when you generate an ADF Business Components model project.

You can continue to work with your ADF BC components, tuning them and further customizing their behavior. For more information, see Developing ADF Business Components.


Introducing Oracle ADF Business Components
About ADF BC Components

Registering Business Services with Oracle ADF Data Controls

 

Copyright © 1997, 2004, Oracle. All rights reserved.