ADF business components
In the previous chapter, we created a set of components in the model layer to expose the business service to the UI Layer. The business components are used to simplify the developer's interaction with the database layer in a typical JEE application.
The common uses of the business components are as follows:
Performing Create, Retrieve, Update, Delete (CRUD) operations
Apply business logic and validations to the database objects
Transaction management
Some of the highlights of using ADF business components are as follows:
Simplified data access
It is based on XML and Java
Works with different application servers and databases
Uses some of the design patterns that are widely accepted
Components are metadata-driven, with optional Java coding
The following are the core components of ADF business components:
Entity objects
Associations
View objects
View links
Application module
Let us consider the EmpDirectoryApplication
module, which we created in the previous chapter. The DeptEO
and...