aspose file tools*
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
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: 16250
    
  21

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF2 Ajax VS RichFaces 4 Ajax