WAS v8.5 > Develop applications > Develop web applications > Develop web applications > Develop CDIDevelop applications that use Contexts and Dependency Injection (CDI)
Use this task to provide a summary of the WebSphere Application Server extensions used to develop servlets.
Several WAS extensions are provided for enhancing your servlets. This task provides a summary of the extensions that we can use.
- Review the supported specifications.
Create Java™ components, referring to the CDI specifications. Place a beans.xml file in the WEB-INF directory of the WAR module, or META-INF directory of a JAR file, so the container identifies it as a bean deployment archive.
- Use your favorite integrated development environment (IDE), or a text editor, to develop or migrate code artifacts that meet the specifications.
- Test the code artifacts.
Assemble your code artifacts into a web module using assembly tools as a prerequisite to deploying the code to the application server.
Related concepts:
CDI
CDI integration with JavaServer Faces
Related
Troubleshooting contexts and dependency injection
Reference:
Contexts and Dependency Injection custom properties
Related information:
CDI