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> <!-- Use version 2.0 for Weld 3 --> <version>1.2</version> <scope>provided</scope> </dependency>
Last year Weld team announced the weld-vertx project. It's a good time to summarize the features and plans for future. more
Watch out, Weld 2.4.4.Final coming through! more
Tour around the new stuff in Weld 3 more
Weld 3 finally comes to the party. CDI 1.2 is dead, long live CDI 2.0! more
Make way for Weld 2.4.3.Final! more