File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Is PrimeFaces the best JSF Component Library? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Is PrimeFaces the best JSF Component Library?" Watch "Is PrimeFaces the best JSF Component Library?" New topic
Author

Is PrimeFaces the best JSF Component Library?

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi,

I've been exploring Primefaces components for sometime and I am impressed with the responsiveness of the tool.
Just would like to ask from ranchers here if they would recommend this?

I havent check Richfaces/MyFaces or Icefaces though.

Thanks


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16020
    
  20

My standard answer to "best" is

It's right up there with binary political ideologies and other over-simplifications that should have been discarded once the participants reached the age of 16 years (and alas, too often aren't).

If I had to pick the top 3 contenders for JSF enhancements currently in play at the JavaRanch, they'd be IceFaces, RichFaces and PrimeFaces. Although we do have people using Oracle ADF and Apache's extensions as well. I've been spending all my time lately in RichFaces and I find it suitable for my needs. Which is what really counts.

What's "best" is what's optimal for you and the job you need it for. However, in the Real World, you often end up with what someone else imposes on you.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ted Smyth
Ranch Hand

Joined: May 28, 2008
Posts: 73
Mark Reyes wrote:Hi,

I've been exploring Primefaces components for sometime and I am impressed with the responsiveness of the tool.
Just would like to ask from ranchers here if they would recommend this?

I havent check Richfaces/MyFaces or Icefaces though.

Thanks


I can only provide input on PrimeFaces, but I think it's a really great set of components and is actively developed and maintained. I recommend it. Over the other two? I can't say, having had no experience with them.


Edward Smith
gonzalad luis
Greenhorn

Joined: Sep 07, 2011
Posts: 1
I've mostly used Richfaces (for real projects) and Primefaces (for samples / demos).
Both are fine.
Check the demos and pick the library you prefer (http://www.primefaces.org/showcase-labs/ui/home.jsf, http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf).

If you like google trends, you can check http://www.google.com/trends?q=primefaces%2Crichfaces%2Cicefaces&ctab=0&geo=all&date=all&sort=0

Primefaces
Pace of evolution is really quick (the fastest one) - quite amazing.
From what I've seen classic use cases are simpler with Primefaces.
For instance, look at the selection feature in dataTable and the related java code :
* Primefaces (http://www.primefaces.org/showcase-labs/ui/datatableRowSelectionMultiple.jsf)
* Richfaces (http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=extendedDataTable&sample=exTableSelection&skin=blueSky)
Same thing for database pagination (primefaces LazyDataModel is trivial to implement).
If you're interested in theming, you can use jQuery UI themeRoller with PF.
Also, if you're looking into mobiles (iPhone look), you can use Primefaces mobile components (included in primefaces.jar).
http://www.primefaces.org/showcase-labs/mobile/index.jsf
Primefaces 3 isn't finished, but it's stable start your development.
PF 3 RC is going to be delivered end of November.

Richfaces
Backed by JBoss.
Richfaces 4.0 hasn't all the components included in RF 3. But it's gonna to be corrected in RF 4.1 (actually in milestone).
Fine component library, didn't have too much issues (only with extendedDataTable or scrollabeDataTable in RF 3.x).
So it's a fine choice also.

About Icefaces
Some time ago (one year ?) Icefaces appeared to be less performant than the other 2 libraries (see http://www.hightechno.info/2011/05/primefaces-vs-richfaces-vs-icefaces.html).
Since JSF is already no friend of performance, I stayed out of this library.
Didn't looked at it lately though.

Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 530
    
    5

I'm restoring a blog post that links to the showcase for references, it'll be completed tonight:

JSF Component Library Showcases
http://robertjliguori.blogspot.com/2014/04/jsf-component-library-showcases.html


My Blog (I frequently post on Java, JSF and NetBeans)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is PrimeFaces the best JSF Component Library?