JavaServer Faces in Action
Kito D. Mann
  • November 2004
  • ISBN 9781932394122
  • 744 pages

Can’t wait to make it available to the people I teach.

Sang Shin, Java Technology Evangelist, Sun Microsystems, Inc.

JavaServer Faces in Action is an introduction, a tutorial, and a handy reference. With the help of many examples, the book explains what JSF is, how it works, and how it relates to other frameworks and technologies like Struts, Servlets, Portlets, JSP, and JSTL. It provides detailed coverage of standard components, renderers, converters, and validators, and how to use them to create solid applications. This book will help you start building JSF solutions today.

Table of Contents show full




about this book

about the title and cover

Part 1 Exploring JavaServer Faces

1. Introducing JavaServer Faces

2. JSF fundamentals

3. Warming up: getting around JSF

4. Getting started with the standard components

5. Using the input and data table components

6. Internationalization, validators, and converters

Part 2 Building user interfaces

7. Introducing ProjectTrack

8. Developing a user interface without Java code: the Login page

9. Developing a user interface without Java code: the other pages

10. Integrating application functionality

Part 3 Developing application logic

11. The JSF environment

12. Building an application: design issues and foundation classes

13. Building an application: backing beans, security, and internationalization

14. Integrating JSF with Struts and existing applications

Part 4 Writing custom components, renderers, validators, and converters

15. The JSF environment: a component developer’s perspective

Appendix A: Using JSF without JSP



Online Extension

The online extension consists of five chapters in part 5 as well as four appendixes that are not included in the print edition. They are available for free download from the owner’s Manning user account bookshelf. This is the table of contents for the online extension.

Part 5 Writing custom components, renderers, validators, and converters: examples

16. UIInputDate: a simple input component

17. RolloverButton renderer: a renderer with JavaScript support

18. UIHeadlineViewer: a composite, data-aware component

19. UINavigator: a model-driven toolbar component

20. Validator and converter examples

Appendix B: A survey of JSF IDEs and implementations

Appendix C: Extending the core JSF classes

Appendix D: JSF configuration

Appendix E: Time zone, country, language, and currency codes



About the Technology

JavaServer Faces helps streamline your web development through the use of UI components and events (instead of HTTP requests and responses). JSF components (buttons, text boxes, checkboxes, data grids, etc.) live between user requests, which eliminates the hassle of maintaining state. JSF also synchronizes user input with application objects, automating another tedious aspect of web development.

About the book

Online Extension

The online extension consists of five chapters in part 5 as well as four appendixes that are not included in the print edition. They are available to owners of the book for free download from

What's inside

How to

  • Use JSF widgets
  • Integrate with Struts and existing apps
  • Benefit from JSF tools by Oracle, IBM, and Sun
  • Build custom components and renderers
  • Build converters and validators
  • Put it all together in a JSF application

About the author

An independent enterprise architect and developer, Kito D. Mann runs the community site and is a member of the JSF 1.2 and JSP 2.1 Expert Groups. He lives in Stamford, Connecticut with his wife, two parrots, and four cats.

eBook $39.99 PDF only

FREE domestic shipping on three or more pBooks

This book unlocks the full power of JSF ... It’s a necessity.

Jonas Jacobi, Senior Product Manager, Oracle

... explains advanced topics in detail. Well-written and a quick read.

Matthew Schmidt, Director, Advanced Technology, Javalobby

... by a programmer who knows what programmers need.

Alex Kolundzija, Columbia House

A great reference and tutorial!

Mike Nash, JSF Expert Group Member, Author, Explorer's Guide to Java Open Source Tools