JavaServer Faces View Larger Image | Hans Bergsten O'Reilly Media, Paperback, Published April 2004, 589 pages, ISBN 0596005393 | List Price: $39.95 Our Price: $23.95 You Save: $16.00 (40% Off)
| | | Availability: Out-Of-Stock |
Customer Reviews: 1 Average Customer Rating:      Write a Review and tell the world about this title! People who purchase this book frequently purchase: - Enterprise JavaBeans 3.0, 5th Edition; Richard Monson-Haefel, et al, $29.95, 40% Off!
- JavaServer Pages, 3rd Edition; Hans Bergsten, $26.95, 40% Off!
- Ant: The Definitive Guide, 2nd Edition; Steve Holzner, $20.95, 40% Off!
- Hibernate in Action; Christian Bauer, et al, $26.95, 40% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
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
JavaServer Faces is a complete guide to the crucial new JSF technology.
If you develop web applications, JSF belongs in your toolkit, and this book
belongs in your library.
Table of Contents
Preface
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
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
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
4. Servlet and JavaServer Pages Basics
HTTP
Web Application Deployment and Runtime Environment
Servlets, Filters, and Listeners
JavaServer Pages
Accessing Application Data
5. Developing the Business Logic and Setting Up Authentication
Sample Application Overview
Implementing the Business Logic Classes
Authentication and Authorization
6. Creating and Rendering Components
The Basics
Binding Components to Model Properties
Conditionally Render Components
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
8. Handling Events
Understanding the JSF Event Model
Handling Application Backend Events
Handling User Interface Events
9. Controlling Navigation
Moving Between JSF Views
Returning a Non-JSF View Response
Returning a JSF View Response to a Non JSF Request
10. Working with Tabular Data
Displaying a Read-Only Table
Processing Row-Specific Events
Dealing with Large Tables
Editing Tabular Data
11. Internationalization
Localizing Application Output
Handling Localized Application Input
Dealing with Non-Western Languages
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
13. Developing Custom Renderers and Other Pluggable Classes
Developing Custom Renderers
Using Other Custom Classes
Packaging Custom Classes
14. Developing Custom Components
Extending an Existing Component
Developing a New Component from Scratch
15. Developing a Custom Presentation Layer
The ViewHandler Class
Using Java Classes as Views
Using Pure HTML Templates with XML View Definition Files
A. Standard JSF Tag Libraries
B. JSF Expression Language Reference
C. Standard JSF Components and Render Kits
D. Infrastructure API Reference
E. JSF Configuration File Reference
F. Web Application Structure and Deployment Descriptor Reference
Index
About the Author
Hans Bergsten is the founder of Gefion Software, a company focused on Java
services and products based on the J2EE technlogies. Hans has been an active
participant in the workinggroups for both the servlet and JSP specifications
from the time they were formed. He also contributes to other related JCP specifications,
such as JSP Standard Tag Libraries (JSTL), and helped get the development of the
Apache Tomcat reference implementation for servlet and JSP started as one of the
initial members of the Apache Jakarta Project Management Committee.
Customer Reviews
Customer Reviews: 1 Average Customer Rating:      Jun 28, 2004     Steve Bang (sbang@informactive.com) from San Jose, CA (USA) Terrific book for learning JSF If you want to learn JavaServer Faces, this is the book to choose. As an active member of three important JCP expert groups (JSF, JSP, and JSTL), Hans can share insights into JSF and its use that few other authors can. Notably, Hans is also the author of three editions of the popular O'Reilly book, JavaServer Pages. Like his other books, this book contains clear explanations and best practices based on his experience.
Unlike many other JSF books, this book includes accurate, up-to-date information since it was intentionally published AFTER the JSF 1.0 final specification was released. Hans clearly explains the JSF UI framework, how events are handled, authentication, navigation, how to work with tabular data, how to use JSF with Struts, internationalization, and input validation. I particularly like how Hans clearly explains the relationship between the JSF custom tag libraries and the JSF Java API. Hans book also explains how to extend existing JSF components and build your own custom components.
On various mailing lists, Hans regularly answers questions for those who are stumbling on learning JSP, JSTL, and now JSF. Hans' passion to teach is evident in his efforts to clearly explain important concepts and how they can be applied using best practices. Over the past few years, Hans has helped me immeasurably in learning JSP, JSTL, and now JSF. If you can't find an answer in his book, you can post your questions online and Hans is likely to answer. Buy this book - you can't go wrong.
|