15 October, 2020
Welcome to Oracle ADF Tutorials. The objective of these tutorials is to provide an in-depth understanding of Oracle ADF.
In addition to free Oracle ADF Tutorials, we will cover common interview questions, issues, and how to’s of Oracle ADF.
ADF Model is a central part of Oracle ADF, enabling you to create ADF applications based on different types of business services. ADF Model implements data controls and data bindings. 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. In Oracle JDeveloper, developers can view that information as icons that they can easily drag and drop onto a page. When the developer drags the representation of the service onto the page, Oracle JDeveloper automatically creates the bindings from the page to the services. At runtime, the ADF Model layer reads the information describing the application's data controls and data bindings from appropriate XML files and implements the two-way connection between the user interface and the application's business service.
Oracle ADF provides ready-to-use data control implementations for common business service technologies, such as the following:
A typical MVC application contains the following three layers.
All the components of the application are loosely coupled. This helps with the maintenance of the application and increases the reusability. So the architecture can be defined as Service Oriented Architecture (SOA).
Oracle ADF has four layers in its MVC implementation. It has a separate model layer and business service layer to implement service-oriented architecture. So we can define the Oracle ADF architecture as an MVC model with a business service layer. Here are the four layers of ADF architecture
Different layers and their interaction are shown as an example. The components in different layers can be changed per the application requirement.
The business service layer is the additional component in the Oracle ADF framework. ADF provides the flexibility to implement this layer using any technology, and some of those technologies are shown in the diagram. This layer manages the following tasks.
The model layer provides a single interface to connect to any business service. This model layer in the ADF architecture does not handle business logic itself, rather provides the abstraction on top of the business services. So the flexibility of implementing any business service is a great advantage of the ADF framework. The model layer in ADF is also called 'ADF binding'. It has the following components.
The controller layer is responsible for handling application flow and user input. The navigation rules are defined on a diagram to manage application flow. Here are the two types of controllers used in web-based applications.
Note: ADF controller extends the functionality of JSF controllers.
The view layer is the front end of any application. The front end layer can be a desktop application, mobile application, or web-based application. The multichannel support of the Oracle ADF framework is very useful for developing any type of application. Oracle ADF provides more than 150 Ajax based, ready-made JSF components for creating dynamic web interfaces.
Oracle Application Development Framework (ADF) Business Components is a framework focused on creating objects, which implement the Business Services layer on top of a database, in a more declarative way. It provides out-of-the-box services such as transaction management, resource pooling, locking, declarative validation rules, translation, and object-relational mapping. Oracle ADF Business Components let us leverage the full power of SQL when building Java objects that access their databases. With the built-in implementation of common J2EE design patterns in the framework, the performance and scalability of the application are assured.
The following are some of the benefits of the Oracle ADF framework:
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .