Practical RichFaces and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Like New See details
$5.95 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Practical RichFaces
 
 
Start reading Practical RichFaces on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Practical RichFaces [Paperback]

Max Katz (Author)
3.6 out of 5 stars  See all reviews (11 customer reviews)

Price: $39.99 & this item ships for FREE with Super Saver Shipping. Details
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Wednesday, May 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $31.19  
Paperback $39.99  
There is a newer edition of this item:
Practical RichFaces Practical RichFaces 4.0 out of 5 stars (1)
$40.45
In Stock.

Book Description

December 16, 2008 1430210559 978-1430210559 1

JBoss RichFaces is a rich JavaServer Faces (JSF) component library that helps developers quickly develop next–generation web applications. Practical RichFaces describes how to best take advantage of RichFaces, the integration of the Ajax4jsf and RichFaces libraries, to create a flexible and powerful programs. Assuming some JSF background, it shows you how you can radically reduce programming time and effort to create rich Ajax-based applications.

What you’ll learn

  • Quickly learn how to build rich Internet applications with out–of–the–box RichFaces components.
  • Discover best strategies for implementing Ajax applications using RichFaces.
  • Find out when best to use the two libraries.
  • Create new skins for your app in no time.
  • Create applications without needing to write any JavaScript code.

Who this book is for

Java developers with knowledge of JSF looking to build next–generation web applications using RichFaces, JSF users, Java programmers wishing to add Ajax to their existing programs, and old users of Ajax4jsf.

Table of Contents

  1. Introduction
  2. Quick Start with JBoss RichFaces
  3. RichFaces Basic Concepts
  4. More a4j: Tags, Concepts, and Features
  5. Input Components
  6. Output Components
  7. Data Iteration Components
  8. Selection Components
  9. Menu Components
  10. Scrollable Data Table and Tree
  11. Skins

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Practical RichFaces + Core JavaServer Faces (3rd Edition) + JavaServer Faces 2.0, The Complete Reference
Price For All Three: $104.07

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Core JavaServer Faces (3rd Edition) $36.12

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • JavaServer Faces 2.0, The Complete Reference $27.96

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Max Katz is a Senior Systems Engineer and Developer Advocate at Exadel. Max is a well-known speaker appearing at many conferences, webinars, and JUG meetings.   
Max leads Exadel’s RIA and mobile strategy. Part of this role is working as the Developer Advocate for Tiggr Mobile Apps Builder (gotiggr.com), a cloud-based application for building mobile Web and native apps for any device. In addition, Max leads Exadel’s open source projects (exadel.org) such as Fiji, Flamingo, and JavaFX Plug-in for Eclipse.   
Max has been involved with RichFaces since its inception, publishing numerous articles, providing consulting and training, and authoring the book “Practical RichFaces” (Apress, 2008). Max also co-authored the DZone RichFaces 3 Refcard and the DZone RichFaces 4 Refcard. You can find Max's writings about RIA and mobile technologies on his blog, mkblog.exadel.com, and you can find his thoughts about these topics and others on Twitter at @maxkatz.   
Max holds a Bachelor of Science in Computer Science from the University of California, Davis and an MBA from Golden Gate University.

Product Details

  • Paperback: 264 pages
  • Publisher: Apress; 1 edition (December 16, 2008)
  • Language: English
  • ISBN-10: 1430210559
  • ISBN-13: 978-1430210559
  • Product Dimensions: 7.5 x 9.2 x 0.6 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #880,797 in Books (See Top 100 in Books)

Customer Reviews

Most Helpful Customer Reviews
7 of 7 people found the following review helpful
Format:Paperback
For as big an impact RichFaces and Ajax4jsf have had on JSF adoption, there's no question that there has been a dearth of good documentation on the subject. So how practice is RichFaces, really? That's the question Max Katz answers in his recently released Apress book, Practical RichFaces. At last, the missing manual has been discovered!

