Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compare Apache myFaces to JSF?

 
Praful Gupta
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be some of the main differences between JSF and myFaces? Is it built on JSF?
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bart, I forgot about them
 
Wal Samaad
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic