The type of data control that you choose to use will impact how you implement data access features. Table A-1 provides a comparison of how you implement some commonly used data access features for each type of data control.
Table A-1 Comparison of Feature Implementation in Data Controls
Feature | ADF Business Components Data Control | Bean Data Control | EJB Data Control | Web Service Data Control | URL Service Data Control | Placeholder Data Control |
---|---|---|---|---|---|---|
af:Query |
Declarative |
Declarative |
Declarative |
Implemented programmatically |
Not available |
Not available |
af:quickQuery |
Declarative |
Declarative |
Declarative |
Implemented programmatically |
Not available |
Not available |
af:inputComboListOfValues |
Declarative |
Declarative |
Declarative |
Implemented programmatically |
Not available |
Declarative |
af:Calendar |
Declarative |
Implemented programmatically |
Implemented programmatically |
Implemented programmatically |
Not available |
Not available |
af:Media |
Declarative |
Implemented programmatically |
Implemented programmatically |
Implemented programmatically |
Not available |
Not available |
Table filtering |
Declarative |
Declarative |
Declarative |
Not available |
Not available |
Not available |
Range and scrollable paging |
Declarative |
Declarative |
Declarative |
Not available |
Not available |
Not available |
UI Hints |
Declarative |
Declarative |
Declarative |
Declarative |
Declarative |
Declarative |
Validation Rules |
Declarative |
Declarative |
Declarative |
Declarative |
Declarative |
Not available |
Criteria-based fetching |
Declarative |
Declarative |
Not available |
Not available |
Not available |
Only implicit criteria available |
List of Value (LOV) Components |
Declarative |
Declarative |
Declarative |
Declarative |
Declarative |
Declarative |
Commit and Rollback Support |
Declarative |
Declarative, depends on implementation |
Declarative, depends on implementation |
Not available |
Not available |
Implemented programmatically |
Failover Support |
Declarative |
Declarative, depends on implementation |
Declarative, depends on implementation |
Not available |
Not available |
Not available |
Features that are listed as "declarative, depends on implementation" are available if the underlying business service provides an appropriate code pattern. Components that are listed as "implemented programmatically" in the table can be implemented using the necessary Java classes required to implement a business model that can be used by the specific data-entry component. For more information, refer to the Javadoc for the appropriate classes.