Book description
JavaServer Faces (JSF) is quickly emerging as the leading solution for rapid user interface development in Java-based server-side applications. Now, Core JavaServer™ Faces–the #1 guide to JSF–has been thoroughly updated in this second edition, covering the latest feature enhancements, the powerful Ajax development techniques, and open source innovations that make JSF even more valuable.
Authors David Geary and Cay Horstmann delve into all facets of JSF 1.2 development, offering systematic best practices for building robust applications, minimizing handcoding, and maximizing productivity. Drawing on unsurpassed insider knowledge of the Java platform, they present solutions, hints, tips, and “how-tos” for writing superior JSF 1.2 production code, even if you’re new to JSF, JavaServer Pages™, or servlets.
The second edition’s extensive new coverage includes: JSF 1.2’s improved alignment with the broader Java EE 5 platform; enhancements to the JSF APIs; controlling Web flow with Shale; and using Facelets to replace JSP with XHTML markup. The authors also introduce Ajax development with JSF–from real-time validation and Direct Web Remoting to wrapping Ajax in JSF components and using the popular Ajax4jsf framework.
This book will help you
Automate low-level details and eliminate unnecessary complexity in server-side development
Discover JSF best practices, ranging from effective UI design and style sheets to internationalization
Use JSF with Tiles to build consistent, reusable user interfaces
Leverage external services such as databases, LDAP directories, authentication/authorization, and Web services
Use JBoss Seam to greatly simplify development of database-backed applications
Implement custom components, converters, and validators
Master the JSF 1.2 tag libararies, and extend JSF with additional tag libraries
Preface
Acknowledgments
Chapter 1: Getting Started
Chapter 2: Managed Beans
Chapter 3: Navigation
Chapter 4: Standard JSF Tags
Chapter 5: Data Tables
Chapter 6: Conversion and Validation
Chapter 7: Event Handling
Chapter 8: Subviews and Tiles
Chapter 9: Custom Components, Converters, and Validators
Chapter 10: External Services
Chapter 11: Ajax
Chapter 12: Open Source
Chapter 13: How Do I . . .
Index
Table of contents
- Copyright
- Preface
- Acknowledgments
- 1. Getting Started
- 2. Managed Beans
- 3. Navigation
- 4. Standard JSF Tags
- 5. Data Tables
-
6. Conversion and Validation
- Overview of the Conversion and Validation Process
- Using Standard Converters
- Using Standard Validators
- Programming with Custom Converters and Validators
- 7. Event Handling
- 8. Subviews and Tiles
- 9. Custom Components, Converters, and Validators
- 10. External Services
- 11. Ajax
- 12. Open Source
-
13. How Do I ...
-
Web User Interface Design
- How Do I Find More Components?
- How Do I Support File Uploads?
- How Do I Show an Image Map?
- How Do I Include an Applet in My Page?
- How Do I Produce Binary Data in a JSF Page?
- How Do I Show a Large Data Set, One Page at a Time?
- How Do I Generate a Pop-up Window?
- How Do I Selectively Show and Hide Components?
- How Do I Customize Error Pages?
- Validation
-
Programming
- How Do I Use JSF with Eclipse?
- How Do I Locate a Configuration File?
- How Can a JSF Component Access Resources From a JAR File?
- How Do I Package a Set of Tags into a JAR File?
- How do I Get the Form ID for Generating document.forms[id] in JavaScript?
- How Do I Make a JavaScript Function Appear Only Once Per Page?
- How Do I Carry Out Initialization or Cleanup Work?
- How Do I Store a Managed Bean Longer than Request Scope But Shorter Than Session Scope?
- How Do I Extend the JSF Expression Language?
-
Debugging and Logging
- How Do I Decipher a Stack Trace?
- How Do I Avoid the âStack Trace From Hellâ?
- How Do I âHot Deployâ My Application?
- How Do I Comment Out a Part of a JSF Page?
- How Do I Find the Logs?
- How Do I Find Out What Parameters My Page Received?
- How Do I Turn on Logging of the JSF Container?
- How Do I Debug a Stuck Page?
- How Do I Find the Library Source?
-
Web User Interface Design
Product information
- Title: Core JavaServer Faces, Second Edition
- Author(s):
- Release date: May 2007
- Publisher(s): Pearson
- ISBN: 9780131738867
You might also like
book
Core JavaServer™ Faces
JavaServer Faces (JSF) is the standard Java EE technology for building web user interfaces. It provides …
book
JavaServer Faces
JavaServer Faces, or JSF, brings a component-based model to web application development that's similar to the …
book
JavaServer Pages, 3rd Edition
JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, …
book
Beginning JavaServer Pages™
JSP is one of the core technologies for server-side Java applications and the 2.0 release, which …