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: [Updated in June 2013] The FacesServlet must be defined in the web.xml of the application. [Updated in June 2013]
jun2013
gotcha

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




Related concepts
Contexts and Dependency Injection (CDI)
Related tasks
Developing applications that use Contexts and Dependency Injection (CDI)
Concept topic Concept topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jan 30, 2014 9:17:32 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-iseries&topic=cweb_cdi_integration
File name: cweb_cdi_integration.html