As required by the Java Specification Participation Agreement (JSPA), the TCK will be licensed at no charge without support to qualified not-for-profit. The Compatibility Testing Scholarship Program will verify such qualification. Support may also be provided at no charge with approval of the scholarship board. For more information, please refer to:http://www.oracle.com/technetwork/java/index-137188.html

2012.12.17:
The Expert Group and Specification Lead moved JSR 344 to JCP 2.9.

2012.09.05:
The Expert Group and Specification Lead moved JSR 344 to JCP 2.8.

2.1 Please describe the proposed Specification:

This JSR is a significant feature update that builds on the advances from the previous JSR for JavaServer Faces.

The high level goals from the previous iteration bear repeating here.

This JSR will bring the best ideas in web application development to the Java EE platform. The Expert Group will be harvesting existing ideas that:

o Maximize the productivity of the web application development experience, for graphical IDE and command-line developers.

o Minimize the complexity of maintenance of the web application during its production lifetime.

Requirements are grouped into four major categories: Ease of Development, Portlet Integration, New Features and Fixes. Following are some initial requirements that will be prioritized and considered when the Expert Group convenes. Not all of these ideas will be in the final specification.

Ease of Development

Requirements in this category make developers more productive with JSF. Features in this category include, but are not limited to the following.

* Eliminate the need for a tag handler class even for non-composite JSF components. Add a "tagName" attribute to the @FacesComponent attribute.

* Make it so most of the configuration options can be changed at runtime without redeployment.

* Introduce shorthand URLs for Facelet Taglibraries. For example, allow "cc" to be an alias for "http://java.sun.com/jsf/composite".

* Make it so the cc:interface section in composite components is optional.

* Enhance ProjectStage to contain DesignTime value.

* Deployment enhancements. For example, allow jsf artifacts to be packaged and discovered as standard OSGi bundles, and provide way to discover the JSF spec version with which a JSF artifact complies.

* All JSF lifecycle artifacts should be CDI-aware and support injection/JSR-299/JSR-330 (PhaseListeners, NavHandlers, Components, ActionListeners, everything.)

Portlet Integration

Requirements in this category support an implementation of the Portlet Bridge 2.0 specification [JSR-329] for JSF 2. In general, all the requirements relate to smoothing out the wrinkles in JSF 2 that arise when attempting to use JSF 2 features in a portlet runtime. Features in this category include, but are not limited to the following.

* Component identification and Ajax

* Bookmarkability

* Make the composite component feature usable so a "component server" can be included in a portlet runtime such that portlets can use the components in context-dependent ways. This feature is known as "remote components" in the portlet community.

* Security related changes necessary accommodate remote components

New Features

Requirements in this category stem from feedback from real world JSF users and are incremental improvements on the existing specification. This category includes fixes and updates to existing APIs. Features in this category include, but are not limited to the following.

* Support for select HTML5 features, possibly including the following.

* Event system enhancements. For example, the ability to install a listener for page navigation events. This would enable the familiar dialog, "You have unsaved changes in this page, are you sure you want to discard them?"

* Security enhancements. For example, how to provide JAAS Authorization in JSF with Facelets, and specify cross site request forgery solution.

* Accessibility enhancements, for example, support for WAI ARIA.

* Flow Management. Frameworks like SpringWebFlow and Oracle ADF have had flow management for a long time. Consider standardizing it.

Fixes

Requirements in this category are fixes to features specified in an earlier release of the specification. Features in this category include, but are not limited to the following.

* Deprecate "targets" concept from composite components.

* UIData should support the collection interface rather than the List interface.

* Better integration between ELContext used by JSP and Facelets

* Multi-field validation

* Separate the "build the tree" and "render the tree" processes into two separate lifecycle phases.

2.3 The Executive Committees would like to ensure JSR submitters think about how their proposed technology relates to all of the Java platform editions. Please provide details here for which platform editions are being targeted by this JSR, and how this JSR has considered the relationship with the other platform editions.

This specification targets the Java EE 6 Platform. It will be based on the corresponding release of the Java SE platform.

2.4 Should this JSR be voted on by both Executive Committees?

No. Just the SE/EE Executive Committee.

2.5 What need of the Java community will be addressed by the proposed specification?

