Pro JSF and Ajax: Building Rich Internet Components / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (21) from $1.99   
  • New (8) from $18.99   
  • Used (13) from $1.99   


Pro JSF and Ajax shows you how to leverage the full potential of JavaServer Faces (JSF) and Ajax. This is not an entry-level tutorial, but a book about building Ajax-enabled JSF components for sophisticated, enterprise-level rich Internet applications. Written by JSF experts and verified by established community figures including Adam Winer (member of the JSF Expert Group, Java Champion), Kito D. Mann ( and JSF in Action), and Matthias Weßendorf (MyFaces), this JSF 5-compatible book provides reliable and groundbreaking JSF components to help you exploit the power of JSF in your Java web applications.

This book provides a blueprint for building custom JSFuser interfacecomponents and shows how to leverage the best browser technologies, such as Ajax, Mozilla XUL and Microsoft HTC, to deliver rich Internet applications.

This book covers standard best practices for behavioral and renderer-specific component classes, renderers, events and event listeners, and JSP tag handlers for each. It also covers advanced techniques such as dynamic content type negotiation, JAR-based resource delivery, and dynamic render kit selection.


"Does the world really and truly need another JavaServer Faces book?

I was fairly well convinced the answer could only be a resounding 'no!' After all, there’s a good half dozen books out in stores today, by a whole host of web luminaries, and I’ve even personally helped as a technical reviewer on half of those. So what more could really be said on the subject?

But when I thought about this a bit more, it became clear that all of these books only go so far. They’ll show you how to use what JSF gives you out of the box, throw you a bone for writing your own components and renderers, maybe even a bit more. But none that I’ve seen get to the heart of why JSF is really and truly cool and important technology; they make JSF look like YAMVCF (Yet Another Model-View-Controller Framework) for HTML—more powerful here and there, easier to use in many places, a bit harder to use in others, but really nothing major. And certainly nothing that takes us beyond the dull basics of building ordinary-looking web applications.

This book goes a lot further. It’ll cover the basics, of course, and show you how to build components, but then it keeps going: on to AJAX, on to HTC, on to XUL—and how you can wrap this alphabet soup up underneath the heart of JSF, its component model, and how you can leverage it to finally develop web applications that don’t need radical re-architecting every time the winds of client technologies blow in a different direction. Along the way, you’ll learn a wide array of open source toolkits that make web magic practical even when you're not a Javascript guru.

So, heck, I’m convinced. The world does need another JSF book."

—Adam Winer, Architect, ADF Faces, JSF Expert Group Member, and Java Champion. (From the Foreword)

Table of Contents

  1. The Foundation of JSF: Components
  2. Defining the Date Field Component
  3. Defining the Deck Component
  4. Using Rich Internet Technologies
  5. Loading Resources with Weblets
  6. Ajax Enabling the Deck Component
  7. Ajax Enabling the Date Field Component
  8. Providing Mozilla XUL Renderers
  9. Providing Microsoft HTC Renderers
  10. Switching RenderKits Dynamically
Read More Show Less

Product Details

  • ISBN-13: 9781590595800
  • Publisher: Apress
  • Publication date: 2/16/2006
  • Series: Expert's Voice in Java Series
  • Edition number: 1
  • Pages: 464
  • Product dimensions: 9.25 (w) x 7.50 (h) x 0.94 (d)

Meet the Author

Jonas Jacobi is a J2EE and open source evangelist at Oracle. A native of Sweden, Jonas has worked in the software industry for more than 15 years. Prior to joining Oracle, Jonas worked at several major Swedish software companies in management, consulting, development, and project management roles. For the past three years, Jonas has been responsible for the product management of JavaServer Faces, Oracle ADF Faces, and Oracle ADF Faces Rich Client in the Oracle JDeveloper team.

John R. Fallows is a JavaServer Faces technology architect at Oracle. Originally from Northern Ireland, John graduated from Cambridge University in the U.K. and has worked in the software industry for more than 10 years. Prior to joining Oracle, John worked as a research scientist for British Telecommunications Plc. For the past four years, John has played a leading role in the Oracle ADF Faces team to influence the architecture of the JavaServer Faces standard and to extend the standard to provide Ajax functionality in the ADF Faces project.

Read More Show Less

Table of Contents

Ch. 1 The foundation of JSF : components 3
Ch. 2 Defining the date field component 49
Ch. 3 Defining the deck component 105
Ch. 4 Using rich Internet technologies 173
Ch. 5 Loading resources with Weblets 213
Ch. 6 Ajax enabling the deck component 223
Ch. 7 Ajax enabling the date field component 267
Ch. 8 Providing Mozilla XUL renderers 303
Ch. 9 Providing Microsoft HTC renderers 361
Ch. 10 Switching RenderKits dynamically 403
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)