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:
-
In the New Gallery, select the Business Components
node.
-
In the Items
list, select either Business Components Diagram
or Business Components from Tables:
-
If you are comfortable with UML modeling, we recommend selecting
Business Components Diagram, which provides a graphical interface for
designing your business components. You can drag tables onto this
diagram to create business domain components. For more
information, see the Related Topics list.
-
Otherwise, you can select Business Components
from Tables to open the Business Components from Tables
wizard.
-
Click OK to close the dialog and open
either a diagram or the Business Components from Tables wizard.
-
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.
-
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.
-
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.
-
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.
-
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.
Related topics
Introducing Oracle ADF Business
Components
About ADF BC
Components
Registering Business
Services with Oracle ADF Data Controls
Copyright © 1997, 2004, Oracle.
All rights reserved.