What is JavaServer Faces,JSF?

What is JavaServer Faces,JSF?

Java Server Faces: JSF is a java based web application framework to simplify the user interface for JEE applications. JSF uses component-based approach instead of traditional request-driven MVC frameworks.

The User Interface state is persisted at the time of a new page request comes from the client and it will be restored when the request is returned back. JSF uses JSP technology for its display. JSF provides to configuration files, the XML schema instead of DTD. JSP provides the portlet related bug fixes.

JSF includes
1. the default set of User Interface components
2. state management
3. managed beans
4. Unified Expression Language for both JSP and JSF

What is JavaServer Faces,JSF?

JavaServer Faces technology includes:1. A set of APIs for representing UI components and managing their state, handling events and input validation, defining page navigation, and supporting internationalization and accessibility.
2. A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface within a JSP page.

Designed to be flexible, JavaServer Faces technology leverages existing, standard UI and web-tier concepts without limiting developers to a particular mark-up language, protocol, or client device.

Ease-of-use being the primary goal, the JavaServer Faces architecture clearly defines a separation between application logic and presentation while making it easy to connect the presentation layer to the application code.

Developed through the Java Community Process under JSR - 314, JavaServer Faces technology establishes the standard for building server-side user interfaces.
Define JSF Taglibs
JSF Taglibs - The JSF Taglibs are of two. HTML Tag lib, Core Tag lib. HTML Tag lib: This tag library contains all the tags that pertains all the tags that are to deal with forms and other HTML-specific stuff...
Explain JSF technologies, i.e. Apache Tomahawk, Facelets, Shale, and Seam
JSF technologies - Apache Tomahawk: A series of JSF components are provided by MyFaces Tomahawk. Tomahawk provides several custom components that are 100% JSF compatible components...
JSF life cycle
JSF life cycle - The life cycle of JSF is similar to JSP. A JSF page is represented by the UI components which are in tree nature...
Post your comment