Question: I design User Interface for server applications. Are there
any libraries, APIs, rules should I use/follow to make the development easier
Answer: Yes, the JavaServer Faces Technology!
JavaServer Faces technology simplifies building user interfaces for JavaServer
applications. With the well-defined programming model that JavaServer Faces
provides, developers of various skill levels can quickly and easily build web
applications by: assembling reusable UI components in a page, connecting these
components to an application data source, and wiring client-generated events to
server-side event handlers. With the power of JavaServer Faces technology, these
web applications handle all of the complexity of managing the user interface on
the server, allowing the application developer to focus on application code.
A set of APIs for:
representing UI components and managing their state, handling events and input
validation, defining page navigation, and supporting internationalization and
A JavaServer Pages (JSP)
custom tag library for expressing a JavaServer Faces interface within a JSP
Designed to be flexible, JavaServer Faces technology leverages existing,
standard UI and web-tier concepts without limiting developers to a particular
mark-up language, protocol, or client device. The UI component classes included
with JavaServer Faces technology encapsulate the component functionality, not
the client-specific presentation, thus enabling JavaServer Faces UI components
to be rendered to various client devices. By combining the UI component
functionality with custom renderers, which define rendering attributes for a
specific UI component, developers can construct custom tags targeted to a
particular client device. As a convenience, JavaServer Faces technology provides
a custom renderer and a JSP custom tag library for rendering to an HTML client,
allowing developers of Java 2 Platform, Enterprise Edition (J2EE) applications
to use JavaServer Faces technology in their applications.
Ease-of-use being the
primary goal, the JavaServer Faces architecture clearly defines a separation
between application logic and presentation while making it easy to connect the
presentation layer to the application code. This design enables each member of a
web application development team to focus on their piece of the development
process, and provides a simple programming model to link the pieces together.
For example, web page developers with no programming expertise can use
JavaServer Faces UI component tags to link to application code from within a web
page without writing any scripts.
This and more description is published on:
Our older tips: March 22, 2001 - October 21, 2002
All published and not published on the site tips read
80 comments | | Score: 5