View GraphicallyDownload

Meme Name:Java Server Faces
Category:interfaces
Related Concepts:
Related Links:
  • Sun JSF tutorial

  • Sun JSF homepage

  • JSFCentral resource site


  • Core Concept
    A web application framework. MVC based: pages are declarative, with all logic removed. Aim is to provide a Swing-type toolkit for web applications.
    goals
    Simpler, easier development
    simplify
    By providing abstractions such as error handling, session management and reusable components.
    methodology
    Author JSP pages, using JSF components that encapsulate HTML elements. Write a JavaBean as the state holder of user-input and component data. Write event listeners: e.g. action on button click or form submit.
    standardise
    A standard for tool-makers, component writers and application writers.
    constituents
    Framework consists of a tag library of prefabricated renderable components and a set of APIs.
    components
    UI components, Renderers, Validation and Conversion, Component Tree (in memory DOM-type model of interface)
    APIs
    APIs for: representing UI components and managing state, handling events and input validation, defining page navigation, internationalization and accessibility.
    events
    JSF supports two events types: ActionEvent (fired when a form is submited or button clicked) and ValueChangedEvent (fired if a JSF component value changes)
    lifecycle
    Reconstitute Component Tree - Apply Request Values - Process Validations - Update Model Values - Invoke Application - Render Respons

    Author: Jaron CollisLast modified: Tuesday, 14 October 2003 at 11:37 AM *