Tags
Authors
Here's a CDI portable extension that reads values from properties files and configures fields of Java EE components. In Java EE 6, this works for any Java EE component supporting injection
, including servlets, EJBs, managed beans, interceptors and more.
One of the nicest features of CDI is the portable extension SPI. According to the spec:
Gavin pointed out to me that my script to build the Weld distribution was broken, so I've create Weld 1.0.0 SP1 (Service Pack 1) which remedies this. You can now find Weld's sources and binaries in artifacts/weld and the CDI API source, javadoc and binary in artifacts/cdi. Download it from here.
William Drai has blogged about his experience integrating Granite DS and CDI.
I'm pleased to announce the release of Weld 1.0.0 - the announcements have been flowing in over the last few days, but this is my favorite!
Mark Little, the CTO of JBoss, blogged about our vision for component models in JBoss platforms - he gives a great overview, describing how Seam (and JSR-299/Weld) will form the core programming model.
I've posted the CDI TCK 1.0.0 on seamframework.org. You can read the docs or download the TCK for your use.
Today, Red Hat submitted the final draft of JSR-299[1], which now goes under the moniker CDI (Contexts and Dependency Injection), along with the Reference Implementation and TCK. Check out the spec[1] and Javadoc.
I just noticed that CDI makes it possible to write properties files in Java, instead of plain text. I'm not sure if this is useful, but it is cute.