While JavaServer Faces has succeeded in becoming the standard way to build web application user interfaces while ensuring maximum container portability and minimizing vendor lock-in, the state of the art of web application user interface development has advanced significantly since the first major draft of the specification. The Java community finds itself in a similar situation to that in which the first version of the JavaServer Faces specification was initiated: Many great ideas but no standard specification that delivers them to developers and the marketplace. In fact, many of these great ideas are built on top of the JavaServer Faces Specification but, are not, themselves, standards. It is time to harvest these ideas and bring them to a wider audience in manner consistent with the rest of the Java Platform.

2.6 Why isn't this need met by existing specifications?

The problem domain of web application user interface and lifecycle development is not covered by any other JSR. This problem domain is squarely the purview of JavaServer Faces.

2.7 Please give a short description of the underlying technology or technologies:

See 2.1 above.

2.8 Is there a proposed package name for the API Specification? (i.e., javapi.something, org.something, etc.)

javax.faces

2.9 Does the proposed specification have any dependencies on specific operating systems, CPUs, or I/O devices that you know of?

No

2.10 Are there any security issues that cannot be addressed by the current security model?

The Java SE security model is perfectly sufficient for the needs of this specifiation. There will be security related features in the specification, but these will build on top of the current security model.

2.11 Are there any internationalization or localization issues?

Faces technology deals with internationalization and localization.

2.12 Are there any existing specifications that might be rendered obsolete, deprecated, or in need of revision as a result of this work?

No

2.13 Please describe the anticipated schedule for the development of this
specification.

Stage

Start

Finish

Expert Group Formation

Q2CY2011

Q2CY2011

Early Draft Review

Q3CY2011

Q3CY2011

Public Review

Q3CY2011

Q3CY2011

Proposed Final Draft

Q4CY2011

2.14 Please describe the anticipated working model for the Expert Group working on developing this
specification.

We will use the same working model as in JSR-314: primarily email discussion with occasional conference calls and other distributed team technology uses. See section 2.15 for the transparency measures we will use.

The reference implementation will be developed using an Open Source development model.

2.15 Provide detailed answers to the transparency checklist, making sure to
include URLs as appropriate:

We will leverage the collaborative tools provided by the java.net infrastructure. We have established the "javaserverfaces-spec-public" project on java.net. Therein, we will have a public issue tracker for tracking most issues. Any issues that absolutely must be EG private will be handled with a separate EG-private issue tracker. We will have an EG-private mailing list, and we will have a monitored public discussion forum as well. The reference implementation will be developed entirely in the public javaserverfaces project on java.net. The TCK will be developed privately by Oracle. We will leverage the Early Draft feature of JCP 2.7 to allow the public to see the spec in progress.

2.16 Please describe how the RI and TCK will de delivered, i.e. as part of a profile or platform edition, or stand-alone, or both. Include version information for the profile or platform in your answer.

Oracle will deliver a Reference Implementation (RI) and Technology Compatibility Kit (TCK). The RI will be made available standalone. The TCK will be made available standalone.

2.17 Please state the rationale if previous versions are available stand-alone and you are now proposing in 2.13 to only deliver RI and TCK as part of a profile or platform edition (See sections 1.1.5 and 1.1.6 of the JCP 2 document).

N/A

2.18 Please provide a description of the business terms for the Specification, RI and TCK that will apply when this JSR is final.

2.19 Please describe the communications channel you have established for the public to observe Expert Group deliberations, provide feedback, and view archives of all Expert Group communications.

We will leverage the collaborative tools provided by the java.net
infrastructure. We have established the "javaserverfaces-spec-public"
project on java.net. Therein, we will have a public issue tracker for
tracking most issues[1]. The mailing list of record for the expert
group is jsr344-experts@javaserverfaces-spec-public.java.net. The
archive for this list [2] is publically readable but only expert group
members may subscribe to post to this list. Non expert group members
may subscribe to users@javaserverfaces-spec-public, which is an open
list that any java.net member may subscribe to, and which receives a
copy of every mail sent to
jsr344-experts@javaserverfaces-spec-public.java.net. Any issues that
absolutely must be EG private will be handled with a separate
EG-private issue tracker and mailing list. We have a monitored public
discussion forum [3] as well. There is a twitter account for the
specification, @jsf_spec.[4] This account is monitored for mentions. The
reference implementation will be developed entirely in the public
javaserverfaces project on java.net. [5] The reference implementation
is open source software. The TCK will be developed privately by
Oracle. We will leverage the Early Draft feature of the JCP process to
allow the public to see the spec in progress.