Contexts and Dependency Injection 2.0

The Contexts and Dependency Injection 2.0 specification makes it easier to integrate Java EE components of different types. It provides a common mechanism to inject component such as EJBs or Managed Beans into other components such as JSPs or other EJBs.

Command Line Install

To install the feature from the command line, type:
bin/installUtility install cdi-2.0

Config Instructions

To use the feature at runtime add the following to your server.xml file
<featureManager>
  <feature>cdi-2.0</feature>
</featureManager>

Additional Information