Concepts and architecture
A view object abstracts the raw JDBC APIs to read data from the database and encapsulates the logic for managing the result set. The ADF view object has a very flexible and layered architecture, which improves the extensibility of the system.
Ingredients of a view object
This is in continuation of our discussion on the constituents of a view object in Chapter 2, Introduction to ADF Business Components. In this section, we will revisit the same topic to analyze the concepts in depth. The following diagram represents the runtime artifacts of a view object that help the view object to carry out the task at different stages of the query execution life cycle:
An ADF view object is composed of the following components:
View definition XML file: This is the view object descriptor XML file, which holds metadata definitions. The metadata includes the following:
The
SQL SELECT
statement used in the view objectBind parameter definitions used in the
SQL SELECT
statementAttribute...