1
votes

I have an important question.

I have worked with JSF 1.2 in the past. I haved use some basic tags like

<h:outputText />
<h:commandButton />
<h:commandLink />
<h:dataTable />

and RichFaces like this

<rich:calendar />
<rich:togglePanel />
<rich:dataScroller />

To use ajax functionality, i worked with

<a4j:support />
<a4j:jsFunction />
<a4j:queue />

for example. I have used q jetty webserver to use the JSF tags. Today i work since one Week with JSF 2.0, PrimeFaces and the glassfish application server.

So i have the following question: Have I worked with JSF or have I worked with Mojarra? Sorry, but the exactly differences between there technologies are not clearly for me.

Thanks a lot ! Maik

1

1 Answers

7
votes

JSF is a Java EE standard or specification (just like JPA, EJB, etc).

A standard or specification needs to be implemented. Mojarra is Oracle's implementation of JSF. Myfaces is another JSF implementation, developed by Apache.

So, if you are using Glassfish, you are using Oracle's implentation of JSF: Mojarra. If for example you use Tomee(Apache's application server), you are going to be using Apache's implementation of JSF: Myfaces.

https://javaserverfaces.java.net/ https://myfaces.apache.org/ https://glassfish.java.net/ https://tomee.apache.org/apache-tomee.html