DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > JSR-346 for new CDI 1.1

JSR-346 for new CDI 1.1

Thomas Eichberger user avatar by
Thomas Eichberger
·
Apr. 13, 11 · Java Zone · News
Like (0)
Save
Tweet
10.81K Views

Join the DZone community and get the full member experience.

Join For Free
There is a new Java Specification Request (JSR) with number 346: Contexts and Dependency Injection for JavaTM EE 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.

CDI

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Ultra-Fast Microservices: When Microstream Meets Payara
  • Debugging Deadlocks and Race Conditions
  • Top 11 Cloud Platforms for Internet of Things (IoT)
  • The End of the Beginning for Apache Cassandra

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo