Skip navigation

JSF 2.2 Early Draft Review Available

Three days ago, the JSF 2.2 Early Draft Review Specification was released.  You can download it from <> and the in-progress reference implementation can be obtained by following the instructions in my blog entry from 26 September 2011.  With this blog entry, I want to quickly survey the new and proposed features, not all of which are implemented in Mojarra yet.  The following content is taken from the Preface section in the PDF document, which is and always has been your one-stop-shop for discovering what's new in the spec.

Let me begin by re-stating what I've been saying since the JSF 2.2 kickoff BOF at CON_FESS Vienna last year: 2.0 was the last BIG FEATURE release of JSF.  From now on, JSF will be maintained with smaller, more frequent releases.  I'm hoping to get JSF 2.2 done in the first half of 2012.  The first thing you'll note about the "Changes between 2.1 and 2.2" section: it's just a list of JIRA issue with a description of each one. You can read through the list just as well as I can so I'll just call out the more interesting ones here.

Mostly Specified Features


This one is taken directly from Seam's Faces Module.  This feature viewMetadata to the next level by letting you include actions in the metadata and customizing how and when the action is delivered.  Just a <f:viewParam> is an EditableValueHolder, <f:viewAction> is an ActionSource2.


Make it possible for a Facelets Tag Library to have both composite and non-composite components.


Every kind of artifact created by JSF is now fully injectable via CDI and also can have @PostConstruct and @PreDestroy annotated methods which will get called at the right time.


Standardize how JSF provides CSRF protection.


Make it possible to declare a Facelets ResourceResolver without using XML.

Not Yet Fully Specified Features


Bring the best of Spring Web Flow, ADF Task Flows, and MyFaces CODI to the JSF spec.  This feature intends to provide support for encapsulating related views together such that applications can be created as composites of modules of functionality, with each module consiting of well defined entry and exit conditions.


Finally add a component for file upload.


My friend and fellow blogger Mamadou Lamine Ba has done some great work on this idea and is donating the core of it to the JSF 2.2 spec.  The idea is to bring the best of Joomla! to the JSF spec.  When you combine this feature with 730-TaskFlows, and put the result on top of the cloud features of JavaEE 7, you have a very compelling multi-tenant capable platform.  Please see Lamine's blog entrys from 28 August 2011 and 5 June 2011 for some great details and a sharp looking demo, running on Google App Engine.

  Technorati Tags: edburns

JSF 2.2 and 2.1 Nightly Builds Running Again

I'm ashamed to say it, but we've gone over two years without having a working nightly build system for Mojarra.  As of last week or so, I finally got the nightly working again.  We now have our internal hudson instances configured to publish nightly SNAPSHOT builds to the snapshot repository.  Please visit my previous blog entry for instructions about how to access this repository. Here are the maven GAV for the code lines for which there are nightly builds.  The bits are only pushed to maven if all the automated tests pass. Look in the actual maven repo to see the timestamp of most recently published bits.


This is the absolutely most recent JSF version, still in active development.  JSF 2.2, or a maintenance release thereof, will be in JavaEE 7.  For more on this code line visit <>.

Standalone Implementation (corresponding source jar available too)

The stripped API jar, only for satisfying compile time dependcies (corresponding javadoc and source jars available too)


JSF 2.1

This code line corresponds to the most recent completed JSF spec release.

Standalone Implementation (corresponding source jar available too)

The stripped API jar, only for satisfying compile time dependcies (corresponding javadoc and source jars available too). Note that this is not a SNAPSHOT because JSF 2.1 is final.


  Technorati Tags: edburns

Filter Blog

By date: