Thursday Mar 22, 2012

JSF 2.x's renaissance

JAXenter's Chris Mayer posted a column last week about the "JavaServer Faces enjoying Java EE renaissance under Oracle's stewardship".


This piece discusses the adoption and increased ecosystem (component libraries, tools, runtimes, ...) since the release of JSF 2.0 as well as ongoing work on 2.2.

As Cameron Purdy comments, Oracle as a company certainly has vested interest in JSF and will continue to invest in the technology. Specifically for JSF 2.2, and as this other article points out, a lot of the work has to do with alignment with HTML5 (see this example) and making the technology even more mobile-friendly (along with the main Java EE 7 "PaaS" theme of course).

Chris' article concludes with "JSF appears to be the answer for highly-interactive Java-centric organisations who were hesitant of making a huge leap to JavaScript, and wanted the best RIA applications at their disposal".

Sunday Jan 29, 2012

More Java EE 7 - JSF 2.2

JSF 2.2 (JSR 344) is yet another specification that's being worked on as part of the Java EE 7 effort and Arjan over at has a detailed status covering everything new in this version of the spec.


Part of the features discussed in this blog post are a new queue control for AJAX requests, tighter CDI integration, some Java API additions as well as life-cycle events improvements.

It's great to see community members help spread the word on the progress made and as Ed Burns, the JSF spec lead, says - "(this is) a true testament to the value of transparency."

Saturday Nov 12, 2011

JSF 2.2 recent progress - Early Draft

JSF specification lead Ed Burns has an update on the progress of JSF 2.2, another component which should be required as part of the upcoming Java EE 7 standard.

JSF spec logo

This includes a reminder of the scope of this specification, the availability of the early draft and height specific features that are being worked on and split into "Mostly Specified Features" and "Not Yet Fully Specified Features" (I think you can read the latter as "at risk"). My favorite is "763-EverythingIsInjectable".

Remember that JSF 2.2 is due out in the middle of 2012 which is in time to be integrated in the Java EE 7 platform JSR (currently scheduled for second half of 2012). In the mean time, JSF 2.2 nightly builds are available.

Thursday Jun 16, 2011

Mojarra (JSF) 2.1.2 is here

The Mojarra 2.1.2 release was cut a few days ago. Here are the full Maven coordinates : api, impl. You can also get to the release notes and to the list of bugs fixed in this release.

Mojarra 2.1.2

This is scheduled for inclusion into the upcoming GlassFish 3.1.1 release. In fact it's already integrated in the latest promoted build (#8) which also includes woodstox 4.1.1. Weld 1.1.1.Final has already been integrated a few builds ago.

The JSF team is now working on JSR 344 (JSF 2.2) for which you can get a status by visiting and the associated mailing lists. A first expert draft is now available.

Tuesday Mar 01, 2011

More Java EE 7 content: Servlet, EL, JMS and JSF updates

Following-up on to yesterday's post on JSR 342 (Java EE 7), there are actually four other JSRs that have been filed :
JSR 340: Java Servlet 3.1 Specification
JSR 341: Expression Language 3.0
JSR 343: JavaTM Message Service 2.0
JSR 344: JavaServerTM Faces 2.2

JCP - Java Community Process

Servlet 3.1 should offer easier to build asynchronous applications (extending the work done for 3.0), support and utilize Java EE concurrency APIs, support WebSockets, offer multi-tenant isolation support and more. The co-spec leads are Shing Wai Chan and Rajiv Mordani.

Expression Language (EL) 3.0, which used to be defined as part of the JSP expert group, now has a dedicated JSR due to its relationship with other parts of the platform such as CDI and JSF. The goal there is to consider support for projection and collection, date types (with appropriate comparison operators) and maybe equality, string concatenation, and sizeof operators. Kin-man Chung is the specification lead.

JMS 2.0 should bring to this API some long awaited EoD (Ease of Development) love, clarification of the relationship between the JMS and other Java EE specifications and a new mandatory API for the integration of any JMS provider in Java EE application servers. Nigel Deakin is the spec lead for this one.

JavaServer Faces (JSF) 2.2 will continue to focus on ease of development, better portlet integration but also consider new features (HTML 5 and others), and of course work on fixes. The plan is to finish before the end of this calendar year (2011). Check out Ed Burns' recent post on this.

