Databases Reference
In-Depth Information
Business components in action
In this secion, we will see how the business components are working at runime. When we run
the applicaion module, the view object instances that are added to the applicaion module
will be loaded at runime and the data will be shown to the user, as per the user interacion.
Time for action - running the application module
We will run the AM tester using the following steps and see how the components work
in acion:
1. Right-click on EmpDirectoryModule and select the Run opion from the menu.
2. When the AM tester is ready, click on the view link created. In this case, it will be
EmpVOToDeptVOLink2 .
3. This will open records of the ACOUNTING department. You will see that there
are only three employees in this department, from the HRSchema database
we created in Chapter 2 , Geing Started with ADF .
The records were created using the demobld.sql file.
4. Click on the Forward buton to see that the data changes as per the acion.
Now you will see that the RESEARCH department has five employees within it.
5. Traverse to the OPERATIONS department; you will not see any employees within
this department.
6. Now we are going to create a new department named HR .
7. Click on the + (add) icon for the department table—you will see a new record
created for you.
8. Now enter in the following details:
Deptno 50
Dname HR
Loc NEW YORK
9. Click on the Commit buton to save this department in the database.
 
Search WWH ::




Custom Search