Tuesday Jul 22, 2014

JavaServer Faces 2.3 (JSF 2.3)

Ed Burns (Specification Lead of JSF 2.2 - JSR 344) has just posted a draft JSR proposal for JavaServer Faces 2.3. Manfred Riem will help Ed to drive JSF forward. If you have been involved in the JSF community, you should know Manfred already as he is very active in that community!

The exact content of this JSR will discussed and agreed by the Expert Group but Ed is suggesting some initial ideas such as Multi-field validation, EL performance optimizations and cross-form Ajax clarifications.

As mentioned in the previous post, CDI is becoming increasingly important across the Java EE platform. @Inject FacesContext and ‘Ajax method invocation’ are two of the features that Ed is proposing to improve the CDI / JSF integration.  ‘Ajax method invocation’ is a feature that would allow invoking CDI managed bean methods directly from Ajax, allowing the response to be sent using JSON.

It should be noted that previous versions of JSF intentionally lagged one version behind the Java EE version in which it was bundled (e.g. JSF 2.2 is part of Java EE 7 but it also works on top of Java EE 6). This release plans to abandon this approach in favor of being able to leverage platform features from Java EE 8 and Java SE 8.

So if you have any feedback before the JSF 2.3 JSR proposal is submitted to the JCP, now is the time to raise your voice!