JSF for Nonbelievers: The JSF Application Lifecycle
By Rick Hightower2005-05-05
Walk Through the 6 Phases of JSF's Request Processing Lifecycle
Contrary to popular belief, it's possible to write Java™Server Faces (JSF) applications without knowing every little detail of how the technology works. You can learn a tremendous amount by just giving yourself a project and cobbling through it to the end. On the other hand, understanding certain fundamentals will make your development efforts much more rewarding -- and a lot less time-consuming.
In this second article in the JSF for nonbelievers series, I'll walk you through the six phases of the JSF request processing lifecycle. I'll explain what happens in each phase and how the phases interconnect, then use an example application to demonstrate the lifecycle in action. Along the way, I'll also show how to work with some of the built-in JSF components briefly touched on in Part 1. I'll also show you how to incorporate Struts Tiles into your JSF development, and how to combine JSF and JavaScript for immediate event handling.
As in the previous article, the default build environment for the example application is Maven. You can download the example source by clicking the Code icon at the top or bottom of this page. For simplicity, you'll find the example setup the same as it was in the previous article. See Resources for further directions on the build environment setup, including directions for building and running the example application in Ant, rather than Maven.
Tutorial pages:
|
First published by IBM DeveloperWorks
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "JSF for Nonbelievers: The JSF Application Lifecycle"
You must be logged in to post a comment.
Link to This Tutorial Page!

