Find JSRs
Submit this Search


Ad Banner
 
 
 
 

Summary  |  Proposal  |  Detail (Summary & Proposal)  |  Nominations
JSRs: Java Specification Requests
JSR 346: Contexts and Dependency Injection for JavaTM EE 1.1

Stage Access Start Finish
Maintenance Release Download page 18 Apr, 2014  
Maintenance Review Ballot View results 08 Apr, 2014 14 Apr, 2014
Maintenance Draft Review Download page 14 Jan, 2014 07 Apr, 2014
Final Release Download page 24 May, 2013  
Final Approval Ballot View results 16 Apr, 2013 29 Apr, 2013
Proposed Final Draft Download page 06 Mar, 2013  
Public Review Ballot View results 04 Dec, 2012 17 Dec, 2012
Public Review Download page 02 Nov, 2012 03 Dec, 2012
Early Draft Review Download page 26 Oct, 2011 25 Dec, 2011
Expert Group Formation   26 Apr, 2011 01 Aug, 2011
JSR Review Ballot View results 12 Apr, 2011 25 Apr, 2011
Status: Maintenance
JCP version in use: 2.9
Java Specification Participation Agreement version in use: 2.0


Description:
Updates and clarifications to CDI 1.0 along much requested features.

Expert Group Transparency:
  Public Communications
  Issue Tracking

Team

Specification Leads
Star Spec Lead Pete Muir Red Hat
Expert Group
  Ancelin, Mathieu
: Mathieu Ancelin
Erck, Norman
: Norman Erck
Gastaldi, George
: George Gastaldi
  Hightower, Richard
: Richard Hightower
IBM
: Joseph Bergmark
Werner Keil
  MoroccoJUG
: Faissal Boutaounte
Oracle
: Sivakumar Thyagarajan
Red Hat
: Pete Muir
  Sabot-Durand, Antoine
: Antoine Sabot-Durand
Sachse, Daniel
: Daniel Sachse
SERLI
: Jerome Petit
  Mark Struberg Sun Microsystems, Inc.
: Sivakumar Thyagarajan
Contributors
       

List of compatible implementations

 
Updates to the Original JSR

The following updates were made to the original proposal.

2014.01.28
Antoine Sabot-Durand took over as Maintenance Lead, representing Red Hat.

Specification Lead: Antoine Sabot-Durand

E-Mail Address: asd@redhat.com

Telephone Number: +33 608553426

Fax Number: -

2011.12.07
The Specification Lead and Expert Group decided to move to JCP 2.8. The following information was provided with the request to switch:

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.

http://lists.jboss.org/pipermail/cdi-dev/

Please read the description of the communications channel and how to provide feedback.

2.20 What is the URL of the Issue Tracker that the public can read, and how does the public log issues in the Issue Tracker?

https://issues.jboss.org/browse/CDI

2.21 Please provide the location of the publicly accessible document archive you have created for the Expert Group.

http://docs.jboss.org/cdi/spec/


Original Java Specification Request (JSR)

Identification | Request | Contributions | Additional Information

Section 1. Identification

Submitting Member: RedHat

Name of Contact Person: Pete Muir

E-Mail Address: pmuir@redhat.com

Telephone Number: +44 1252 362700

Fax Number: +44 1252 548116


Specification Lead: Pete Muir

E-Mail Address: pmuir@redhat.com

Telephone Number: +44 1252 362700

Fax Number: +44 1252 548116


Initial Expert Group Membership:

Red Hat

Supporting this JSR:

Red Hat
Oracle
Jason Porter
Adam Bien



Section 2: Request

2.1 Please describe the proposed Specification:

Contexts and Dependency Injection for Java EE (CDI) 1.0 was introduced as part of the Java EE 6 platform, and has quickly become one of the most important and popular components of the platform.

CDI defines a powerful set of complementary services that help improve the structure of application code.

  • A well-defined lifecycle for stateful objects bound to lifecycle contexts, where the set of contexts is extensible
  • A sophisticated, typesafe dependency injection mechanism, including the ability to select dependencies at either development or deployment time, without verbose configuration
  • Support for Java EE modularity and the Java EE component architecture?the modular structure of a Java EE application is taken into account when resolving dependencies between Java EE components
  • Integration with the Unified Expression Language (EL), allowing any contextual object to be used directly within a JSF or JSP page
  • The ability to decorate injected objects
  • The ability to associate interceptors to objects via typesafe interceptor bindings
  • An event notification model
  • A web conversation context in addition to the three standard web contexts defined by the Java Servlets specification
  • An SPI allowing portable extensions to integrate cleanly with the container
Since the final release of the CDI 1.0 specification a number of issues have been identified by the community and a update to the specification will allow these to be addressed. A list of proposed updates is provided here, however the EG will consider other issues raised as the JSR progresses. A full list of proposed features is available in the issue tracker http://bit.ly/cdi11features.

Additionally, a number of inconsistencies have been noticed and clarifications requested and the JSR intends to address all of these. A full list is available in the issue tracker http://bit.ly/cdi10bugs.

2.2 What is the target Java platform? (i.e., desktop, server, personal, embedded, card, etc.)

The target platform is Java EE.

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.

The work will track Java EE 7, to be released as part of the Java EE 7 platform.

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

No. It should be voted on by the Java SE / EE Executive Committee only.

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

The goal of the proposed specification is to address the needs of the Java community by augmenting the functionality of Contexts and Dependency Injection to address requests received from the Java community for additional features.

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

See 2.5 above. These new features are specific to the Contexts and Dependency Injection architecture, which does not yet provide them.

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

See above.

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

The API specification will continue to use the javax.enterprise package.

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?

No.

2.11 Are there any internationalization or localization issues?

No.

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.

March 2011 Expert group formed
Q3 2011 Early Draft Review
Q1 2012 Public Review
Q3 2012 Final release.

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

The primary means of communication will be issue tracker, email, specification drafts and wiki. Phone conferences and face-to-face meetings will be scheduled if needed.

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 JBoss Community infrastructure. We have a public issue tracker for tracking most issues at https://issues.jboss.org/browse/CDI. We have a public EG discussion list at https://lists.jboss.org/mailman/listinfo/cdi-dev which is free for anyone to join and post to. We will have an EG-private mailing list, and we will a public wiki. The reference implementation will be developed entirely in the public Weld project in the JBoss Community. The TCK will be developed entirely in the public CDI TCK in the JBoss Community. We will leverage the Early Draft feature of JCP 2.6 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.

Red Hat, Inc. will deliver a Reference Implementation (RI) and Technology Compatibility Kit (TCK) compatible with Java EE 7 and license compatible with Java EE licensing as part of the final specification.

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.

The specification will be licensed using the standard specification license

The RI and TCK will be licensed via the ASL 2.0 license.





Section 3: Contributions

3.1 Please list any existing documents, specifications, or implementations that describe the technology. Please include links to the documents if they are publicly available.

The CDI 1.0 Specification (JSR 299) http://jcp.org/en/jsr/detail?id=220

Java Platform, Enterprise Edition Specification Version 6 http://jcp.org/en/jsr/detail?id=316

3.2 Explanation of how these items might be used as a starting point for the work.

The specification and javadoc from JSR 299 will be the starting point for this work.



Section 4: Additional Information (Optional)

4.1 This section contains any additional information that the submitting Member wishes to include in the JSR.

The expert group will be formed once the specification is approved. All expert group discussions will occur on an open list as described above, and anyone is welcome to join in with the discussion, you simply need to subscribe to the list.