If you have ever perused the RichFaces documentation, you'll agree that it leaves out the bigger picture of how RichFaces works, in particular the underlying Ajax4jsf mechanism (i.e., the behavior provided by <a4j:support>). I can attest to the observation the author states in the introduction that a lot of developers are using the tags and attributes from RichFaces without a clear understanding of their purpose and, as such, only arrive at a working application through trial and error. After reading Practice RichFaces, and keeping it close at hand, you can finally put those painstaking steps aside and know what you are doing from the start.

The book starts out with one of the most clear and concise explanations of JSF that I have come across. You learn that Ajax and JSF are a good fit for one another and the combination allows you to do Ajax without having to suffer the headache of coding JavaScript and dealing with browser inconsistencies.

The author then sets the record straight about the origins of RichFaces and its relationship with Ajax4jsf. You learn that there is a clear distinction between the tags in the a4j: and rich: namespaces. Specifically, the a4j: tags provide page-level Ajax support whereas the rich: tags provide component-level Ajax support. As you learn about both tag sets, you begin to appreciate how easily you can add Ajax and partial page updates to your application using RichFaces. You can practically feel yourself maturing as a developer and eager to start adding more sophisticated user interfaces that give your application a desktop feel.

If you are seeking answers to specific questions you have about certain Ajax4jsf tags, I can assure you that you will find them in this book. Let me cite a couple of examples. Early on in the book, the author provides an explanation as to why content that was not rendered on an initial request cannot be rendered during a partial page update without a placeholder. This is a common problem that comes up as soon as the developer tries to use Ajax for input field validation. There is good coverage of the ajaxKeys attribute for updating individual rows in a UIData component, a very compelling feature of RichFaces in terms of performance. You also learn how to use the <a4j:include> tag to create a wizard in a single-page application while still being able to leverage the JSF navigation rules.

Most important of all, you learn about the multitude of options you have to control the Ajax request, such as explicitly marking which regions of the page to update or instructing a region to update itself automatically on any Ajax request, adding an activity indicator to show when an Ajax request is in progress, submitting only a part of the form (i.e, processing only a subset of UIInput components on the server), bypassing model updates, queuing Ajax requests to avoid flooding the server, and discarding duplicate page updates. You even learn how to create a JavaScript function which behind the scenes executes a method on the server and subsequently performs a partial page update, separating the Ajax4jsf mechanism from any one component.

Although I have been using RichFaces for several years, I learned many things about RichFaces and even corrected some mistaken assumptions I had.

You are constantly reminded in the book that skinning is covered in chapter 11, almost to the point where you want to just skip to the chapter and get it over with. The coverage of skinning is pretty good, though a thorough explanation of the XCSS files and how they tie into the theme is sorely missed. There are other important areas of RichFaces that didn't make it into this book. There is no coverage of the drag and drop components nor, as mentioned earlier, the resource delivery framework. The section on developing a custom tree is fairly thin and, coming from experience, it turns out to be a lot more difficult than it appears. So while this book serves as a vital resource for understanding the fundamentals of how RichFaces works, there is still room for a book further along in the progression.

Despite providing a clear picture of how RichFaces works, the book has a number typos, broken grammar, incorrect code formatting, and mixed up code and diagram references, sadly a shortcoming of the RichFaces developer documentation as well. Likely you'll be able to read around the mistakes, though, and understand what was intended. I just wish more care had been taken to polish the manuscript and the code listings.

While Practical RichFaces is an excellent resource if you are developing an application using RichFaces, or you want to add Ajax capability to an existing JSF application, do not expect to find the information you need if you are planning to develop custom RichFaces components. The book lacks coverage of the RichFaces Component Development Kit (CDK) and the excellent resource delivery mechanism in RichFaces that supplies the assets (images, JavaScript, CSS) needed by the rich components. For this reason, the target audience of this book should be identified as the application developer, not the component developer, citing roles defined in the JSF specification.

