Time for action – running the application
Let us see how to run the ADF application using the following steps:
To run the page, we will have to right-click on the
index.jspx
page and select the Run option.The page that we have created will be displayed in the default browser as shown here in the following URL:
http://127.0.0.1:7101/EmpDirectoryApplication-ViewController-context-root/faces/index.jspx
Tip
EmpDirectoryApplicaion-viewcontroller-context-root
is the context root for the application. This can be changed from Project Properties and Java EE application of theViewController
project. Java EE web context root will hold the context root for the project.Verify the contents of the page. It will display the content of the
EMP
table in a grid layout with all the information bound to the UI components. The layout of the page will be ugly with a lot of spaces and will have a horizontal scroll bar. This will be fixed in the Chapter 6, Displaying the Data.
What just happened?
The integrated...