First page Back Continue Last page Graphics

Implementing MVC with the ADF Framework


Notes:

Implementing MVC with the ADF Framework

In addition to design patterns, developers often use architectural frameworks to build applications that perform in a standard way. ADF is such a framework, and it implements the MVC design pattern as follows:

Data Services: Can be any data source

Business Services: The back-end data model that interacts with the data source. It may be a set of Java classes or Web services, or can be Enterprise JavaBeans (EJBs), TopLink, or ADF Business Components.

Model: ADF data binding utilizes a data binding and data access facility for Java EE that provides a standard for interactions between UI components and methods available on the business services. With this standard data binding, any Java UI rendering technology can declaratively bind to any business service.

View: The user interface can be a rich client with ADF Swing components, or can use Java ServerFaces and ADF Faces components.

Controller: Page flow and UI input processing can be implemented in Struts, JSF, or ADF Controller.

The earlier lessons in this course deal mainly with how to build back-end business services. The remainder of this course explains how to build the front-end user interface (view) and flow control (controller), and how to bind UI components to business services (model).