Wednesday, June 4, 2008

MVC in JSF

* When a user requests a JSF page, the request goes to Faces Servlet.
* Faces Servlet is the controller which examines the user requests and calls various actions on the model.
*JSF user interface component represent the view layer.

JSF Application

Any JSF application includes the followinf pieces,

* Set of JSPs for presentation
* Java Beans
* Application configuration file whch defines navigation rules,configures beans and other custom objects.
* Web.xml
* Set of custom objects created by the developers.
* Custom tags needed for reperesenting custom objects.