CDI integration with JavaServer Faces

Contexts and Dependency Injection (CDI) primarily integrates with JavaServer Faces (JSF) through the Expression Language (EL). It enables CDI beans to be exposed through the unified EL-to-JSF components. It also provides a built-in context for conversation scope that is active during standard JSF life cycle phases.

As part of the WebSphere® Application Server integration with CDI containers, several JSF components are automatically registered for CDI applications, including:
Avoid trouble Avoid trouble: The FacesServlet must be defined in the web.xml of the application.gotcha

Only the default JSF implementation (based on MyFaces) is supported for use with CDI.

Concept topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=cweb_cdi_integration
File name: cweb_cdi_integration.html