Overview
Main description
Ideal for the 3+ million Java developers, this fast-paced tutorial offers in-depth coverage of JavaServer Faces (JSF) -- Sun Microsystem's Web application architecture for the future. Co-written by the #1 JSF expert in the Java community, this book offers the most complete resource on JSF available.
* Extensive coverage on JSF custom component development
* Serves as a thorough introduction to AJAX technology and techniques
* Numerous custom JSF component examples including AJAX enabled components provided
Table of contents
PART I: The JavaServer Faces FrameworkChapter 1: Introduction to JavaServer FacesChapter 2: Building a Simple JavaServer Faces ApplicationChapter 3: The JavaServer Faces Request Processing LifecycleChapter 4: Managed Beans and the JSF Expression LanguageChapter 5: The Navigation ModelChapter 6: The User Interface Component ModelChapter 7: Converting and Validating DataChapter 8: The JSF Event ModelPART II: Extending JavaServer FacesChapter 9: Applying JSF: Introducing the Virtual Trainer ApplicationChapter 10: Building Custom UI ComponentsChapter 11: Building AJAX JSF ComponentsChapter 12: Building Non-UI Custom ComponentsChapter 13: Alternate View Description Technology and FaceletsPart III: Applying JavaServer FacesChapter 14: Localization and Accessibility with JavaServer FacesChapter 15: Securing JavaServer Faces ApplicationsChapter 16: Automated Testing and Debugging of JavaServer Faces ApplicationsPart IV: JavaServer Faces Tools and LibrariesChapter 17: Developing JSF Applications with Visual Development EnvironmentsChapter 18: The JavaServer Faces Configuration FileChapter 19: The Standard JSF Component LibraryChapter 20: The MyFaces Implementation and Component LibraryPart V: AppendicesAppendix A: Faces Console Quick ReferenceAppendix B: Third-Party JSF Component LibrariesAppendix C: Migrating from Struts to FacesAppendix D: JSF Futures: Apache ShaleINDEX
Author comments
Chris Schalk is a principal product manager and lead JSF evangelist for Oracle's application server and development tools division.
Ed Burns is a senior staff engineer at Sun Microsystems, Inc., and has led the development of JavaServer Faces technology since its inception. He currently co-leads a team of experts from across the industry in the continued development of JSF.
James Holmes is a leading Java Web development authority. He is a committer on the Struts project and the author of Struts: The Complete Reference.
Edited by Herbert Schildt, Java authority and bestselling author of Java: The Complete Reference.
Back cover copy
The Ultimate JavaServer Faces Resource
Deliver feature-rich, cross-browser Internet applications using JavaServer Faces (JSF) and this one-stop guide. Written by experts directly involved in developing this important technology, JavaServer Faces: The Complete Reference fully explains every aspect of JSF.
The book 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. Throughout, Expert Group Insights offer an insider's view into the design of JSF.
Inside you'll find:
- Comprehensive coverage of the JSF lifecycle, managed beans, expression language (EL), the Faces event, UI component, and navigation models
- Techniques for transforming and processing data from disparate sources using converters and validators
- A complete, integrated sample application to use as a model for your own JSF applications, with code available online
- Instructions on how to use Hibernate to integrate JSF with production-quality databases
- Details on building AJAX-enabled custom UI components, complete with numerous examples
- Instructions for extending Faces by building custom non-UI components ranging from validators and converters to NavigationHandlers and ViewHandlers
- Techniques for debugging and developing automated software tests for JSF applications
- Extensive discussions of third-party Faces technologies, including MyFaces, ADF Faces, Facelets, Shale, and Faces-enabled IDEs
- Detailed coverage on security (using JAAS), accessibility, internationalization, and localization with JSF