2014-12-31 Created by Baoxinjian
I. Summary
The ADF (Application Development Framework) is a solution specifically developed by Oracle to simplify the development of Java EE Programs and is the next-generation enterprise application Development framework provided by Oracle.
At the same time, Oracle ADF is one of the most important technologies in fusion architecture and the core technology of fusion application, and almost all of Oracle's future products will be transferred to the ADF framework.
1. Openness
Oracle ADF can take full advantage of application server's good features (especially WebLogic),
In addition, the Oracle ADF is a good balance of components and coding, it can be said that both components, visual, declarative development way to solve the simple, repetitive work, but also left the free coding of sufficient space, in the face of complex applications can be easily.
2. Security
Oracle provides a complete security solution that provides the underlying security framework OPSS (Oracle Platform Secure Services), a standard-based, pluggable, integrated enterprise-class security platform.
The Oracle ADF provides an enterprise-class security solution based on ADF applications with security components, based on OPSS. The ADF application can also integrate Oracle Entitlements Server for finer-grained authorization.
And all of Oracle's Fusion Fusion middleware (IDM, Webcenter, SOA/OSB, BPM, ODI, MDM, etc.) and application products (upgraded EBS, Siebel, PS, Hyperion, and Fusion application, etc.), are based on the OPSS to implement a security solution, can be mutually secure seamless connection. If the enterprise chooses the Oracle product roadmap, then the Oracle ADF has a congenital advantage.
3. Extensibility
(1). Oracle ADF provides more than 200 interface components that can be used to meet common applications, and in addition, new components can be easily expanded to meet complex business requirements based on these components. And since the ADF is a JSF-based extension, all JSF standard components and custom components can also be seamlessly integrated with the ADF.
(2). From the relevance of other Oracle products, the Oracle ADF bottom layer integrates seamlessly with other fusion middleware products, such as: The BC section enables better features, data layers, and page flow with Oracle database directly with Oracle Delivery Network integration enables asynchronous service integration based on message events and Bpm/bpel process integration, presentation layers and webcenter to build a complete Enterprise Portal.
In addition, the Oracle ADF, as an end-to-end solution and development framework that meets the specifications of the Java EE Standard, can be easily fused with other open source technologies/products.
4. Framework Capabilities
Oracle ADF provides an in-depth, comprehensive range of capabilities for the system life cycle. such as personalization, is its basic function, can be from the system and the user two levels of interface elements, the style of personalized definition without affecting the original system design and code changes. For example, adapter, which relies on the Oracle "chatty" product line, Oracle ADF can easily use a variety of off-the-shelf "knowledge base" nature of the system integration adapter. Wizards, for example, provide hundreds of wizard features from simple to complex, diverse applications and objects to help developers quickly "initialize" apps and features.
The Oracle ADF application Development Framework is an end-to-end Java EE framework that simplifies development by providing off-the-shelf infrastructure services and a visual, declarative development experience. Build ria (Rich Internet application) Rich Internet applications using the Oracle ADF, a Web 2.0-based user interface that gives users a highly interactive, rich user experience, and powerful clients:
- Partial page Refresh
- Verify now
- Drag-and-drop operations
- Pop-up window
- Dynamic and complex layouts
- Interactions similar to desktop apps
- ......
Second,ADF Architecture
ADF Frame Composition
The ADF frame composition is as follows:
Best practice, using the Oracle ADF to build your app, your app will clearly separate the business logic, page navigation and user interface and follow the MVC three-tier architecture pattern for models, views, and controllers. As shown in the ADF schema:
- The model layer represents the data value (model) associated with the current page
- The view layer contains the user interface (view) for viewing/modifying data
- The controller layer processes user input and determines page navigation (Controller)
- Business services tier processes data access and encapsulation business logic
Iii.ADF Schema Description
1. ADF Schema Description
- Each layer of the Oracle ADF corresponds to the implementation of:
- Business Services Tier-ADF businesses components
- Model layer-data control and bindings
- Controller Layer-taskflow
- View Layer-ADF Faces
1.1. ADF Business Components
In the database-centric business logic, the ADF provides the following three key components: Entity Object, ViewObject, Application module.
The order in which the three layers are established is to create a persistent layer of entity objects (object), then establish the View object (ViewObject) of the data access layer, and finally establish the interface layer (application module).
The entity object in which the persistence layer is built is primarily related to the database table or synonym object, and the View object (ViewObject) of the data access layer is based on the entity layer's entity object (or, of course, only the View object, but this is not based on the entity object, but on SQL).
The primary is access to the database, and the interface layer is the interface of the entire business Service layer and the model layer, the View object established in the data access layer needs to be registered in the interface layer, so that it can be accessed in the model layer.
1.2. ADF Model
The ADF model is the core module of the ADF framework-it implements the JSR-227 specification, which includes two parts: Data Control and declarative bindings (declarative binding).
Data Control abstracts the implementation of business logic by using standard metadata to describe operations and data collections (including attribute information, method calls, and so on) in the business layer.
When the developer creates the interface layer (application module), the Data control is automatically created, which contains all the functions in the interface layer.
This means that all methods of accessing the business object are now done through data control, which allows the binding layer to use a way to access the data, regardless of how the background data objects are obtained (database, WebService, JavaBean, CSV, etc.).
Data control can be seen as a proxy mechanism that isolates the business logic layer and the UI layer.
1.3. ADF Taskflow
The ADF controller expands on the implementation of the JSF standard, providing a larger page flow capability.
1.4. ADF Faces
The Oracle ADF Faces is a set of fully functional user interface components based on the JavaServer Faces JSR (JSR 127).
The ADF Faces Rich client has an AJAX-enabled component that has more than 100 rich clients components, including built-in flash and SVG data visualization components. By using these components, users have a tremendous visual impact.
In addition to using the ADF Faces Rc,oracle ADF, it provides full support for Apache myfaces Trinidad View Technology.
Iv.ADF interface Effect and component display
1. ADF Control
2. ADF Chart
Reproduced
Sail Technology-Http://definesys.com/solution/adf/adfsolution.html
Thanks and regards
Fusion_ customized Enterprise-class IT system solutions based on Oracle ADF