JavaServer Faces 2.0: The Complete Reference
by: Ed Burns, Chris Schalk, Neil Griffin
Abstract: Written by the co-spec lead for JavaServer Faces at Sun Microsystems Fully revised and updated for all of the massive changes in JavaServer Faces 2.0, this bestselling guide covers every aspect of the web application architecture of the future. JavaServer Faces 2.0: The Complete Reference explains in full detail how to deliver feature-rich, crossbrowser Internet applications. This comprehensive resource begins with a fast-paced introduction so you can get your first JSF application up and running quickly. Then, each aspect of JSF is examined in depth, including the request processing lifecycle, page navigation, component development, Ajax, validation, internationalization, and security. A complete sample JSF application is easily used as a model for building custom applications, with all source code available for download.
Full details
Table of Contents
- A. About the Authors
- B. Acknowledgments
- C. Introduction
- 1. Introduction to JavaServer Faces
- 2. Building a Simple JavaServer Faces Application
- 3. The JavaServer Faces Request Processing Lifecycle
- 4. The Facelets View Declaration Language
- 5. Managed Beans and the JSF Expression Language
- 6. The Navigation Model
- 7. The User Interface Component Model
- 8. Converting and Validating Data
- 9. The JSF Event Model
- 10. Applying JSF: Introducing the Virtual Trainer Application
- 11. Building Custom UI Components
- 12. JSF and Ajax
- 13. Building Non-UI Custom Components
- 14. Securing JavaServer Faces Applications
- 15. Configuring JavaServer Faces Applications
- 16. The Standard JSF Component Library
- A. JSF Portlets
Tools & Media
Expanded Table of Contents
- A. About the Authors
-
B.
Acknowledgments
- C. Introduction
- 1. Introduction to JavaServer Faces
- 2. Building a Simple JavaServer Faces Application
- 3. The JavaServer Faces Request Processing Lifecycle
- 4. The Facelets View Declaration Language
- 5. Managed Beans and the JSF Expression Language
- 6. The Navigation Model
- 7. The User Interface Component Model
- 8. Converting and Validating Data
- 9. The JSF Event Model
-
10.
Applying JSF: Introducing the Virtual Trainer Application
- A Quick Tour of the Virtual Trainer Application
- The Virtual Trainer Application Requirements
- The Virtual Trainer Application Architecture
- Facelet Pages
- Backing Beans
- Persistence and Transaction Architecture
- Navigation Concerns
- Creating a Simple Authentication System
- Revisiting JSFReg: Building the Registration System
- Building the Core Pages of the Virtual Trainer Application
- The UserRegistry and EventRegistry
- Accessing and Initializing the EventRegistry Instance
- Reading and Writing Event Instances
- JPA and the Entity Classes in Virtual Trainer
- Internationalizing the Virtual Trainer Application
-
11.
Building Custom UI Components
- Deciding When to Build a Custom UI Component
- What Are UI Components?
- A Simple JSF UI Component
- The Code Behind the Markup of This Simple JSF UI Component
- Adding Behavior to a Composite Component
- The Parts of a UI Component
- A Noncomposite JSF Custom UIComponent
- State Management with Custom Components
- Extracting Rendering Code into a Renderer
- Advanced Composite Component Development
- Packaging JSF Components into a Self-Contained Jar
- Packaging a Composite Component into a Jar
- Packaging a Noncomposite Component into a Jar
- 12. JSF and Ajax
- 13. Building Non-UI Custom Components
- 14. Securing JavaServer Faces Applications
- 15. Configuring JavaServer Faces Applications
- 16. The Standard JSF Component Library
- A. JSF Portlets
Book Details
Title: JavaServer Faces 2.0: The Complete Reference
Publisher: : New York, Chicago, San Francisco, Lisbon, London, Madrid, Mexico City, Milan, New Delhi, San Juan, Seoul, Singapore, Sydney, Toronto
Copyright / Pub. Date: 2010 The McGraw-Hill Companies
ISBN: 9780071625098
Authors:
Ed Burns is the author of this McGraw-Hill Professional publication.
Chris Schalk is the author of this McGraw-Hill Professional publication.
Neil Griffin is the author of this McGraw-Hill Professional publication.
Description: Written by the co-spec lead for JavaServer Faces at Sun Microsystems Fully revised and updated for all of the massive changes in JavaServer Faces 2.0, this bestselling guide covers every aspect of the web application architecture of the future. JavaServer Faces 2.0: The Complete Reference explains in full detail how to deliver feature-rich, crossbrowser Internet applications. This comprehensive resource begins with a fast-paced introduction so you can get your first JSF application up and running quickly. Then, each aspect of JSF is examined in depth, including the request processing lifecycle, page navigation, component development, Ajax, validation, internationalization, and security. A complete sample JSF application is easily used as a model for building custom applications, with all source code available for download.
