JAVA SERVER FACES(JSF)
WHAT IS JSF?
A standard Java framework for building Web
It simplifies development by providing a
component-centric approach to developing Java
Web user interfaces.
JSF applications are event driven.
BENEFITS OF USING JSF:
JSF provides standard, reusable components for
creating user interfaces for web applications.
JSF provides 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.
JSF encapsulates the event handling and component
rendering logic from programmers, programmers just
use the custom components.
JSF is a specification and vendors can develop the
implementations for JSF.
There are many GUIs available these days to simplify
the development of web based application based on
The true power of JSF in its user interface
component model where applications are merely
built from collections of components that can
render themselves in diverse ways for multiple
A simple component:
EXAMPLES OF COMPONENTS:
1. Menu component
A SIMPLE EXAMPLE:
WITH CORRECT PASSWORD
Displays the user name that is stored in the backing
WITH WRONG PASSWORD:
CREATE A JSF PAGE
JSF navigation links from the Welcome page to
the Login page and then to the Hello page.
What is JSF? Roosendaal - 22/09/2005,
Gie Indesteege - ABIS Training & Consulting