JSR-346 for new CDI 1.1
It contains improvements for CDI 1.0, and is led by Red Hat.
CDI might be the most helpful new piece of technology in Java EE 6. If you haven't heard of it or didn't use it before, then try Adam Bien's articles or the documentation of CDI's reference implementation, called Weld, which is actuaaly quite easy to read.
So what are the suggestions for CDI 1.1? Let's look what the JSR says:
- "Global ordering of interceptors and decorators, as well as global enablement of alternatives [CDI-48]
- An API for managing built in contexts, allowing the built in implementation of the conversation context to be used outside of JSF [CDI-30]
- An embedded mode allowing startup outside of a Java EE container [CDI-26]
- Declarative control over which packages/classes are scanned in a bean archive [CDI-87]
- Bean declaration at constructor level [CDI-55]
- Static injection [CDI-51]
- Inclusion of @Unwraps from Seam Solder [CDI-89]
- Align with current version of @Inject [CDI-51]
- Numerous minor enhancements to the Portable Extensions SPI
- Client controlled contexts allowing for SaaS style multi-tennancy [CDI-103]
- Better support for CDI in libraries when used in the Java EE platform [CDI-84]
- Send CDI events for Servlet events [CDI-38]
- Application lifecycle events [CDI-86]"
The final release of CDI 1.1 is currently scheduled for Q3 2012.
This post was originally published on thomas-eichberger.blogspot.com.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)