my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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: 15960

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
Similar Threads
JSF 2.0 ajax support
JSF render continously
JSF page refresh triggered from database
Creating "Domino effect" with Ajax for JSF 2.0
How to work with commandLink in tree (my-faces Tomahawk) ?