File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: JSF2 Ajax VS RichFaces 4 Ajax
It's not a secret anymore!