Configuring third-party JavaServer Faces 2.3 implementations
Use the JavaServer Faces (JSF) Container 2.3 feature to allow Contexts and Dependency Injection (CDI) integration to work with a JSF provider that is bundled within an application.
Before you begin
jsf-2.3 feature instead.About this task
Use the Liberty JSF container to package
any 2.3.X version of the MyFaces or Mojarra JSF implementation within an application and also use
Liberty CDI integrations. To configure a
Liberty server to run an application with JSF 2.3, enable the jsfContainer-2.3
feature and package the JSF API and implementation inside of your application.
Important:
- You cannot use the
jsfContainer-2.3feature with other JSF features, such asjsf-2.3. - To use the JSF container, package the JSF API
javax.facesclasses and a JSF implementation inside of the application. The program does not support packaging the JSF API and implementation in a shared library. - The
jsfContainer-2.3feature is supported only for the JSF API and implementation that correspond to the 2.3 version of the JSF specification. TheMANIFEST.MFof the JSF API and implementation must define aSpecification-Versionbetween version ranges[2.3,2.4). - For JSF
@ManagedBeanswithjsfContainer-2.3, the program does not support the injection of objects with@Resourceor@EJBbeans. Use the CDI@Namedbeans instead.