-
Chapter 1 Introducing JavaServer Faces
-
What Is JavaServer Faces?
-
How Does JSF Compare to Traditional Technologies?
-
Where Does JSF Fit in the Big Picture?
-
What You Need to Get Started
-
-
Chapter 2 JSF Development Process Overview
-
Developing an Application with a JSF-Based User Interface
-
Developing the Application Backend
-
Developing Components and Integration Code
-
Developing the User Interface Pages
-
-
Chapter 3 Setting Up the JSF Environment
-
Installing the Java Software Development Kit
-
Installing the Tomcat Server
-
Testing Tomcat
-
Installing the Book Examples
-
Example Web Application Overview
-
-
Chapter 4 Servlet and JavaServer Pages Basics
-
HTTP
-
Web Application Deployment and Runtime Environment
-
Servlets, Filters, and Listeners
-
JavaServer Pages
-
Accessing Application Data
-
-
Chapter 5 Developing the Business Logic and Setting Up Authentication
-
Sample Application Overview
-
Implementing the Business Logic Classes
-
Authentication and Authorization
-
-
Chapter 6 Creating and Rendering Components
-
The Basics
-
Binding Components to Model Properties
-
Conditionally Render Components
-
-
Chapter 7 Validating Input
-
Dealing with Syntax Errors in User Input
-
Using the Standard Validators
-
Defining Custom Error Messages
-
Using a Custom Validator
-
Other Ways to Validate Input
-
-
Chapter 8 Handling Events
-
Understanding the JSF Event Model
-
Handling Application Backend Events
-
Handling User Interface Events
-
-
Chapter 9 Controlling Navigation
-
Moving Between JSF Views
-
Returning a Non-JSF View Response
-
Returning a JSF View Response to a Non-JSF Request
-
-
Chapter 10 Working with Tabular Data
-
Displaying a Read-Only Table
-
Processing Row-Specific Events
-
Dealing with Large Tables
-
Editing Tabular Data
-
-
Chapter 11 Internationalization
-
Localizing Application Output
-
Handling Localized Application Input
-
Dealing with Non-Western Languages
-
-
Chapter 12 Odds and Ends
-
Building a View from Many JSP Files
-
Combining JSF Views with Other Content
-
Dealing with Struts Applications and JSF
-
Programmatically Modifying Components
-
Using a PhaseListener
-
Debugging and Error Handling Ideas
-
-
Chapter 13 Developing Custom Renderers and Other Pluggable Classes
-
Developing Custom Renderers
-
Using Other Custom Classes
-
Packaging Custom Classes
-
-
Chapter 14 Developing Custom Components
-
Extending an Existing Component
-
Developing a New Component from Scratch
-
-
Chapter 15 Developing a Custom Presentation Layer
-
The ViewHandler Class
-
Using Java Classes as Views
-
Using Pure HTML Templates with XML View Definition Files
-
-
Appendix A Standard JSF Tag Libraries
-
JSF Tag Libraries URIs and Default Prefixes
-
HTML Tag Library Actions
-
Core Library Actions
-
-
Appendix B JSF Expression Language Reference
-
Syntax
-
Variables
-
Data Types
-
Expressions and Operators
-
-
Appendix C Standard JSF Components and Render Kits
-
Component Class Categories
-
Render-Independent Components
-
HTML Render Kit Classes
-
HTML-Specific Component Classes
-
Request Processing Lifecycle
-
-
Appendix D Infrastructure API Reference
-
Package javax.faces
-
Package javax.faces.application
-
Package javax.faces.context
-
Package javax.faces.convert
-
Package javax.faces.el
-
Package javax.faces.event
-
Package javax.faces.lifecycle
-
Package javax.faces.render
-
Package javax.faces.validator
-
Package javax.faces.webapp
-
Identifiers for Standard JSF Messages
-
-
Appendix E JSF Configuration File Reference
-
Appendix F Web Application Structure and Deployment Descriptor Reference
-
Web Application File Structure
-
Web Application Deployment Descriptor
-
Creating a WAR File
-
-
Colophon
- Title:
- JavaServer Faces
- By:
- Hans Bergsten
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- April 2004
- Ebook Release:
- June 2009
- Pages:
- 608
- Print ISBN:
- 978-0-596-00539-9
- | ISBN 10:
- 0-596-00539-3
- Ebook ISBN:
- 978-0-596-10424-5
- | ISBN 10:
- 0-596-10424-3
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of JavaServer Faces is a Barbary ape (Macaca sylvanus). Despite its name, the Barbary ape is a monkey found in Algeria, Gibraltar, and Morocco, on the plains and in cedar and oak forests. Barbary apes are equally comfortable on the ground and in the trees. These tail-less macaques live in groups with multiple adults led by dominant females. Unlike most other monkeys, the males play an active role in caring for and playing with the young. Their fur is yellowish grey and brown with a pale underside; their diet consists of fruit, leaves, roots, and insects.
Barbary apes have played an interesting role in the political history of their environment: legend has it that Britain will never lose control of the Rock of Gibraltar while the Barbary apes remain in residence. For a time, the Barbary apes on Gibraltar were the responsiblity of the British Army; they even received medical care from the military hospital. Winston Churchill replenished the monkeys' population in 1942. The Barbary apes are Europe's only free-range monkeys, and their homes (Gibraltar, Morocco, and Algeria) have historically functioned as politically fraught transition areas between Europe and the Middle East. Apparently, the Barbary apes' pink faces have served to make them a resonant symbol of European imperialism. Colleen Gorman was the production editor and copyeditor for JavaServer Faces. Sarah Sherman was the proofreader. Mary Anne Weeks Mayo, and Claire Cloutier provided quality control. Mary Agner and Jamie Peppard provided production support. Johnna VanHoose Dinse wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Library of Natural History, Volume V. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Colleen Gorman.
