This part deals with the creation of a simple xhtml file that gets packaged up in a properly configured JavaServer Faces 2.0 application's war file and subsequently deployed to Tomcat 7. By then end of this tutorial, you will have confirmed that you have set up a JSF 2.0 development environment properly, and you can properly create web components and deploy them to a servlet engine such as Apache Tomcat.
By Cameron McKenzie, author of Hibernate Made Easy and JSF Made Easy