Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

JSF implementation  RSS feed

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi there
I start learn about JSF and i want to be really know about the different implementation just for sort idea issue,

My question is
Tomcat provided by Apache have MyFaces implementation
GlassFish provided by Oracle/sun have Mojarra implementation
Jboss provided by RedHat have what ??

Posts: 506
Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss application server is configured and shipped with a Java EE (Mojarra) implementation. Its the same with the Glassfish application server. To deploy JSF web application on a Apache Tomcat web server one must use a JSF implementation library like Apache MyFaces.

JBoss AS also allows multiple JSF implementations (can configure a default and a secondary, e.g., Mojarra and MyFaces respectively).
Posts: 20107
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat does not provide any JSF implementation. Tomcat is not a full-stack implementation of JEE and this is one of the stack items that Tomcat lacks. Instead you have to provide your own JSF implementation, and whether you use Mojarra, MyFaces, or some other implementation of the JSF spec - or even write your own - makes no difference to Tomcat. It's all bundled with the webapp's WAR.

GlassFish, Wildfly, and, indeed WebLogic and WebSphere are all full-stack JEE servers*. Accordingly, they must faithfully implement JSF according to the JSF section of the JEE specification. What actual code they use (or invent) to do so, should not be something that JSF applications worry about - only what version of the spec they implement, just as is the case for servlets and JSPs. And, of course, if the vendor decides to switch to a different implementation at any time, it should not change the webapps written for that server.

* Technically, I'm not sure you can call JBoss a JEE server (hence an implementor of JSF). I think the name change to Wildfly happened about the same time J2EE was superseded by JEE, and one of the differences between J2EE and JEE is that J2EE does not define JSF, but JEE does.
A berm makes a great wind break. And Iwe all like to break wind once in a while. Like this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!