Apache MyFaces

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Apache MyFaces
MyFaces logo.jpg
Developer(s) Apache Software Foundation
Stable release 2.2.6 / November 17, 2014 (2014-11-17)[1]
Written in Java
Operating system Cross-platform
Type Web Framework
License Apache License 2.0
Website http://myfaces.apache.org

Apache MyFaces is an Apache Software Foundation project that creates and maintains an open-source JavaServer Faces implementation, along with several libraries of JSF components that can be deployed on the core implementation. The project is divided into several sub-projects:

  • Core: an implementation of the JSF 1.1, JSF 1.2, JSF 2.0 and JSF 2.1 specification and components as specified by JSR 127, JSR 252 and JSR 314 respectively
  • Portlet Bridge: an implementation of the JSF Portlet Bridge specification as specified by JSR 301
  • Tomahawk: a set of JSF components created by the MyFaces development team prior to its donation to Apache
  • Trinidad: a set of JSF components contributed to MyFaces by Oracle, where it was known as ADF Faces
  • Tobago: a set of JSF components contributed to MyFaces by Atanion GmbH
  • Orchestra: a framework used to manage persistence sessions across various scopes
  • Extensions Validator: a JSF centric validation framework, which is based on annotations
  • Others: As well as these subprojects, MyFaces has a number of smaller subprojects, for example MyFaces Commons or MyFaces Shared. These subprojects can be found here.

The standard is based on the Model View Controller paradigm, but is also component-based and event-oriented. Different templating languages can be used. In the standard, JSP is used, other options include XML based templating languages like Shale Clay or Facelets.[2]

Core[edit]

The MyFaces Core subproject is an open-source implementation of the JavaServer Faces specification. Each major release of MyFaces Core is certified against the Sun Technology Compatibility Kit to ensure compliance.[3]

The core subproject is divided into two submodules:

  • MyFaces API implements all of the classes that are defined in the specification.
  • MyFaces Impl provides "invisible" support classes that user code does not directly invoke, but which is needed for a working JSF framework. Examples are the renderer classes for the standard JSF components.

These two submodules are distributed in two libraries, myfaces-api.jar and myfaces-impl.jar. Both of them are needed to be able to deploy a JSF based web application.

The latest release of MyFaces Core is 2.1.12. It requires Java 1.5 or later, JSP 2.1, JSTL 1.2 and a Java Servlet 2.5 implementation.[4]

See also[edit]

References[edit]

  1. ^ "Release Notes - MyFaces Core - Version 2.2.6 - HTML format". Retrieved 2014-12-03. 
  2. ^ http://myfaces.apache.org/jsfintro.html
  3. ^ "Apache MyFaces Core 1.2 Description". Archived from the original on 13 December 2009. Retrieved December 7, 2009. 
  4. ^ "Apache MyFaces Core 2.1 Description". Retrieved 2013-10-08. 

External links[edit]