JSF for Nonbelievers: The JSF Application Lifecycle
By Rick Hightower2005-05-05
Conclusion
This concludes the second article in the JSF series, where I've used a working example and three use cases to introduce you to the JSF request processing lifecycle and demonstrate some of the essential features of its component model. I've also shown you how JSF combines with Struts Tiles for a more uniform layout across JSF pages, how to work with the JSF DataModel, and how to combine JSF and JavaScript for immediate event handling.
Part 3 will pick up where I've left off, incorporating advanced features like conversion and validation. I'll show you how to create your own custom JSF validators and convertors, as well as how to use the built-in ones when the situation calls for it.
Tutorial Pages:
» Walk Through the 6 Phases of JSF's Request Processing Lifecycle
» The JSF Lifecycle: an Overview
» Phase 1: Restore View
» Phase 2: Apply Request Values
» Phase 3: Process Validation
» Phase 4: Update Model Values
» Phase 5: Invoke application
» Phase 6: Render Response
» A Working Example
» Let's Code it
» Use Case 1: Add a New CD
» Use Case 2: Edit a CD
» Use Case 3: Sort CDs
» Immediate Event Handling
» Conclusion
» Resources
First published by IBM DeveloperWorks
