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.
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 plain servlet containers (Tomcat, Jetty) or Java SE.
To use Weld today, download the
(formerly JBoss AS) and add the following code to the
file of your application:
<dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId> <version>1.2</version> <scope>provided</scope> </dependency>
Another bugfix version of Weld 2.4 (CDI 1.2) is here. Today with some CDI 2 stuff! more
Taking a dive into CDI/Weld application testing. more
Weld 3.0.0.CR1 (CDI 2.0-PFD) released. And it's almost Final! more
Weld 3.0.0.Beta1 (CDI 2.0.Beta1) done. We're almost there! more
The development of Weld 3 (CDI 2) is underway. But for now the first bugfix version of Weld 2.4 (CDI 1.2) is landing. more