This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF2 Ajax VS RichFaces 4 Ajax" Watch "JSF2 Ajax VS RichFaces 4 Ajax" New topic
Author

JSF2 Ajax VS RichFaces 4 Ajax

Marcos Vidolin
Greenhorn

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: 15947
    
  19

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.
 
jQuery in Action, 2nd edition
 
subject: JSF2 Ajax VS RichFaces 4 Ajax
 
Similar Threads
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) ?
JSF render continously
JSF 2.0 ajax support