Oracle ADF architecture is based on four layers:
Business Services layer -
1. This layer provides the access to data from various sources and handles business logic.
2. This Business Service layer in Oracle ADF can be implemented in any of the following :
a. Using Java Classes.
b. EJB.
c. Web Services.
d. JPA Objects.
e. Oracle ADF Business Components..
Model layer -
1. This layer connects the business services to the objects that use them in other layers.
2. This layer provides an abstraction layer on top of the Business Services layer, enabling the View and Controller layers to work with different implementations of Business Services in a consistent way.
3. This layer consist of two components :-
a. Data Control :-
It is the abstraction layer of business service methods.
Data Control entry is mentioned on data control definition file (i.e DataControl.dcx file).
b. Data Bindings :-
It implements the data control service methods and attributes at user interface (i.e on ADF Page).
Page binding entry is mention on data binding definition file (i.e DataBinding.cpx file).
Controller layer -
1. This layer provides a mechanism to control the flow of the Web application.
2. This layer handles the user input.
3. In jdeveloper 12c, there are 2 controller options for web based application.
a. JSF Controller.
b. ADF Controller extends the JSF Controller.
4. ADF controller has a technology in order to perform the navigation between the pages i.e ADF Task Flow, which provides the re-usability for user interface fragments.
View layer -
1. This layer provides the user interface of the application.
2. For web based application, Oracle ADF provides rich set of over 150 Ajax enabled JSF components.
Business Services layer -
1. This layer provides the access to data from various sources and handles business logic.
2. This Business Service layer in Oracle ADF can be implemented in any of the following :
a. Using Java Classes.
b. EJB.
c. Web Services.
d. JPA Objects.
e. Oracle ADF Business Components..
Model layer -
1. This layer connects the business services to the objects that use them in other layers.
2. This layer provides an abstraction layer on top of the Business Services layer, enabling the View and Controller layers to work with different implementations of Business Services in a consistent way.
3. This layer consist of two components :-
a. Data Control :-
It is the abstraction layer of business service methods.
Data Control entry is mentioned on data control definition file (i.e DataControl.dcx file).
b. Data Bindings :-
It implements the data control service methods and attributes at user interface (i.e on ADF Page).
Page binding entry is mention on data binding definition file (i.e DataBinding.cpx file).
Controller layer -
1. This layer provides a mechanism to control the flow of the Web application.
2. This layer handles the user input.
3. In jdeveloper 12c, there are 2 controller options for web based application.
a. JSF Controller.
b. ADF Controller extends the JSF Controller.
4. ADF controller has a technology in order to perform the navigation between the pages i.e ADF Task Flow, which provides the re-usability for user interface fragments.
View layer -
1. This layer provides the user interface of the application.
2. For web based application, Oracle ADF provides rich set of over 150 Ajax enabled JSF components.
0 comments:
Post a Comment