Help

I've just published a release candidate for Weld 1.1.0, the reference implementation of JSR-299: Contexts and Dependency Injection for Java EE. It's based on the CDI 1.0 API. You can find direct download links at the bottom of this post or you can pull the artifacts from the JBoss Maven Repository.

Highlights from this release are:

  • A new approach to managing contexts, making it easier to write view-layer integrations
  • Performance improvements (around 40% on the previous release, meaning Weld performs as well as, or better than other CDI implementations and other DI engines in our tests)
  • Startup time improvements (around 20 times faster in extreme cases)
  • More improvements in memory usage, with more planned for 1.2.0 (we're aiming at 1k per class deployed)
  • around 70 bug fixes

We also just released 1.0.2 of the CDI TCK - you can find the links for it below :-)

Thanks go to Marius Bogoevici, Stuart Douglas, Martin Gencur, Nicklas Karlsson, Stale Pedersen and Jason Porter for their hard work on this release!

JBoss AS

Weld 1.1.0 will be included in JBoss AS 6.0.0.Final; until then you are best off using a snapshot build of JBoss AS if you want to use Weld 1.1.0.Final.

About Weld

Weld is used in GlassFish V3 and the JBoss AS 6 series. Weld also has support for Servlet containers such as Tomcat and Jetty. Alternatively, you can use Weld with Java SE.

There is great testing support via Arquillian, which allows you to test in Weld SE, a mocked out Java EE container, Tomcat or Jetty, as well as JBoss AS and GlassFish.

If you are just getting started, there are a few examples in the distribution to guide you (look for instructions in the reference guide, and each example has a readme.txt). If you are looking for help, try our user forums, or perhaps join us on IRC.

[ Distribution (Weld, CDI TCK) ] | [ Release Notes (Weld, CDI TCK) ] | [ Reference Guide (Weld, CDI TCK ] | [ Issue Tracker (Weld, CDI TCK) ] | [ CDI Javadoc ]