Java Reference
In-Depth Information
Chapter
3.
JavaServer
Faces
Technology:
Advanced
Concepts
The Java EE 6 Tutorial: Basic Concepts introduces JavaServer Faces technology and Face-
lets, the preferred presentation layer for the Java EE platform. This chapter and the follow-
ing chapters introduce advanced concepts in this area.
• This chapter describes the JavaServer Faces lifecycle in detail. Some of the complex
JavaServer Faces applications use the well-defined lifecycle phases to customize
application behavior.
Chapter 4 , Using Ajax with JavaServer Faces Technology ,” introduces Ajax con-
cepts and the use of Ajax in JavaServer Faces applications.
Chapter 5 , Composite Components: Advanced Topics and Example ,” introduces
advanced features of composite components.
Chapter 6 , Creating Custom UI Components and Other Custom Objects , ” describes
the process of creating new components, renderers, converters, listeners, and valid-
ators from scratch.
Chapter 7 , “ Configuring JavaServer Faces Applications , ” introduces the process of
creating and deploying JavaServer Faces applications, the use of various configura-
tion files, and the deployment structure.
The following topics are addressed here:
• “ The Lifecycle of a JavaServer Faces Application on page 50
• “ Partial Processing and Partial Rendering on page 56
• “ The Lifecycle of a Facelets Application ” on page 56
• “ User Interface Component Model on page 57
The Lifecycle of a JavaServer Faces Application
The lifecycle of an application refers to the various stages of processing of that application,
from its initiation to its conclusion. All applications have lifecycles. During a web applica-
tion lifecycle, common tasks such as the following are performed:
• Handling incoming requests
• Decoding parameters
• Modifying and saving state
• Rendering web pages to the browser
Search WWH ::




Custom Search