aspose file tools*
The moose likes JSF and the fly likes Compare Apache myFaces to JSF? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Compare Apache myFaces to JSF?" Watch "Compare Apache myFaces to JSF?" New topic
Author

Compare Apache myFaces to JSF?

Praful Gupta
Ranch Hand

Joined: May 01, 2006
Posts: 70
What would be some of the main differences between JSF and myFaces? Is it built on JSF?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

http://myfaces.apache.org/faq.html wrote: MyFaces is a family of projects related to the JavaServer Faces (JSF) specification published as part of the Java Community Process. The "core" project is an implementation of that specification. Other MyFaces projects implement related specifications (eg the Portlet Bridge), or add features to any JSF implementation (not just the Myfaces Core).

See the documentation within the various projects for further details.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

JSF after all is a specification that needs an implementation, Apache MyFaces is an implementation.
It is something like this:
jsf-api.jar
jsf-implementation.jar
Bart Kummel
author
Ranch Hand

Joined: Nov 30, 2007
Posts: 81
Hi John,

While you are correct in saying that MyFaces is a JSF implementation, MyFaces is not just a JSF implementation. The JSF standard is implemented by the MyFaces Core project. But MyFaces has a lot more sub projects, like the Trinidad and Tomahawk component sets, Orchestra, ExtVal and other extensions to the JSF standard.

Best regards,
Bart


SCJP 1.4 | SCJD 1.6 | Visit my website | Author of the book Apache MyFaces 1.2 Web Application Development
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Thanks Bart, I forgot about them
Wal Samaad
Greenhorn

Joined: Jan 20, 2010
Posts: 17
So whats the point, you all trying to make, we as novice dont get it, a standard specification and an implementation. my question is does a it make Myfaces better than using the java ServerFaces?
Bart Kummel
author
Ranch Hand

Joined: Nov 30, 2007
Posts: 81
Hi Wal,

If you're using MyFaces, you are using JSF. You can use the MyFaces Core project as JSF implementation, or you can use the Sun Reference Implementation, a.k.a. Mojarra. Both implement the same JSF standard, so there are very little differences between them. However, my experience is that the MyFaces Core implementation does provide better debug logging, which may be an advantage during development of your application.

Apart from a JSF implementation, you probably need some additional frameworks too. At least you need an additional set of components, as the standard JSF components are a bit bare bones. As said in my previous post, MyFaces offers such component sets in the Trinidad, Tomahawk and Tobago sub projects. There are also a lot of ohter component sets: ICEfaces, RichFaces, PrimeFaces, Oracle ADF Faces, and many more. Some are commercial packages, some are open source projects.

My book, Apache MyFaces 1.2 Web Application Development will learn you to set up a complete JSF stack to build a rich web application. This includes, among other things, a JSF implementation and a JSF component set.

Best regards,
Bart
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compare Apache myFaces to JSF?