JavaBeat
JSF Home Articles Resources Tutorials JSF Interview Questions & FAQs JSF QnA Code Junction


1. JavaServer Faces Technology

2. JavaServer Faces Technology Benefits

3. What Is a JavaServer Faces Application?

4. Framework Roles

5. A Simple JavaServer Faces Application

6. User Interface Component Model

7. Navigation Model

8. Backing Bean Management

9. How the Pieces Fit Together

10. The Life Cycle of a JavaServer Faces Page

What Is a JavaServer Faces Application?

For the most part, JavaServer Faces applications are just like any other Java web application. They run in a servlet container, and they typically contain the following:

  • JavaBeans components containing application-specific functionality and data
  • Event listeners
  • Pages, such as JSP pages
  • Server-side helper classes, such as database access beans

In addition to these items, a JavaServer Faces application also has

  • A custom tag library for rendering UI components on a page
  • A custom tag library for representing event handlers, validators, and other actions
  • UI components represented as stateful objects on the server
  • Backing beans, which define properties and functions for UI components
  • Validators, converters, event listeners, and event handlers
  • An application configuration resource file for configuring application resources

A typical JavaServer Faces application that is using JSP pages for rendering HTML must include a custom tag library that defines the tags representing UI components. It must also have a custom tag library for representing other core actions, such as validators and event handlers. Both of these tag libraries are provided by the JavaServer Faces implementation.

The component tag library eliminates the need to hardcode UI components in HTML or another markup language, resulting in completely reusable UI components. The core tag library makes it easy to register events, validators, and other actions on the components.

This chapter provides more detail on each of these features.



Sponsors
Webmaster Hosting Forum
Java Jobs
MyVideoLib
India News
Internet Advances
Latest QnA
Describe the lifecycle of a receiver application in order to receive a message?
Messages are not successful until they have been acknowledged. What are the types of acknowledgments?
What happens to messages if a transaction is rolled back?
What is the Role of the JMS Provider?
What is JMS administered object ?

JavaBeat Media (2004-2008), India
javabeat | planetoss | links directory | advertise
Copyright (2004 - 2008), JavaBeat