JSF 2, Maven and Tomcat 7 Configuration

This tutorial will show you how we can configure JSF 2.x, maven and Tomcat 7. For this tutorial we will create maven based web project in Eclipse. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a maven project in Eclipse.

Life cycle of JavaServer Faces (JSF)

In Java Server Faces (JSF) the client makes an HTTP request for the page, and the server responds with the page translated to HTML. However, the Java Server Faces life cycle is split up into multiple phases in order to support the sophisticated UI (User Interface) component model. This model requires that component data be converted and validated, component events…