Introudction to JSF

Started by thiruvasagamani, Aug 28, 2008, 07:41 PM

Previous topic - Next topic


Introduction to JSF

Java Server Faces (JSF) is server side technology developed by Sun Microsystems. JSF is component based and event driven framework for developing Java web applications and simplifies the development of Java based web applications.

JSF integrate the Model-View-Controller (MVC) for the development of component which ensures that the applications are well designed with greater maintainability. All JSF components perform following three fundamental tasks.

    * Render the component, typically by generating markup.

    * Handle the component's events.

    * Validate the component's values

The given below is the request handling mechanism by the JSF components. The process of control is shown with solid lines and the dashed lines shows the alternate flow for a page redisplay and validation request or in the event of a conversion error.

Benefits of JSF

The following are the advantages or benifts of using JSF:-

    * It gives standard, reusable components for creating user interfaces for web applications.

    * It has many tag libraries for accessing and manipulating the components.

    * It automatically saves the form data and repopulates the form when it is displayed at client side.

    * It encapsulates the event handling and UI logic into a single component which can be reused by various web applications
Thiruvasakamani Karnan