Databases Reference
In-Depth Information
The ADF architecture
ADF is designed to simplify the development of web applicaions, desktop applicaions
(MS Oice), and mobile applicaions. It is focused on giving a visual and declaraive approach
to building applicaions based on the common MVC patern. This architecture is targeted at
providing a service-based, loosely coupled soluion with the following ive layers:
Business Service : This layer is responsible for handling the interacions between the
database and the model layer by providing database persistence, object/relaional
mapping, managing transacions, and so on. Business logic is also taken care of in
this layer. ADF Business Components are the first choice to develop the business
service layer apart from Java, EJB, and web services.
Model : This layer is on top of the business service layer and abstracts the business
services exposed to the view layer. The Data Controls palete acts as an interface
between the view and the business services layers. Data bindings map the exposed
services to the UI components. The data control and data binding approaches are
collecively represented as ADF Model based on JSR 227 (Java Speciicaion Request).
Controller : The navigaion from one page to another is handled in this layer using
the ADF task flow. Its reusability along with parameter passing, a single point of
entry, and allowing re-entry are the highlights of using the ADF task flow. The other
technology choice in this layer can be JSF Struts.
View : This is the actual presentaion layer facing the user directly and passing the
inputs to the controller layer for processing. ADF Faces is used for this purpose.
ADF Faces uses more than 150 rich components to support the development of
compeing web user interfaces. ADF Faces is based on JSF, which allows JSF as the
second choice for UI development. ADF Desktop Integraion will also act as a view
layer for standalone applicaions.
Metadata services : Customizaion and personalizaion of the applicaion is done
using the metadata services framework that uses metadata to store and retain user
session informaion. This is not an architectural layer but an addiional service layer
on top of the controller and the model layers.
The following diagram shows how ADF layers fit into the Model-View-Controller architecture:
 
Search WWH ::




Custom Search