Introduction%20to%20Java%20Server%20Faces(JSF) - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction%20to%20Java%20Server%20Faces(JSF)

Description:

INTRODUCTION TO JAVA SERVER FACES(JSF) Shuang Hao WHAT IS JSF? A standard Java framework for building Web applications. It simplifies development by providing a ... – PowerPoint PPT presentation

Number of Views:193
Avg rating:3.0/5.0
Slides: 15
Provided by: rour4
Category:

less

Transcript and Presenter's Notes

Title: Introduction%20to%20Java%20Server%20Faces(JSF)


1
Introduction to Java Server Faces(JSF)
  • Shuang Hao

2
What is JSF?
  • A standard Java framework for building Web
    applications.
  • It simplifies development by providing a
    component-centric approach to developing Java Web
    user interfaces.
  • JSF applications are event driven.

3
JSF Architecture
4
JSF lifecycle
5
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 JSF framework.

6
components
  • 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
    client types.
  • A simple component
  • Input Text

7
Examples of components
  • 1. Menu component

2. Media component
3. Table component
8
A Simple Example
9
Example(cont.)
10
With correct password
  • Displays the user name that is stored in the
    backing bean.

11
With wrong password
12
Create a JSF page
13
Navigation
  • JSF navigation links from the Welcome page to the
    Login page and then to the Hello page.

14
References
  • http//www.oracle.com/technology/tech/java/newslet
    ter/articles/introjsf/index.html
  • http//www.roseindia.net/jsf/whatisjsf.shtml
  • What is JSF? Roosendaal - 22/09/2005,
  • Gie Indesteege - ABIS Training Consulting
Write a Comment
User Comments (0)
About PowerShow.com