Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

JavaServer Faces technology provides

  • APIs for representing user interface components and managing their state, handling events triggered on them, validating inputs entered by user, defining page navigation, supporting internationalization and accessibility.
  • A custom tag library for developing JSF interface within a JSP.

JavaServer Faces is a flexible technology that uses the existing user interface and web tier mechanisms but it does not tie up the applications to a particular mark-up language, protocol and client device. It encapsulates various UI component functionality enabling it render data to various client devices by developing required custom tags. JavaServer Faces technology provides a custom renderer and a JSP custom tag library for rendering to an HTML client, allowing developers of Java Platform, Enterprise Edition (Java EE) applications to use JavaServer Faces technology in their applications.

JavaServer Faces technology clearly separates presentation logic from the application logic. Several development roles can be created and designated during the application development state. The JSF technology is developed through Java Community Process under JSR-127.

Apache geronimo v2.1 uses Apache MyFaces v1.2.2 for JSF implementation. This tutorial illustrates the following aspects of JSF.

  • Various UI components of JSF .
    (Text box, Combo box, Select box, Radio button, submit button).
  • Associating validations to UI components.
  • Configuring navigation rules using eclipse wizard.
  • Configuring JSF managed beans.
  • Associating managed bean actions to events.
  • Using JPA to persist the data captured in JSPs through managed beans.

...