Java: View Technologies and Frameworks - JavaServer Faces (JSF) and Facelets

JavaServer Faces (JSF) and Facelets

  • A specification for component-based view frameworks.
  • Mojarra and Apache MyFaces implementations are available
  • Typically uses Facelets for XML/XHTML-based templating.
  • Classes are written as POJOs, with and Annotations or XML configuration files used to associate them with page and component templates.
  • The Unified Expression Language allows binding component fields and events to POJO bean properties and methods.
  • Conversion and validation constraints can be specified in Facelets and are automatically applied, normally resulting in reposting of the same page with error information in case of failure.
  • Navigation can be via configuration file rules or directly specified in the page.
  • Can transparently support Ajax.
  • Competitor: Wicket, Tapestry

Read more about this topic:  Java: View Technologies And Frameworks

Famous quotes containing the word faces:

    A woman drew her long black hair out tight
    And fiddled whisper music on those strings
    And bats with baby faces in the violet light
    Whistled, and beat their wings
    And crawled head downward down a blackened wall....
    —T.S. (Thomas Stearns)