Context and dependency injection (CDI) Overview (JSR 299)

Contexts and dependency injection (CDI) for the Java™ EE platform is an implementation based on the JSR 299 specification. You can create applications that implement CDI in your Java EE projects.
CDI applications are activated by the presence of a beans.xml file that exists in the WEB-INF directory of a web archive (WAR), or in the META-INF directory of other types of archives, as defined by the JSR 299 specification. When activated, the container provides services such as:

For more information about the CDI annotations, see Package javax.inject.

For more information about using CDI in WebSphere® Application Server, see Contexts and Dependency Injection (CDI).


Feedback