In the previous two chapters we covered how to develop web applications in Java using Servlets and JSPs. Although a lot of applications have been written using these APIs, most modern Java applications are written using some kind of web application framework. As of Java EE 5, the standard framework for building web applications is Java Server Faces (JSF). In this chapter we will see how using JSF can simplify web application development.
The following topics will be covered in this chapter:
Creating a JSF project with NetBeans
Generating a form to capture user data by draging a JSF form from the NetBeans palette into our page
Laying out JSF tags by taking advantage of the JSF
<h:panelGrid>
tagUsing static and dynamic navigation to define navigation between pages
Using the NetBeans New JSF Managed Bean wizard to create a JSF managed bean and automatically add it to the application's
<faces-config.xml>
configuration fileUsing...