What Is a JavaServer Faces Application?
Answered
What Is a JavaServer Faces Application?
Best answer
The functionality provided by a JavaServer Faces application is similar to that of any other Java web application. A typical JavaServer Faces application includes the following parts:
- A set of web pages in which components are laid out
- A set of tags to add components to the web page
- A set ofmanaged beans, which are lightweight container-managed objects (POJOs) with minimal requirements. They support a small set of basic services, such as resource injection, lifecycle callbacks and interceptors.
- A web deployment descriptor (web.xml file)
- Optionally, one or moreapplication configuration resource files, such as a faces-config.xml file, which can be used to define page navigation rules and configure beans and other custom objects, such as custom components
- Optionally, a set of custom objects, which can include custom components, validators, converters, or listeners, created by the application developer
- Optionally, a set of custom tags for representing custom objects on the page