Java Reference
In-Depth Information
Implementing the User Interface Layer
Now that we have the data access layer ready, it is time to implement the user
interface layer. We will be using NetBean's visual web JSF so that we can easily
create a highly functional, visually appealing web application.
The first page we will create will contain a table listing all existing customers in
the database, it will also have controls to add, update, and delete customers. Since
we will be using visual web JSF, we need to create a new visual web page by right-
clicking on the CustomerManagement-war web module and selecting New | Visual
Web JSF Page... . At this point the New Visual Web JSF Page wizard pops up. We
need to enter a name for our JSP, and add a suitable package for the generated
managed bean.
For each visual web JSF page we create, an identically named JSF
managed bean is created. For this reason we should name our visual web
JSF pages following Java class naming conventions.
 
Search WWH ::




Custom Search