Download

There are currently two production-ready implementations of the JSF specification: Mojarra, and MyFaces. Both comply with the JSF TCK.

Mojarra:

File Downloads:

Maven:

Repository: java.net

<repository>
    <id>maven2-repository.dev.java.net</id>
    <name>Java.net Maven Repository</name>
    <url>http://download.java.net/maven/2/</url>
    <layout>default</layout>
</repository>
 
Dependencies:

<dependency>
    <groupId>com.sun.faces</groupId>
    <artifactId>jsf-api</artifactId>
    <version>2.0.1</version>
</dependency> 
 
<dependency>
    <groupId>com.sun.faces</groupId>
    <artifactId>jsf-impl</artifactId>
    <version>2.0.1</version>
</dependency>

GlassFish V3:

http://glassfish.org (click on GlassFish V3)

JSF 2 is bundled with GlassFish V3, the reference implementation for the Java EE 6 platform. That means you don't have to include JSF in your deployment. It's just available to you!

Apache MyFaces:

File Downloads:

Maven:

Repository: central (no configuration necessary)

Dependencies:


<dependency>
    <groupId>org.apache.myfaces.core</groupId>
    <artifactId>myfaces-api</artifactId>
    <version>1.2.7</version>
</dependency>
 
<dependency>
    <groupId>org.apache.myfaces.core</groupId>
    <artifactId>myfaces-impl</artifactId>
    <version>1.2.7</version>
</dependency>
Comments