All JSRs are now up for voting and slatted for inclusion in Java EE 7, thus hopefully joining JPA 2.1 and JAX-RS 2.0 in the list of "work in progress" JSRs. Speaking of JAX-RS, Marek, the new co-spec lead has a quick update.

Wednesday Dec 08, 2010

JSF 2.1 & Mojarra new home, Hudson job and more


A few days ago, JSF spec lead Ed Burns provided a community update for the Mojarra community project (the JSF reference implementation) on his blog. In his post, Ed discusses the new infrastructure and new home for the project, for the issue tracker (another happy JIRA camper) and for the SVN repository (we'll get to Git/Hg one day!.

Ed also shares the URL for a Hudson job of JSF 2.1 builds for the upcoming GlassFish 3.1 release. As a reminder, JSF 2.0 was integrated into the Java EE 6 platform a year ago and offers a great set of new features with standardized facelets, integrated Ajax support (with or without javascript), and composite components to name a few. JSF 2.1 is a maintenance release (MR2) to the JSF 2.0 specification and has a minimum set of changes detailed in the specification and change log (new <facelets-processing> tag, a change to the Restore View Phase, updated schema, ...).

Beyond the upcoming GlassFish 3.1 release, JSF 2.x (via its Mojarra reference implementation) is already in Oracle WebLogic Server (check out this NetBeans tutorial is you haven't already) and is a key component for Oracle ADF.

Monday Oct 19, 2009

Mojarra 2.0.0 is here! Start Using JSF 2.0 Now!


Mojarra 2.0, the production-quality, reference implementation for JSF 2.0 is out! Yet another step closer to v3 final. This will of course be part of GlassFish v3 later this year (with an integration planned as early as this week) but Maven and standalone are two other options to grab the bits.

In his blog, Ryan lists a set of very good resources (mainly blog posts) on JSF 2.0. Earlier this year, Ryan authored a series of blogposts which were also very detailed and informative. He covers tools support (yes, it's coming very soon as Cay discusses for NetBeans in his latest blog post) and recognizes the numerous contributors to this major release.

Note also that while JSF 2.0 is set to be part of Java EE 6, it does not require a servlet 3.0 container. In the case of GlassFish v3.0, web.xml is optional and there is no longer the need to declare the Faces servlet (see Cay's entry on that as well).

Mojarra as an implementation of JSF 2.0 is the first one out but it is also set to be part of a number of coopetitor's. Finally, now is probably a good time to skim throught The Aquarium posts tagged with the jsf2 and mojarra keywords.

Added The latest release is Mojarra 2.0.1, see Jim's post.

Saturday Jun 28, 2008

JSF 2.0 EDR implementation available from Mojarra

JSF 2.0 image

JSF 2.0 is one of the key Java EE 6 components. As an API, JSF 2.0 (aka JSR 314) is in the Early Access Draft (EDR) phase. Jim Driscoll announces the availability of Mojarra EDR 1 which is the Mojarra (a GlassFish sub-project) implementation of that specification. This EDR release should soon be available on the GlassFish v2 update center and later on on the GlassFish v3 update center.

As a reminder, JSF 2.0 has the following objectives: make writing JSF components easier, integrated support for Ajax, reduced configuration, portlet 2.0 alignment, integration of facelets, support for Rest principles, and more. Ed has a nice summary of yet more features. As an implementation, Mojarra also has a number of interesting features beyond what the specification requires such as Groovy integration for a save/reload development paradigm.

Java EE 6 is scheduled for the first half of 2009. The final version of GlassFish v3 will implement Java EE 6.
More on this news at TSS.

Monday Aug 06, 2007

JSF - Server-Side or Client-Side State Saving?

2-faced Janus

Ryan has written a good summary describing the differences between Server-Side and Client-Side State Saving in JSF, specially from the perspective of the RI used in GlassFish.

Check out the description at the Wiki Page.

Tuesday Feb 28, 2006

GlassFish and Java EE SDK run ADF Faces

MyFaces - Easter Faces

Ed reports one more installment on getting ADF Faces to run on GlassFish. Ed's blog provides detailed instructions. Early testers are encouraged to find any remaining issues, but I know there are some improvements on the way and I'll report as they show up.