Developing applications that use Contexts and Dependency Injection (CDI)

Use this task to provide a summary of the WebSphere® Application Server extensions that you can use to develop servlets.

About this task

Several WebSphere Application Server extensions are provided for enhancing your servlets. This task provides a summary of the extensions that you can use.

Procedure

  1. Review the supported specifications.

    Create Java™ components, referring to the CDI specifications from Sun Microsystems. 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.

  2. Use your favorite integrated development environment (IDE), or a text editor, to develop or migrate code artifacts that meet the specifications.
  3. Test the code artifacts.

What to do next

Assemble your code artifacts into a web module using assembly tools as a prerequisite to deploying the code to the application server.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 7:16:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-express-iseries&topic=tweb_cdi_developing
File name: tweb_cdi_developing.html