If you use TopLink POJO as your business service technology, model information will be exposed to the view and controller layers through ADF data control interfaces implemented by thin, Oracle-provided adapter classes.
To create adapter classes and data controls:
OR:
Drag the bean from the Application Navigator onto the Data Control Palette to create the data controls.
Note: We recommend using a TopLink sessions.xml file. This allows you to have multiple clients share a single TopLink UnitOfWork (transaction), providing a consistent view of data across data controls. If you base your data control directly on the TopLink deployment descriptor, each client will be forced to use a separate TopLink UnitOfWork, which may interfere with data consistency. For more information, see the related topics list.
Collection
type, you must
specify the return type for the data control.
JDeveloper adds the data control definition file (DataControls.dcx
) to the model project. The .dcx
file identifies the Oracle ADF
model layer adapter classes that facilitate the interaction between the
client and the available business services.
To view the business services you have registered for use with your client application:
OR
Working with JavaBean
Components in the Model Project
Working with TopLink Objects in the Model Project
About the Oracle ADF Data Controls for JavaBeans and TopLink-based Bean
Components
About the
Data Control Palette
About the TopLink
Sessions Editor
Copyright © 1997, 2004, Oracle. All rights reserved.