Developing Applications with Oracle ADF Data Controls
Table of Contents
Show All | Collapse- Title and Copyright Information
- Preface
- What's New in This Guide
- 1 Introduction to ADF Model
- 2 Using ADF Data Controls
- 3 Creating and Configuring EJB Data Controls
- 3.1 About EJB Data Controls
- 3.2 Preparing a Session Bean to Use With a Data Control
- 3.2.1 Supported Types and Constructs in EJB Data Controls
- 3.2.2 EJB Data Control Objects
- 3.2.3 About the Session Facade Pattern
- 3.2.4 EJB Data Control Prerequisites and Considerations
- 3.2.5 Creating EJBs for a Data Control in JDeveloper
- 3.2.6 What You May Need to Know About How EJB and Bean Data Controls Use Getter Methods
- 3.2.7 About Commit Models for EJB Session Beans
- 3.2.8 About Generating IDs for Primary Keys with the @GeneratedValue Annotation
- 3.2.9 How to Change a Persistence Unit's Schema Generation Behavior
- 3.2.10 How to Automatically Update a Session Facade
- 3.2.11 What You May Need to Know About Refreshing JPA Queries
- 3.3 Exposing Session Bean Services with ADF Data Controls
- 3.3.1 How to Create EJB Data Controls
- 3.3.2 What Happens in Your Project When You Create an EJB Data Control
- 3.3.3 How EJB and Bean Data Controls Appear in the IDE
- 3.3.4 What You May Need to Know About the Support Named Criteria Option
- 3.3.5 What You May Need to Know About CRUD Operations in an EJB Data Control
- 3.3.6 What You May Need to Know About the Merge and Persist Methods
- 3.3.7 What You May Need to Know About Remove Methods
- 3.3.8 About Automatically Persisting New Rows
- 3.3.9 How to Change the EagerPersist Property
- 3.3.10 What You May Need to Know About the Persistence Context and Resubmitting Queries
- 3.3.11 How to Create Different Data Controls for a Single Bean
- 3.3.12 What Happens When You Create an Additional Data Control Instance
- 3.4 Paginated Fetching of Data in EJB Data Controls
- 3.4.1 How to Change Paging Mode for a Data Control
- 3.4.2 How to Set Range Size for a Data Control that Uses Range Paging
- 3.4.3 What You May Need to Know About the Scrollable and Range Paging Modes
- 3.4.4 How to Specify Access Mode for Individual Objects in the Data Control
- 3.4.5 What You May Need to Know About Sorting Tables Based on Range Paginated Collections
- 3.5 Enabling Failover in an EJB Data Control
- 4 Creating and Configuring Bean Data Controls
- 4.1 About Bean Data Controls
- 4.2 Preparing a Bean to Expose with a Data Control
- 4.3 Exposing Java Collections and Methods With Bean Data Controls
- 4.4 Paginated Fetching of Data in Bean Data Controls
- 4.5 Enabling Failover in a Bean Data Control
- 4.6 Enabling Custom CRUD Operations in a Bean Data Control
- 4.7 Adding Transactional Behavior to a non-JPA Bean Data Control
- 4.8 Using Annotations to Declare Metadata for Non-JPA Data Controls
- 4.9 Creating Custom Bean Data Controls
- 5 Exposing Web Services Using the ADF Model Layer
- 5.1 About Web Services in Fusion Web Applications
- 5.2 Creating Web Service Data Controls
- 5.2.1 How to Create a Data Control for a SOAP-based Web Service
- 5.2.2 How to Create a Data Control for a RESTful Web Service
- 5.2.3 How to Include a Header Parameter for a Web Service Data Control
- 5.2.4 How to Adjust the Endpoint for a SOAP Web Service Data Control
- 5.2.5 How to Refresh a Web Service Data Control
- 5.2.6 What You May Need to Know About Primary Keys in SOAP-Based Web Service Data Controls
- 5.2.7 What You May Need to Know About Web Service Data Controls
- 5.3 Securing Web Service Data Controls
- 6 Exposing URL Services Using the ADF Model Layer
- 6.1 About Using ADF Model with URL Services
- 6.2 Exposing URL Services with ADF Data Controls
- 6.2.1 How to Create a URL Connection
- 6.2.2 How to Create a URL Service Data Control
- 6.2.3 What Happens When You Create a URL Service Data Control
- 6.2.4 What You May Need to Know About Generating URL Data Controls without Schema
- 6.2.5 How to Include a Custom Header Parameter for a URL Service Data Control
- 6.2.6 What You May Need to Know About Primary Keys in URL Service Data Controls
- 6.2.7 What You May Need to Know About URL Service Data Controls
- 6.3 Using URL Service Data Controls
- 7 Adding Business Logic to Data Controls
- 7.1 Introduction to Adding Business Logic to Data Controls
- 7.2 Configuring Data Controls
- 7.3 Working with Attributes
- 7.3.1 How to Designate an Attribute as Primary Key
- 7.3.2 How to Control the Updatability of an Attribute
- 7.3.3 How to Define a Static Default Value for an Attribute
- 7.3.4 How to Define a Default Value Using a Groovy Expression
- 7.3.5 What Happens When You Create a Default Value Using a Groovy Expression
- 7.3.6 How to Set UI Hints on Attributes
- 7.3.7 What Happens When You Set UI Hints on Attributes
- 7.4 Adding Transient Attributes to a Data Object
- 7.5 Defining Validation Rules on Attributes Declaratively
- 7.5.1 How to Add Validation Rules to Attributes
- 7.5.2 What Happens When You Add a Validation Rule
- 7.5.3 How to Use the Built-in Declarative Validation Rules
- 7.5.4 How to Use Groovy Expressions For Validation Rules
- 7.5.5 How to Create Validation Error Messages
- 7.5.6 How to Set the Severity Level for Validation Exceptions
- 7.6 Filtering Result Sets with Named Criteria
- 7.6.1 Use Case for Named Criteria
- 7.6.2 How to Create Named Criteria Declaratively
- 7.6.3 What Happens When You Create a Named Criteria
- 7.6.4 How to Use Bind Variables in Named Criteria
- 7.6.5 What Happens When You Use Bind Variables in Named Criteria
- 7.6.6 What You May Need to Know About Nested Expressions
- 7.6.7 How to Set User Interface Hints on Named Criteria
- 7.6.8 How to Create a Named Criteria Based on Multiple JPA Entities
- 7.7 Creating List of Values Objects
- 7.8 Testing Data Object Metadata Using the Oracle ADF Model Tester
- 7.8.1 How to Run the Oracle ADF Model Tester
- 7.8.2 What Happens When You Use the Oracle ADF Model Tester
- 7.8.3 How to Test Business Layer Validation
- 7.8.4 How to Test Row Creation and Default Value Generation
- 7.8.5 How to Test Named Criteria Using the Oracle ADF Model Tester
- 7.8.6 How to Update the Oracle ADF Model Tester to Display Project Changes
- 7.8.7 How to Test Alternate Language Message Bundles and UI Hints
- 7.9 Groovy Language Support
- A Data Control Feature Comparison