As well as the author does explaining the concepts, tags, and tag attributes in RichFaces, the fact remains that RichFaces has several bizarre tag and attribute names that cause confusion for the developer. One example is the <a4j:keepAlive> tag. Keep-Alive is an HTTP header that specifies to the browser how to control the connection. But the tag has nothing to do with this header. This tag stores the value resolved by a value expression in the UI component tree so that it's available on postback. This is just one example of how RichFaces is a bit rough around the edges. I'm hopeful that RichFaces 4 will align the excellent concepts in RichFaces under a better naming strategy. Of course, given that the names are not always intuitive, it makes this book an even more critical resource to you as a developer.

Looking beyond these technicalities aside, it's my recommendation that if you are using RichFaces, you should definitely take the opportunity to read this book.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
I want to thank Max and crew for providing RichFaces, which is a great tool. I have used RichFaces on multiple projects and anticipate many more.

This book is not too bad. Happily, there is not much attention given to explaining Ajax or JSF/JSTL which has already been well addressed by other books. Also (a plus) it doesn't bulk up the page count by including the RichFaces documentation.

As other reviewers have mentioned, this book supplies a fair amount of missing detail. Good as far as it goes, but IMO it doesn't go far enough and this is why I only gave 4 stars.

File upload only recieved a few lines in the book, which is a surprise. I also thought the list components could have used more attention w/converters.

If you code using RichFaces it is helpful to skim this book. Hopefully the next edition will have more examples.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
Great book May 23, 2009
Format:Paperback
This book was even more than what I expected from it.

I have been working on a RichFaces for about a couple of months now, and I was really surprised how well everything I was missing got "connected". This practical/hands-on focus on solving real-world situations is what I really expected from this book, and it was totally fullfilled.

I liked the examples, and was able to follow them (even the ones with typos =P).

I also liked the communication skills from the author, making the reading really straightforward.

Thanks Max for your effort!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Not really impressed
Book is very light and no better than existing public documentation on JBoss's web site.
Published on February 11, 2010 by Vasile Grigoras
Reference Documentation
This book is a reference documentation for the richfaces components. Nothing more!!! It's not worth buying!
Published on May 26, 2009 by Ramazan YILDIRIM
The only book covering JBoss RichFaces
It is so sad that there was still no book on RichFaces, when I was starting. I was reading the Developer Guide, that was just a flat reference to the topic. Read more
Published on February 23, 2009 by Aram Paronikyan
Finally! a much-anticipated book on Richfaces
I have been doing Seam/Richfaces/JSF/EJB3 development for almost 2 years. I wish I had this book from the beginning. It covers RF 3.2. Read more
Published on February 21, 2009 by A. Sookazian
Nice Beginnig RichFaces Book
I think Max has done a great job, though the book could be better with the explanation of some more tags such as the fileUpload tag. Read more
Published on January 23, 2009 by Victor A
The best teach yourself RichFaces resource out there
Easy reading book. The book is laid out with the many small examples for each richfaces component. This is my favorite style of teaching a programming topic, as opposed to some... Read more
Published on January 20, 2009 by Robert F. Walker
A good book to get started with Richfaces
From a new users point of view this book is easy to read and has clear explanations of JSF and Richfaces basics. It is well written and worth buying. Read more
Published on January 19, 2009 by Jason Long
Straightforward Text and Examples
Well written, clear, concise book. I received it right after publication and Apress didn't have the example files available online, which was a bit frustrating, especially... Read more
Published on January 7, 2009 by Tech Addict
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
modal panel, tool tip content, metropolitan area ranking, alpha world city, populated major city, iteration components, ruby skin, phase listener, managed bean, menu components, panel header, controls facet, action listener, current human population, first capital city, custom skin, largest urban areas, component tree, tag library, output components, session scope
Key Phrases - Capitalized Phrases (CAPs): (learn more)
New York City, United States, United Airlines, Northwest Airlines, Toyota Avalon, American Airlines, San Francisco, Los Angeles, United Nations, The City of New York, Render Response, Golden Gate Bridge, Statue of Liberty, Developer Guide, Simple Tree, George Washington, Open File, Click Finish, Statue of Zeus, Ephesus Turkey Mausoleum of Maussollos, Hanging Gardens of Babylon, Pub Age, The Bronx, Temple of Artemis, Lighthouse of Alexandria
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(3)
(2)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject