Jump to content

Apache MyFaces

From Alfawiki
Apache MyFaces
Company typeOpen source project
IndustrySoftware, Java web development
Area served
Worldwide
ProductsJavaServer Faces implementations and component libraries
ParentApache Software Foundation
Websitemyfaces.apache.org

Apache MyFaces represents a project under the Apache Software Foundation umbrella focused on creating and sustaining an open-source version of JavaServer Faces (JSF). Alongside the core framework, it offers multiple JSF component libraries ready for deployment. The initiative is composed of several distinct sub-projects:

  • Core: Delivers implementations of JSF specifications ranging from version 1.1 up to 4.0, as outlined by JSR 127, 252, 314, 344, and 372.
  • Portlet Bridge: Provides an implementation of the JSF Portlet Bridge specification (JSR 301).
  • Tomahawk: A collection of JSF components originally created by the MyFaces team prior to their contribution to Apache.
  • Trinidad: A suite of JSF components donated by Oracle, formerly recognized as Oracle ADF Faces.
  • Tobago: JSF components supplied by Atanion GmbH.
  • Orchestra: A framework designed to handle persistence session management across different scopes.
  • Extensions Validator: A validation system centered on JSF that utilizes annotations.
  • CODI: A toolkit facilitating development with CDI, JSF, Bean Validation, and JPA technologies.
  • Others: Various smaller subprojects including MyFaces Commons and MyFaces Shared.

Following the Model View Controller architecture, MyFaces is both component-driven and event-oriented. Although JSP serves as the primary templating language, it also accommodates XML-based alternatives like Shale Clay and Facelets.

Core

The Core segment of MyFaces delivers an open-source realization of the JavaServer Faces standard. Each significant version undergoes certification via the Sun Technology Compatibility Kit to guarantee specification adherence.

This core project is segmented into two principal modules:

  • MyFaces API encompasses all classes mandated by the specification.
  • MyFaces Impl contains crucial support classes such as renderers for standard JSF components that are not directly accessed in user applications.

These modules are packaged as two separate libraries—myfaces-api.jar and myfaces-impl.jar—both necessary for deploying any web application based on JSF.

The most recent release of MyFaces Core is version 2.3.4, which requires Java 1.8 or newer, JSP 2.2, JSTL 1.2, CDI 2.0, WebSocket 1.1, along with a Java Servlet 4.0-compliant container.

See also

External links