Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


JavaServer Faces (JSF) is the standard Java EE technology for building web user interfaces. It provides a powerful framework for developing server-side applications, allowing you to cleanly separate visual presentation and application logic. JSF 2.0 is a major upgrade, which not only adds many useful features but also greatly simplifies the programming model by using annotations and “convention over configuration” for common tasks.

To help you quickly tap into the power of JSF 2.0, the third edition of Core JavaServer™ Faces has been completely updated to make optimum use of all the new features. The book includes

  • Three totally new chapters on using Facelets tags for templating, building composite components, and developing Ajax applications

  • Guidance on building robust applications with minimal hand coding and maximum productivity–without requiring any knowledge of servlets or other low-level “plumbing”

  • A complete explanation of the basic building blocks–from using standard JSF tags, to working with data tables, and converting and validating input

  • Coverage of advanced tasks, such as event handling, extending the JSF framework, and connecting to external services

  • Solutions to a variety of common challenges, including notes on debugging and troubleshooting, in addition to implementation details and working code for features that are missing from JSF

  • Proven solutions, hints, tips, and “how-tos” show you how to use JSF effectively in your development projects

Core JavaServer™ Faces, Third Edition, provides everything you need to master the powerful and time-saving features of JSF 2.0 and is the perfect guide for programmers developing Java EE 6 web apps on Glassfish or another Java EE 6-compliant application servers, as well as servlet runners such as Tomcat 6.

Subscriber Reviews

Average Rating: 4.6 out of 5 rating Based on 10 Ratings

"Very good!" - by jsm on 07-FEB-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Very complete.
Report as Inappropriate

"Decent JSF book" - by Steve on 03-MAY-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is most probably the best JSF 2.0 book available and, as someone new to JSF, it has been helpful to have differences between 1.2 and 2.0 clearly called out.

This book is, however, lacking in some important details. For example, it shows the reader how to make bookmarkable pages (process GET request parameters), but leaves the reader guessing as to how one might construct a form with method="get". There is no mention of EL goodies such as #{request.contextPath} to get the application's base URL. No mention of pretty URLs at all (which can be achieved with PrettyFaces or Mojarra Scales' PrettyUrlPhaseListener). There are many more details missing.

Overall, this book is a great place to start and, beyond that, a valuable reference that you'll keep coming back to. It's missing a few fundamental use cases, which can largely be put down to shortcomings in the specification itself and the fact that the book doesn't stray much from the core JSF subject matter to cover workarounds and third party tools that fill those gaps.

Report as Inappropriate

"Core JavaServer" - by Anonymous on 25-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Core JavaServer hm
Report as Inappropriate

"The best" - by Anonymous on 19-AUG-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Simply put. The best JSF book you can have
Report as Inappropriate

"I liked it... well organized" - by ifaces on 13-JUL-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I was looking all over to understand what JSF is and how different parts of JSF fit together. What is provided by Java EE and what is myFaces, trinidad, icefaces, ADF faces etc.

Nothing was making sense to me until I bought this book. This book is very simple to use and has organized JSF 2.0 features very well for beginners like me. Examples are pretty straight forward but cover almost all aspects of JSF.

With this book, I was able to understand what was in JSF 1.2 and what is in JSF 2.0. I had missed JSF 1.2 and starting with JSF 2.0 was challenging to me because 2.0 is not fully supported everywhere so most of the google search result int JSF 1.2 examples.

Now I would be able to follow add-on like ICEfaces, myFaces/Trinidad and ADF. And most importantly Java EE 6.0 which has JSF 2.0 along with all other annotations, e.g. JAX-WS, JPA 2.0, CDI etc.

I would recommend this book to one who is in same boat as I was.

Report as Inappropriate

Table of Contents