ADF architecture has five different layers. ADF architecture follows
MVC architecture. Like in MVC, three layers are there. Additionally, two more
layers are added in ADF architecture. i.e.
Business Service Layer and Data Service Layer.
So we can explain ADF architecture by defining following
layers in order.
- View Layer
- Controller Layer
- Model Layer
- Business Services Layer
- Data Services Layer
This layer implements UI part of ADF application. View Layer of ADF architecture supports multiple view technologies. It works well for Browser, Desktop, Mobile technology as well.
ADF faces are used for web application. ADF Faces are built on top of the JSF technology.
ADF Swing can be used for desktop applications.
Controller Layer
Controller layer provided the control on flow of
application. Re-usability is also provided by ADF Controller. Task flows are
used to provide control flow and re-usability of components. State Management,
Transaction Management is also done by ADF Controller.
Model Layer
Model Layer provides data to View Layer or UI in ADF
application. Model Layer further divided into two parts.
- Data control – Works as an adapter for business service layer. Provide implementation of business service layer to View Layer.
- Data binding – Binds the data and logic of Business Service layer from Data control to the view Layer components.
Business Service Layer
Business Service Layer provided the access of Data from
various Data Sources like RDBMS, Excel, CSV etc. It provides space to write
business logic for application.
Business components, Beans, POJO, Web services are the part
of business Service Layer.
Data Service
Data Source provides the Data for the
application. Data can be fetched from various Data sources like Database, Web Services
etc.

No comments:
Post a Comment