Oracle ADF follows the
Model-View-Controller (MVC) design paradigm.
The layered
architecture of the framework simplifies maintenance, decouples implementations
from interfaces, and improves reusability of the components across
applications. The layered architecture of the ADF application is really useful
when you need to build a User Interface (UI)
Oracle ADF has a
well-proven, extensible, and layered architecture, which improves the
flexibility, maintainability, and scalability of an application
As best practices, Oracle
Web applications we build using the Fusion web technology stack achieve a clean
separation of business logic, page navigation, and user interface by adhering
to a model-view-controller architecture. As shown in Figure 1–0, in Oracle ADF
MVC architecture:
1. The model layer represents the data values
related to the current page
2. The view layer contains the UI pages used to
view or modify that data
3. The controller layer processes user input and
determines page navigation
4. The business service layer handles data access
and encapsulates business logic
5. The Data Service Layer handles the data
storage.
Fig
1.0 Oracle ADF MVC Architecture Overview
Model and Business Layer
In the model layer, Oracle ADF Model
implements the JSR-227 service abstraction called the data control. Data
controls abstract the implementation technology of a business service by using
standard metadata interfaces to describe the service’s operations and data
collections, including information about the properties, methods, and types
involved. JDeveloper automatically creates the bindings from the page to the
services. At runtime, the ADF Model layer reads the information describing your
data controls and data bindings from appropriate XML files and implements the
two-way connection between your user interface and your business service.
Wikipedia Links to know more details
Business Layer
- EJBs
- Web Services - both SOAP and REST
- TopLink - and EclipseLink
- Javabeans
- POJO - simple Java classes (Plain Old Java Objects)
- ADF Business components
- Portlets
- CSV and XML files
Controller
- JavaServer Faces (JSF)
- ADF Task Flows - extension of the JSF controller layer that adds complete process flow and reusability aspects.
- Struts
View
- Swing
- JavaServer Pages (JSP)
- JavaServer Faces (JSF)
- ADF Faces - an Oracle implementation of JavaServer Faces[1]
- Facelets
- ADF Mobile browser - based on Apache Trinidad
- Excel through ADF desktop integration
Mobile application
development
- Mobile Application Framework (MAF) is Oracle's strategic direction for mobile application development. It is a rebranded product that was once know as Oracle ADF Mobile. The name change was a strategic decision to differentiate MAF from ADF. MAF is a hybrid framework for mobile development that enables development of a single source and generation of native applications for both iOS and Android devices. Coding of logic within mobile applications is done with the Java language. A UI layer can be developed with a set of components (AMX) that generate an HTML5 based user interface. In addition Oracle MAF can incorporate local HTML5 pages and remote HTML content generated from other servers.
- Oracle MAF includes a controller layer based on the ADF Task flow concepts, as well as support for the ADF binding solution for easy binding of UI to services. Oracle MAF supports interaction with device features such as GPS, contacts, SMS and more.
No comments:
Post a Comment