aspose file tools*
The moose likes JSF and the fly likes JSF vs MyFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF vs MyFaces" Watch "JSF vs MyFaces" New topic
Author

JSF vs MyFaces

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
Hi,

Can anyone tell me the difference between JSF and Apache MyFaces.

What i understood is, MyFaces is an Apache open source project which creates JSF components. Am i right ? Will appretiate if anyone can explain more on this.

Thanks,
Rajeev.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

JSF is the standard (JSR-127), MyFaces is an implementation of that standard, and yes, it's open-source. Another one is Oracle's ADF Faces. I think tht one's free to use, although I don't lnow about it being open-source.

There was also a Sun Reference Implementation JSF, which ws pretty feeble. I think they broke it and then abandoned it.

JSFs aren't mix-and-match, BTW. I got into trouble when I first used JSF because I'd installed the Sun RI and then added MyFaces to it. I had to remove the Sun RI JSF stuff from the project before things would behave reliably.


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

Joined: Jun 07, 2005
Posts: 118
By this...
There was also a Sun Reference Implementation JSF, which ws pretty feeble. I think they broke it and then abandoned it.


do you mean, that Sun Reference Implementation is the implementation of JSR-127 as is MyFaces??
Alexander Jesse
Ranch Hand

Joined: Mar 17, 2004
Posts: 35
JSF is a specification controlled by the JCP.

JSF-RI (RI == Reference Implementation) is Sun's JSF-implementation and everything else than dead. Right now it's the only implementation that is on the JSF 1.2 level.

MyFaces is an Apache Project delivering some items:
- MyFaces JSF implementation
- Tomahawk component library
- Tobago a donated (now opensource) component library
- Trinidad, parts of Oracle's ADF-Faces which have been opensourced

hth
Alexander
Chris Schalk
author
Ranch Hand

Joined: Aug 31, 2006
Posts: 62
Good Answer Alexander!
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

Originally posted by Tim Holloway:
...
There was also a Sun Reference Implementation JSF, which ws pretty feeble. I think they broke it and then abandoned it.
...


Is this the 1.1 implementation? Do you know about 1.2? Is that worth looking at or should people stick with 1.1?
jonny moo
Greenhorn

Joined: Sep 23, 2006
Posts: 1
Also could someone explain if the reference implementation (JSF 1.1) has the same functionality as MyFaces, i.e. are they interchangable? If they are does this mean that you can use the tomahawk components with the RI?
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Originally posted by jonny moo:
Also could someone explain if the reference implementation (JSF 1.1) has the same functionality as MyFaces, i.e. are they interchangable? If they are does this mean that you can use the tomahawk components with the RI?


I am using jsf 1.1 with tomahawk. But I just started working on it. Why I use is, am using tomcat 4.1.29 version and I just want to avoid writing custom components for tab pane. In tomahawk, there is a tag that will work with tomcat 4.1.29 . I don't know whether there is any problems when I grow with the developement using both jsf and tomahawk. Appreciate any comments.

Thanks,
thamara chempakam
Greenhorn

Joined: Jul 09, 2007
Posts: 20
what is the benefit of apache myfaces over JSF1.2
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
Originally posted by thamara chempakam:
what is the benefit of apache myfaces over JSF1.2


First, let's clear up the terminology. JSF 1.2 is a specification.
MyFaces provides an implementation of this specification. I believe
the original intent of the question is what's the difference
between the 1.2 RI and MyFaces 1.2.

If that is indeed the case, technically they should both be the same, as they
implement the same spec. However, the RI has been out and actively worked for over a year (bug fixes, performance fixes, features). MyFaces 1.2 has been out for one or two months, and have had the usual issues associated with a first release.

That said, MyFaces also has a very nice component community. These components should run on *any* compliant JSF implementation (meaning the RI or MyFaces).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF vs MyFaces