A JBoss Project
Red Hat
CDI tagcloud

Weld is the reference implementation of CDI: Contexts and Dependency Injection for the Java EE Platform which is the Java standard for dependency injection and contextual lifecycle management and one of the most important and popular parts of the Java EE platform.

Weld is integrated into many Java EE application servers such as WildFly, JBoss Enterprise Application Platform, GlassFish, Oracle WebLogic and others. Weld can also be used in a Servlet-only environment (Tomcat, Jetty) or plain Java SE environment.

Try Weld Today

To use Weld today, download the WildFly server (formelly JBoss AS) and add the following code to the pom.xml file of your application:


For alternative ways of using Weld, see the download section or the reference documentation.

Weld Book

The latest book on Weld is now available:


  • Weld 3.0.0.Alpha5

    2015-2-25: Jozef Hartinger

    Weld 3.0.0.Alpha5, the latest release in the series of CDI 2.0 prototypes, has been released. The highlights of the release include new Bean builder API and many improvements to Weld Probe. Bean Builder API The common way for frameworks and libraries to expose their API to applications via CDI is by using producer...

    Read more »
  • Weld 3.0.0.Alpha4

    2015-2-5: Jozef Hartinger

    Here we are again with the next Alpha release of Weld 3. This time there are no additional CDI 2.0 previews. Instead, this release contains multiple performance improvements, enables @Asynchronous calls to be implemented simply with CDI interceptors and most importantly, it comes with weld-probe. Weld Probe Why isn’t my field injected? Why isn’t my interceptor triggered? What...

    Read more »
  • An update on Weld 3

    2014-12-10: Jozef Hartinger

    Today we are releasing the third Alpha release of Weld 3. These Alpha releases serve as prototypes of changes currently being discussed by the CDI expert group for the upcoming CDI 2.0. The Alpha releases are not suitable for production use as the new API and functionality are still subject to change. We are...

    Read more »