Red Hat

RichFaces 4.0.0.ALPHA1 Released!!

Posted by    |       |    Tagged as JSF Rich Faces Seam

The RichFaces team is very happy to announce that the first ALPHA release of RichFaces 4.0.0 with JSF 2.0 support has been released. This first release will give all of you early adopters and fans out there a chance to play with the project. Any feedback, issues, comments, or patches are welcome as always.

You can download all the release artifacts at the RichFaces Download page and the readme.txt in the richfaces-4.0.0.ALPHA1 distribution contains all you need to get started and integrate the library into your application. You can also check out the Release Notes for even more details.


There are eight components completed for this first release. We will be adding more for each milestone including all the rich components.

  • a4j:ajax (formally a4j:support)
  • a4j:commandLink
  • a4j:commandButton
  • a4j:push
  • a4j:mediaOutput
  • a4j:status
  • a4j:jsFunction
  • a4j:log
  • a4j:outputPanel

Most function like their cousins in the 3.3.X series ( for now ), and the RichFaces demo application ( new name ideas welcome ) show them all.

RichFaces Demo Example

We wanted a way for everyone to get started early with RichFaces 4.0 and try out the components so we created this component gallery example. The readme.txt file in the richfaces-examples-4.0.0.ALPHA1 download will have all the details, but here are steps to you started.

Build and Deploy

This demo application can be built and deployed to servlet containers and some JEE5 servers. For convenience we include 2 pre-built war files, one for each type of server. Note for testing we used both tomcat 6 and JBoss AS 5.1, and more will be added to this list.

You can also build the example fresh from the included source files. However note that we are currently building from the SNAPSHOT versions of the JSF 2 Mojarra project and this can sometimes cause issues. The build requires Maven 2.1.0 and can be built and ran 3 different ways:

Servlet container compatible war:

mvn install

Then deploy to Tomcat 6.x or just run using maven and jetty with:

mvn jetty:run-war

JEE5 compatible war:

mvn install -P jee5

Then deploy to JBoss AS 5.x/4.2.x or some other jee5 servers. Don't forget to update your server's JSF libraries to the latest snapshots of JSF 2.0 Mojarra project. For JBoss AS you can follow these directions: Upgrade JBoss AS to JSF2

Anyway you deploy the example you can access it with this link http://localhost:8080/richfaces-demo

IDE Integration

Since we build using maven it is very easy to integrate with your favorite IDE. Use the standard maven commands for your IDE.

For eclipse:

mvn eclipse:eclipse

For Intelij:

mvn idea:idea

Then just import the project into your IDE and you can start playing!

Component Development Kit

This release also includes a preview of the 4.0 Component Development Kit (CDK). This will make creating rich JSF components a snap with helpful tools, maven archetypes, and more. Right now it is in a very early development state, and can be used to create very basic components. Follow these instructions for ALPHA1 CDK: RichFaces 4.0.0.ALPHA1 CDK Tutorial ( Watch this page for updates ).

What's To Come

We are planning another ALPHA release at the end of October, and regular BETAs to follow that. Each milestone will have more features and components. We will be discussing more details in the coming weeks and be updating both the wiki and jira to represent the changes - so keep an eye out if you are interested.

More Information and Getting Involved

RichFaces is an open community project and we want to encourage anyone interested to get involved. That can be as simple as letting us know when you find a problem or answering questions on the forums, to submitting patches and helping to define direction and features.

We have weekly meeting via IRC which anyone can attend, please see the Project Calendar and the Meeting Information page for more details.

To get the latest on RichFaces 4.0 you can also keep eye out for updates to the 4.0 planning wiki and the RichFaces Dev forums

[Project Site] [Downloads] [JIRA] [User Forums] [Design Forums] [RichFaces Twitter]

back to top