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-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 right tool to try out! This managed SE container launches new JVM process for each of your test archives. This standalone process...Read more »
2015-11-10: Martin Kouba
Weld comes with a special mode for application development. When enabled, some interesting data are collected so that it’s possible to inspect and monitor application components at runtime (see also the demo application hosted on OpenShift). Data in JSON format are available through the REST API, eventually through the MXBean of...Read more »
2015-10-27: Martin Kouba
Weld 2.3.1.Final has been released! The delivery: a few killed bugs, couple of Weld SE enhancements and several Weld Probe improvements. Notable bug-fixes and enhancements: Private producer, disposer and observer methods should be intercepted (WELD-2043) Specializing bean - remove @Default qualifier unless explicitly declared (WELD-2046) Weld SE Fix the development mode enablement Allow to pass a...Read more »