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 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 WildFly server (formelly 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>
2015-8-5: Martin Kouba
Weld 3.0.0.Alpha12 has been released. Compared to previous alpha releases this is an important milestone - it’s a reference implementation of CDI 2.0 Early Draft (EDR1). You can read more about CDI 2.0 EDR1 on the official blog: CDI 2.0 Early Draft Review 1 released. Bootstrapping a CDI container in Java...Read more »
2015-4-21: Jozef Hartinger
Weld 3.0.0.Alpha8 has been released. The main change is the enhanced API for using Weld in Java SE environment. In addition, this release comes with several weld-probe improvements. Enhanced API for Weld SE Weld has provided support for the Java SE environment for a long time with the weld-se module. The API provides an...Read more »
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 »