logo
Oracle Fusion - Interview Questions and Answers
What is the difference between ADF View and ADF Model?

In Oracle Application Development Framework (ADF), the ADF View and ADF Model are key components of the Model-View-Controller (MVC) architecture. They serve different purposes in application development.

1. ADF View (ADF Faces)

* Purpose: Handles the UI (User Interface) and presentation layer of the application.
* Technology: Based on JavaServer Faces (JSF) and ADF Faces components.
* Components :

  • JSF Pages (.jsf, .jspx, .xhtml) – Defines the UI layout.
  • ADF Faces Rich Components – Provides UI elements like tables, forms, and graphs.
  • Task Flows – Manages navigation and page transitions.
    * Functionality:
  • Displays data from the ADF Model layer.
  • Supports declarative UI binding to data sources.
  • Provides drag-and-drop UI development with JDeveloper.
  • Enables AJAX-based interactions for a rich user experience.
2. ADF Model (ADF Binding Layer)

* Purpose: Acts as the bridge between the UI (ADF View) and the Business Logic (ADF BC or EJBs).
* Technology: Uses data bindings and the Data Control Framework (DCF).
* Components :

  • Data Controls – Define how data is accessed and manipulated.
  • Binding Layer (Page Definition files) – Maps UI components to business data.
  • Iterator Bindings – Controls data navigation and pagination.
  • Action Bindings – Connects UI actions (e.g., button clicks) to business logic.
    * Functionality:
  • Provides a declarative approach to bind UI components to business data.
  • Supports integration with ADF Business Components (ADF BC), Web Services, and EJBs.
  • Helps maintain separation of concerns between UI and data logic.
Key Differences Between ADF View and ADF Model
Feature ADF View ADF Model
Role Defines the UI (User Interface) Binds UI to business data
Technology JSF, ADF Faces Data Control Framework, Bindings
Components UI pages, Task Flows, Rich UI Components Data Controls, Page Definitions, Iterators
Focus Rendering and displaying data Connecting data sources to UI
Interaction Provides the visual experience for users Fetches, updates, and processes data