 | Level: Introductory Richard Hightower (rhightower@arc-mind.com), CTO, ArcMind
29 Jan 2008 This tutorial series covers how to get started with
Java™ Server Faces (JSF) technology, a server-side framework that offers a
component-based approach to Web user-interface development.
Part 1
gets you started with a JSF 1.2 overview and a basic application. This sequel gives
you a firm grasp of JSF's more-advanced features: custom validators, converters, and
phase listeners. Along the way you'll gain an understanding of the JSF application
life cycle. In this tutorial
This tutorial series is about getting started with JavaServer Faces (JSF) technology, a server-side user-interface component framework for Java-based Web applications. The series is for developers who are new to JSF and want to come up to speed quickly — not just with JSF, but with using JSF components to reduce effort. The series covers just the essentials, with lots of examples. JSF is a more-traditional GUI development environment like AWT, SWT, and Swing. One of
its major benefits is that it makes Web development easier by putting the hard work on the framework developers, not the application developers. Granted, JSF itself is more complex than many other Web frameworks, but the complexity is hidden from the application developer. It is much easier to develop Web applications in JSF than in most other frameworks: it requires less code, less complexity, and less configuration.
If you are doing Java server-side Web development, JSF is the easiest framework to learn. It is geared for creating Web applications (not Web sites per se). It allows you to focus on your Java code and without handling request objects, session objects, request parameters, or dealing with complicated XML files. With JSF, you can get more things done more quickly than with other Java Web frameworks. This tutorial picks up where
Part 1
leaves off. If you are new to JSF or just want a refresher, then read the first
installment before you begin this one. Even if you are an old JSF pro, there is
likely a gem or two in that will help you out.
Objectives - Continue getting an overview of JSF's features.
- Learn how to work with all of the JSF components.
- Build a simple contact-management application — a basic CRUD (create,
read, update, delete) listing.
- After learning about the JSF application life cycle, improve the
application with custom converters and validators.
- Create an object-level validation framework using a phase listener.
Prerequisites
This tutorial is written for Java developers whose experience is at a beginning to intermediate level. You should have a general familiarity with using the Java language, with some GUI development experience.
System requirements
To run the examples in this tutorial, you need a Java development environment
(JDK) and Apache Maven. It helps to have a Java IDE. Maven project files and
Eclipse Java EE and Web Tools Project (WTP) project files are provided. The example
code is included with the tutorial.
Duration
1-2 hours
Formats html, pdf
|  | |  |