This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes JSF2 Ajax VS RichFaces 4 Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSF
Bookmark "JSF2 Ajax VS RichFaces 4 Ajax" Watch "JSF2 Ajax VS RichFaces 4 Ajax" New topic

JSF2 Ajax VS RichFaces 4 Ajax

Marcos Vidolin

Joined: May 10, 2011
Posts: 28
Hi everyone,

Can you help me in a question, please.
What's the difference in JSF2 Ajax and RichFaces Ajax?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16458

RichFaces Ajax was created before JSF2 was released. In fact, originally, it was a separate product in its own right (a4j).

RichFaces Ajax has 2 benefits and 1 liability.

The benefits:

Works on older JSF systems (1.2 and 1.1).
Simple to use.

The liability:
Requires RichFaces as an addition to the webapp. As opposed to JSF2's own AJAX, which is built in.

I haven't actually tried JSF2 AJAX yet, since all my currently-active projects have RichFaces in them. My impression is that JSF2 AJAX is clumsier to code, but since I have no practical experience in it, that may be a misconception. And considering all the options that RichFaces provides on its AJAX-supported tags, others may hold the exact opposite opinion.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: JSF2 Ajax VS RichFaces 4 Ajax