ORIGIN OF JSF



Before jsf was introduced there were many frameworks which gained popularity (Spring,Struts etc).All of them offered many benefits explicitly by following MVC2 approach.Despite of those benefits they  lacked something i.e a robust user-interface-oriented framework.We need  better way to handle the view tier.

To address this need,several leading software vendors including SUN,IBM,Oracle and BEA met through the Java Community Process in may 2001 and given  detailed specification for building J2EE thin client web applications whose primary goal is to provide a simple way to build user interfaces for java web applications.This result in Java Specification Request JSR #127.Here are the design goals of JSF taken from the java community process.

  1. Create a standard GUI component framework which can be leveraged by development tools to make it easier for tool users to both create high quality GUIs and manage the GUI's connections to application behavior.
  2. Define a set of simple lightweight Java base classes for GUI components, component state, and input events. These classes will address GUI lifecycle issues, notably managing a component's persistent state for the lifetime of its page.
  3. Provide a set of common GUI components, including the standard HTML form input elements. These components will be derived from the simple set of base classes (outlined in #1) that can be used to define new components.
  4. Provide a JavaBeans model for dispatching events from client-side GUI controls to server-side application behavior.
  5. Define APIs for input validation, including support for client-side validation.
  6. Specify a model for internationalization and localization of the GUI.
  7. Automatic generation of appropriate output for the target client, taking into account all available client configuration data, such as browser version, etc.
  8. Automatic Generation of output containing required hooks for supporting accessibility, as defined by WAI.


Comments

Popular posts from this blog

What's New in JAVA 8

Singleton Design Pattern

Internals of JSF