Core JavaServer Faces, 2/E
ISBN-10: 0131738860
ISBN-13: 9780131738867
Publisher: Prentice Hall
Copyright: 2007
Format: Paper; 752 pp
Published: 05/09/2007
Status: Out of Stock

Table of Contents
Why JavaServer Faces? 3
Software Installation 4
A Simple Example 6
Sample Application Analysis 12
Development Environments for JSF 21
JSF Framework Services 28
Behind the Scenes 30
Definition of a Bean 37
Message Bundles 42
A Sample Application 46
Backing Beans 53
Bean Scopes 54
Configuring Beans 57
The Syntax of Value Expressions 64
Static Navigation 71
Dynamic Navigation 73
Advanced Navigation Issues 84
An Overview of the JSF Core Tags 92
An Overview of the JSF HTML Tags 94
Forms 103
Text Fields and Text Areas 108
Buttons and Links 119
Selection Tags 130
Messages 157
Panels 163
The Data Table Tag—h:dataTable 171
A Simple Table 173
Headers, Footers, and Captions 178
JSF Components 182
Editing Table Cells 186
Styles 189
Database Tables 191
Table Models 197
Scrolling Techniques 214
Overview of the Conversion and Validation Process 219
Using Standard Converters 221
Using Standard Validators 233
Programming with Custom Converters and Validators 240
Life Cycle Events 268
Value Change Events 269
Action Events 275
Event Listener Tags 285
Immediate Components 287
Passing Data from the UI to the Server 291
Phase Events 295
Putting It All Together 303
Common Layouts 315
A Book Viewer and a Library 316
The Book Viewer 318
Content Inclusion in the Book Viewer 328
The Library 339
Classes for Implementing Custom Components 356
Encoding: Generating Markup 362
Decoding: Processing Request Values 366
Implementing Custom Component Tags 372
Revisiting the Spinner 387
Encoding JavaScript to Avoid Server Roundtrips 404
Using Child Components and Facets 408
Implementing Custom Converters and Validators 432
Database Access with JDBC 451
Configuring a Data Source 457
An Introduction to LDAP 473
Managing Configuration Information 483
Container-Managed Authentication and Authorization 505
Using Web Services 516
Ajax Fundamentals 530
JavaScript Libraries 533
Form Completion 534
Realtime Validation 537
Propagating Client-Side View State 542
Direct Web Remoting 543
Ajax Components 546
Ajax4jsf 554
Web Flow—Shale 572
Alternate View Technologies—Facelets 585
EJB Integration—Seam 596
Web User Interface Design 611
Validation 658
Programming 669
Debugging and Logging 684
Courses
Java -- Intermediate / Advanced Programming
[PTG: PRENTICE HALL PROFESSIONAL]
(Computer Science)
Previous Edition(s)
Next Edition(s)
Author Bios
David Geary, who worked at Sun Microsystems from 1994 through 1997, was a member of the JSF 1.0 Expert Group. He is president of Clarity Training Inc., a training and consulting company focusing on server-side Java technology, and is the author of eight books on Java technology, including the best-selling Graphic Java™ 2 series, Advanced JavaServer Pages, and Google™ Web Toolkit Solutions (all from Prentice Hall). David was also a member of the JSTL Expert Group, was the Second Apache Struts committer, and wrote questions for Sun's Web Developer Certification Exam. David is a regular speaker on the popular No Fluff Just Stuff tour and is a JavaOne Rock Star, by virtue of his Shale Presentation with Craig McClanahan in 2005.
Cay S. Horstmann is a professor of computer science at San Jose State University. He has served as vice president and chief technology officer of Preview Systems Inc., and as a consultant on C++, Java, and Internet programming for major corporations, universities, and organizations. Cay is also the author of the classic Core Java™ books.
Backcover Copy
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
Log in to the Instructor Resource Center
Login name:
Password:
Forgot login/password? | Need to redeem an access code?
Instructor Resource Center File Download
This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.| Cancel | I accept, proceed with download |
Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.