This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JSF vs MyFaces

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 22503
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Answer Alexander!
 
Ranch Hand
Posts: 293
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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,
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the benefit of apache myfaces over JSF1.2
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).
 
What's a year in metric? Do you know this metric stuff tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic