Databases Reference
In-Depth Information
13.
Enter the applicaion module package as
com.empdirectory.model.am
and
name it as
EmpDirectoryModule
.
14.
The
Add to Applicaion Module
checkbox is checked to add the view object to
the applicaion module.
15.
Click
Next >
to create a business component diagram for the components that are
created. The diagram is helpful in visualizing the relaionship between the business
components. We can create new eniies and view objects from the business
component diagram. This is added only for reference and is not used further in
the topic.
16.
Check the
Add to Business Components Diagram
checkbox to add
EmpEO
,
EmpVO
,
and
EmpDirectoryModule
to the diagram.
17.
Type the package name as
com.empdirectory.model.diagram
and the name
of the diagram as
EmployeeDirectoryDiagram
.
18.
Select the default selecion to include enity objects, view objects, and the
applicaion module.
19.
Click on the
Next >
buton to check for the summary, and click on the
Finish
buton
to create the components.
What just happened?
Since ADF is a metadata-driven framework, most of the components created will be
represented as a
.xml
ile.
We have created the basic business components for our sample applicaion. They are
as follows:
EmpEO.xml
: This is an enity object that will represent the
EMP
table in
HRSchema
.
Click on the
EMPEO.xml
file to open the
.xml
file. In the
Atributes
secion, you will
ind all the column informaion for the
EMP
table.
Search WWH ::
Custom Search