About Oracle ADF Data Controls for EJB Components

If you use EJB technology as your business service technology, model information will be exposed to the view and controller layers through Oracle ADF data control interfaces implemented by thin, Oracle-provided adapter classes, as shown in the following figure.

Data Control Palette shows EJB

1 The data control

This node represents the data control, in this case a session facade. Drag a stateless session bean from the Navigator and drop it onto the Data Control Palette to create the data control or to refresh its contents.

2 Row sets

These nodes represent collections:

3 Attributes

These nodes represent individual attributes.

4 Standard operations

These nodes represent standard collection operations. The session facade has similar nodes that represent transaction-level operations. The operations available for a collection include Previous Set and Next Set, which scroll through the data based on range size.

5 Special navigation operations

These nodes allow you to set the row set's current row to a particular displayed row.

6 Custom method

Custom service methods will appear on the Data Control Palette.

About the Generated Files

There are four files that are generated when you create a data control from a session bean, two Java files and two XML files. The JDeveloper design time creates the following XML files automatically to facilitate such things as resolving accessor types in the Property Inspector.


Creating Oracle ADF Data Controls for EJB Components
Specifying a Bean Definition for Accessors that Return a Collection

 

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