File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Questions about realtionship of base implementations and JSF libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Questions about realtionship of base implementations and JSF libraries" Watch "Questions about realtionship of base implementations and JSF libraries" New topic

Questions about realtionship of base implementations and JSF libraries

Peter Steiner

Joined: Mar 12, 2012
Posts: 1
Sorry for these newbie questions:

As far as I understand there are (only ?) two base implementation of the JSF spec: Sun RI and Apache MyFaces

1.) Can I use these base implementations on arbitrary application servers or are they tied (to which ?) applications servers?

2.) Are additional JSF libraries (e.g. RichFaces, IceFaces) only an add-on or can the replace completely the base implementation?

3.) Dó all additional libraries work with BOTH base implementations (mentioned above)?

4.) What is the "market share" (roughly) of the base implementations and libraries?

Thank you
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15661

Welcome to the JavaRanch, Peter!

There might be other implementations of the JSF base than the two that you've mentioned, but if so, I don't know them. I started out using Myfaces, but switched to Sun when it became more reliable. As far as things go, the 2 different implementations both cover the same standard, so they're supposed to be interchangeable. In any event, JEE servers have the JSF implementation integrated into the server (J2EE didn't). Once the implementation is provided by the server, it's pretty much a moot point except in cases where you have a need to override it.

The extension tagsets such as RichFaces, IceFaces, PrimeFaces, Apache Tomahawk, ADF, etc., etc., etc. are all extensions to the core and they neither conflict with, nor supplant/override the core JSF tags and classes. Although they may sometimes conflict with each other.

As to market share, I don't know. Locally, IceFaces is pretty popular, although my business is using RichFaces. We get a pretty even mix between RichFaces, IceFaces and PrimeFaces questions in this forum. Lately, RichFaces has been popular enough that people forget to mention what extension framework they're using, but that's hardly a scientific poll.

As in the case of IDEs, the really important question is "what are the people hiring in your town using?"

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Questions about realtionship of base implementations and JSF libraries
Similar Threads
I have doubt on jsf
jsf version and implementations
Beginner tutorial fail
Both MyFaces and the RI are on your classpath.