Jakarta Faces
4.0
3.0
2.3
2.2

This feature enables support for web applications that use the Jakarta Faces 4.0 framework. This framework simplifies the construction of user interfaces.

If you are updating your application from using the faces-3.0 feature to using the faces-4.0 feature, changes in API behavior might require you to update your application code. For more information, see Differences between Jakarta Faces 4.0 and 3.0.

Enabling this feature

To enable the Jakarta Faces 4.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>faces-4.0</feature>

Standard API packages provided by this feature

  • jakarta.faces

  • jakarta.faces.annotation

  • jakarta.faces.application

  • jakarta.faces.component

  • jakarta.faces.component.behavior

  • jakarta.faces.component.html

  • jakarta.faces.component.search

  • jakarta.faces.component.visit

  • jakarta.faces.context

  • jakarta.faces.convert

  • jakarta.faces.el

  • jakarta.faces.event

  • jakarta.faces.flow

  • jakarta.faces.flow.builder

  • jakarta.faces.lifecycle

  • jakarta.faces.model

  • jakarta.faces.push

  • jakarta.faces.render

  • jakarta.faces.validator

  • jakarta.faces.view

  • jakarta.faces.view.facelets

  • jakarta.faces.webapp

  • org.apache.myfaces.core.api.shared

  • org.apache.myfaces.core.api.shared.lang

Third-party API packages provided by this feature

  • org.apache.myfaces.config.webparameters

  • org.apache.myfaces.renderkit

  • org.apache.myfaces.renderkit.html

  • org.apache.myfaces.renderkit.html.base

  • org.apache.myfaces.renderkit.html.util

Features that this feature enables

Supported Java versions

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

Features that enable this feature

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.faces-4.0; type="osgi.subsystem.feature"