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