Contexts and Dependency Injection 1.0
The Contexts and Dependency Injection 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-1.0
If you are installing into 22.214.171.124 or earlier and the feature supports that version, use the featureManager command, for example:
bin/featureManager install cdi-1.0 --when-file-exists=ignore
To use the feature at runtime add the following to your server.xml file