Jakarta Contexts and Dependency Injection 3.0
The Jakarta Contexts and Dependency Injection 3.0 specification makes it easier to integrate Jakarta EE components of different types. It provides a common mechanism to inject components such as enterprise beans or managed beans into other components such as JSPs or other enterprise beans.
Enable this feature
To enable the Jakarta Contexts and Dependency Injection 3.0 feature, add the following element declaration into server.xml, inside the featureManager element:
<feature>cdi-3.0</feature>
Feature configuration elements
- application
- applicationManager
- applicationMonitor
- authData
- cdi
- cdi12
- classloader
- classloading
- javaPermission
- library
- transaction
Standard API packages provided by this feature
- jakarta.activation
- jakarta.decorator
- jakarta.enterprise.context
- jakarta.enterprise.context.control
- jakarta.enterprise.context.spi
- jakarta.enterprise.event
- jakarta.enterprise.inject
- jakarta.enterprise.inject.literal
- jakarta.enterprise.inject.se
- jakarta.enterprise.inject.spi
- jakarta.enterprise.inject.spi.configurator
- jakarta.enterprise.util
- jakarta.inject
- jakarta.interceptor
Third-party API packages provided by this feature
- org.jboss.weld.context
- org.jboss.weld.context.api
- org.jboss.weld.context.bound
Supported Java versions
- JavaSE-1.8
- JavaSE-11.0
- JavaSE-17.0
- JavaSE-21.0
- JavaSE-24.0
Platform Versions
- jakartaee-9.1
Features that enable this feature
- appSecurity-4.0
- facesContainer-3.0
- jakartaeeClient-9.1
- microProfile-5.0
- mpFaultTolerance-4.0
- mpGraphQL-2.0
- mpHealth-4.0
- mpJwt-2.0
- mpMetrics-4.0
- mpOpenTracing-3.0
- mpReactiveMessaging-3.0
- restfulWSClient-3.0
- webProfile-9.1
Develop a feature that depends on this feature
If we are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.
io.openliberty.cdi-3.0; type="osgi.subsystem.feature"
SPI packages provided by this feature
- io.openliberty.cdi.spi