JavaServer Faces 2.2 feature functions

Learn about JavaServer Faces (JSF) 2.2, which supports the JSF 2.2 specification. You can configure WebSphere® Application Server traditional Version 9.0 to use JSF 2.2 for improved developer efficiency and compatibility with modern paradigms.

Following is a list of significant enhancements that are available in the most current specification. See Java Specification Requests for more descriptions.

  • Faces Flows enables developers to logically group JSF views to represent modules of functions. Each module has a well-defined set of entry and exit points. Combining modules creates a flow of functions. An example of a flow of functions is an order checkout process. Read section 7.5 of the specification for more details.
  • Resource Library Contracts enable resource libraries to reside in the contracts directory of the web-app root directory, or in the META-INF/contracts entry name in the JAR file. Read section 10.1.3 of the specification for more details.
  • JSF 2.2 also introduced the ability for applications to use stateless views. Read section 7.8.1.1.
  • JSF 2.2 can handle HTML5 attributes through pass-through elements and pass-through attributes. Read section 10.1.4 for more information.