Jakarta Contexts and Dependency Injection3.02.01.2
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.
Enabling this feature
To enable the Jakarta Contexts and Dependency Injection 3.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>cdi-3.0</feature>
Standard API packages provided by this feature
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.beanstore
org.jboss.weld.context.bound
org.jboss.weld.context.conversation