About

Weld is the reference implementation of CDI: Contexts and Dependency Injection for the Java EE Platform which is a JCP 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 Server, WebSphere Application Server 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 (formerly JBoss AS) and add the following code to the pom.xml file of your application:

<dependency>
   <groupId>javax.enterprise</groupId>
   <artifactId>cdi-api</artifactId>
   <version>1.2</version>
   <scope>provided</scope>
</dependency>

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

Weld Book

The latest book on Weld is now available:

Latest News

  • Weld 3.0.0.Alpha15

    2016-2-4: Martin Kouba

    The next experimental Weld version has been released. more


  • Weld 2.3.2.Final

    2015-12-10: Martin Kouba

    Weld 2.3.2.Final the last version for this year has been released! It is a bug-fixing release with 15 issues resolved. See also the release details. Thanks to everyone involved in... more


  • Weld 3.0.0.Alpha14

    2015-12-4: Martin Kouba

    Weld 3.0.0.Alpha14 the penultimate Weld version for this year has been released into the wild. It reflects some of the most recent changes in the CDI 2.0 specification, mostly related to... more


  • Arquillian container SE 1.0.0.CR1 released!

    2015-11-25: Tomas Remes

    We are pleased to announce a new release of Arquillian container SE. If you are looking for a reliable way to test your application in Java SE then this is the... more