Trainers' thoughts on Java and related technologies

JavaServer Faces (JSF) is a web-based application framework. It is a request-driven MVC technology based on a component driven UI design model. As with Struts, JSF uses XML files for configuration and the integration of MVC elements.

Requests are processed by the FacesServlet, which loads the appropriate view template, builds a component tree, processes events, and renders the response to the client. The state of UI components (and other objects) is saved at the end of each request, and restored upon next creation of that view.

Several types of state persistence are available, including client-side and server-side state-saving.

JSF 1.x uses JavaServer Pages (JSP) for its display technology, but it can accommodate other technologies. JSF2 uses Facelets, a powerful view description language.

JSF Features:

  • Inversion of Control (IoC), a methodology for leveraging Plain Old Java Objects (POJO).
  • Template-based component system provides a means of creating composite component creation.
  • Ajax support minimizes the requirement for JavaScript.
  • Unified Expression Language (EL) which allows views to access Managed Bean properties and methods.
  • A set of HTML and web-application specific UI components.
  • A server-side event model for dispatching events and attaching listeners to system operations.
  • State management for “request”, “session”, “application”, “flash”, and “view” scoped beans.
  • XML-based tag libraries defining core and html functionality.

For more information on JSF, check out our JavaServer Faces training opportunities.

No TweetBacks yet. (Be the first to Tweet this post)

One Response to “JavaServer Faces (JSF): A Feature Rich Framework”

  1. If you want to learn more about JSF, please consider acquiring my book, JavaServer Faces 2.0: The Complete Reference. It’s the best reviewed book on JSF!

    Ed Burns
    JSF Spec lead and author
    http://jsfcompref.com/

Tweetbacks

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724 | Fax: 315-849-2723