Mastering JavaServer Faces

  • 5h 48m
  • Bill Dudney, Bill Willis, Jonathan Lehr, Leroy Mattingly
  • John Wiley & Sons (US)
  • 2004

This innovative book arms you with the tools to utilize JavaServer Faces (JSF), a new standard that will make building user interfaces for J2EE applications a lot easier. The authors begin by painting the architectural big picture–covering everything from the Patterns that are used in the implementation to the typical JSF Request/Response lifecycle. Next, you’ll learn how to use JSF in the real world by uncovering the various pieces of the JSF component model, such as UI components, events and validation. The authors then explain how to apply JSF, including how to integrate JSF user interfaces with the Business Tier and how to render your own user interface components. By following this approach, you’ll be able to confidently create and validate your own custom applications that meet the needs of your company.

Whether working in J2EE or J2SE, this book will show you how to:

  • Use UI Components to build your user interface
  • Ensure that the data you store meets the business rules for your application
  • Integrate JSF with JSPs through the custom Tag feature in JSP implementations
  • Build JSF applications that interact with either EJBs or POJOs
  • Validate a new component and queue events to invoke custom application logic
  • Move your application from Struts to JSF

About the Authors

Bill Dudney is a Java architect with Object Systems Group. He is also a coauthor of Jakarta Pitfalls and J2EE AntiPatterns (both from Wiley).

Jonathan Lehr is a software developer, architect, speaker, and author, whose works include Jakarta Commons Live (SourceBeat) and Jakarta Pitfalls (Wiley).

Bill Willis has over twelve years’ experience in the software industry. Bill is currently an enterprise architect and mentor at Object Systems Group. He is also the director of, a community portal devoted to software patterns.

LeRoy Mattingly is currently with Tecton Software, Inc. He has over ten years’ experience building large scale object-oriented systems. He also created The Integrator—a tool for authoring and managing the use case process while at OSGTools, a subsidiary of Object Systems Group.

In this Book

  • JSF Patterns and Architecture
  • Elements of JSF
  • JSf Request-Processing Life Cycle
  • JSF Configuration
  • JSP Integration in JSF
  • UI Components
  • Navigation, Actions, and Listeners
  • Validation and Conversion
  • Building JSF Applications
  • Custom JSF Components
  • Converting a Struts Application to JSF