10310
10310
Contents
• Introduction to the Author
• Chapter 1: JSF Introduction
• Chapter 2: Understanding Managed Beans
• Chapter 3: Page Navigation
• Chapter 4: JSF Components
Chapter 1
JSF Introduction
O u tl i n e
�What is JSF?
�Why JSF?
�What JSF looks like?
�Why we need frameworks/ framew orks types?
�Evolution of technologies
�JSF Architecture
�JSF Life cycle
�Application
What is JSF?
Why JSF?
1. Standard.
2. Easy to use.
3. MVC for web applications.
4. Support for client device
independence.
6. Huge vendor and industry support.
7. Can work with any presentation
technology including JSP.
8. Extendable Component and
Rendering architecture.
9. UI elements is stateful objects on
the server.
Types of Frameworks
• Foundation framework:
– Form processing ,
– Page management.
– Type conversion,
– Error handling,
– Enforcing MVC model,
– Not masking the fundamental request /
response nature of HTTP.
– Example ; Struts
• UI framework:
– Form processing ,
– Page management.
– Type conversion,
– Error handling,
– Enforcing MVC model,
Java Developer And Instructor
[email protected]
Java Server Faces (JSF)
Evolution of Technologies
JSF Architecture
1. Initial Request:
– A user requests the page for the first time.
– Lifecycle only executes the restore view and
render response phases.
2. Post back:
– A user submits the form on a page that was
previously loaded into the browser.
– Lifecycle executes all phases.
- conversion - validation
• Process Validations:
value-changed events,
data model events
Thanks