Registry / dependency-injection / weld-se

weld-se

JSON →
library2.4.8.Finaljavamavenunverified

Weld SE provides CDI container support for Java SE applications, enabling dependency injection outside of Jakarta EE.

<dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se</artifactId> <version>2.4.8.Final</version> </dependency>
INSTALL
IMPORT
SIG · WELD-SE
W
weld-se
dependency-injectionjavav2.4.8.Final
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Weld
org.jboss.weld.environment.se.Weld

Initializes a Weld SE container for CDI in a standalone application.

import org.jboss.weld.environment.se.Weld; import org.jboss.weld.environment.se.WeldContainer; public class Example { public static void main(String[] args) { Weld weld = new Weld(); WeldContainer container = weld.initialize(); // Use beans from container container.shutdown(); } }
Debug
Known issues
breakingWeld SE 2.x uses older CDI 1.2 API; newer versions use CDI 2.0+.
fix
Upgrade to Weld SE 3.x for CDI 2.0 support.
affects: 2.x
Upgrade
Version history
2.4.8.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
22
OpenAI (training)
1
Resources
weld-se — mvn dependency:get weld-se · libregistry