Book description
JavaServer Faces, or JSF, brings a component-based model to web application development that's similar to the model that's been used in standalone GUI applications for years. The technology builds on the experience gained from Java Servlets, JavaServer Pages, and numerous commercial and open source web application frameworks that simplify the development process.In JavaServer Faces, developers learn how to use this new framework to build real-world web applications. The book contains everything you'll need: how to construct the HTML on the front end; how to create the user interface components that connect the front end to your business objects; how to write a back-end that's JSF-friendly; and how to create the deployment descriptors that tie everything together.JavaServer Faces pays particular attention to simple tasks that are easily ignored, but crucial to any real application: working with tablular data, for example, or enabling and disabling buttons. And this book doesn't hide from the trickier issues, like creating custom components or creating renderers for different presentation layers. Whether you're experienced with JSF or a just starting out, you'll find everything you need to know about this technology in this book.Topics covered include:
- The JSF environment
- Creating and rendering components
- Validating input
- Handling user-generated events
- Controlling page navigation
- Working with tabular data
- Internationalization
- Integration between JSF and Struts
- Developing custom renderers and custom components
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
- 1. Introducing JavaServer Faces
- 2. JSF Development Process Overview
- 3. Setting Up the JSF Environment
- 4. Servlet and JavaServer Pages Basics
- 5. Developing the Business Logic and Setting Up Authentication
- 6. Creating and Rendering Components
- 7. Validating Input
- 8. Handling Events
- 9. Controlling Navigation
- 10. Working with Tabular Data
- 11. Internationalization
- 12. Odds and Ends
- 13. Developing Custom Renderers and Other Pluggable Classes
- 14. Developing Custom Components
- 15. Developing a Custom Presentation Layer
- A. Standard JSF Tag Libraries
- B. JSF Expression Language Reference
- C. Standard JSF Components and Render Kits
-
D. Infrastructure API Reference
- D.1. Package javax.faces
- D.2. Package javax.faces.application
- D.3. Package javax.faces.context
- D.4. Package javax.faces.convert
- D.5. Package javax.faces.el
- D.6. Package javax.faces.event
- D.7. Package javax.faces.lifecycle
- D.8. Package javax.faces.render
- D.9. Package javax.faces.validator
- D.10. Package javax.faces.webapp
- D.11. Identifiers for Standard JSF Messages
- E. JSF Configuration File Reference
-
F. Web Application Structure and Deployment Descriptor Reference
- F.1. Web Application File Structure
-
F.2. Web Application Deployment Descriptor
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- Reference Section
- F.2.1. Example Application Deployment Descriptor
- F.3. Creating a WAR File
- About the Author
- Colophon
- Copyright
Product information
- Title: JavaServer Faces
- Author(s):
- Release date: April 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596005399
You might also like
book
JavaServer Faces 2.0, The Complete Reference
The Definitive Guide to JavaServer Faces 2.0 Fully revised and updated for all of the changes …
book
Wydajność Javy
W tej książce opisano wiele funkcjonalności, narzędzi i procedur, dzięki którym można poprawić efektywność kodu napisanego …
book
Core JavaServer Faces, Second Edition
JavaServer Faces (JSF) is quickly emerging as the leading solution for rapid user interface development in …
book
JavaServer Faces: Introduction By Example
This book is about using JavaServer Faces to create and deploy interactive applications delivered to end …