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.
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>
We are pleased to announce a release of embedded Arquillian container adapter for Weld. This container has deserved some love for... more
The next version of the stable 2.3 branch (CDI 1.2, WildFly 10) has been released. more
Weld team has just released the first version of weld-vertx. Check the new features and explore the possibilities. more
Weld team is considering adding an enhanced version of javax.enterprise.inject.Instance to the Weld API. Explore the possibilities... more
Start playing with metadata configurators included in the next experimental version of Weld (aligned with CDI 2.0.Alpha4). more