Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. User Interface Components- These are stateful objects which are built over JavaBeans. Each UI component has associated events, properties and methods. These component reside on server side rather than having them on the client side(for example swing components). In JSF UI components are rendered for the browser. For any user request components output the HTML, which is then rendered and shown to the user as GUI elements.
  2. Navigation- JSF defines a very effective navigation system. For a given page the navigation rules defines what are the valid outcomes and which page to load for each output.
  3. Renderer- This component is used to render UI components. This component can provide different rendering options depending on different types of browser (example Netscape, Internet explorer, Mozilla, Firefox). A renderer translates the user input to values which are understandable by components and vice versa.
  4. Converter- A converter converts data from one type to another. The converted in JSF converts user inputs to components and vice versa.
  5. Validator- A validator validates the user input and verifies whether the input is in acceptable format. In the conventional web development validation is taken care by scripting languages like Java Script and that puts a considerable overhead over the application. JSF provides the controller mechanism which validates the input. Validation is done at the UI component level as well as the bean level.
  6. JavaBeans- In JSF Java Beans define the interaction between UI component and model. They play the role of Contollers Controllers in JSF. We can say that Backing Bean controls the form and the components associated with the form.
  7. Internationalization and Localization- JSF uses the internationalization tags from Java Server pages standard Tag library(JSTL).

This completes what gives the basic idea on architectural design of Java Server Faces and the various components available with Java Server Faces. Underlining samples will describe how MVC architecture and various components are being used in application development.Developing a simple Java Server Faces application

Children Display
alltrue