CDI integration with JavaServer Faces

Contexts and Dependency Injection (CDI) primarily integrates with JavaServer Faces (JSF) through the Expression Language (EL) and enables CDI beans to be exposed through the unified EL-to-JSF components. CDI 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:
  • EL Resolver
  • View Handler
  • EL Context Listener
  • EL Expression Factory

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