This tutorial teaches
you how to design a
dynamic Web site that functions as a newspaper's classified advertising
section.
The Web site is a complete J2EE Web application that uses JavaServer
Faces
(JSF) components and Service Data Objects (SDO). This application
uses JSF
technology to create dynamic Web pages that link to a database that
stores
classified advertising data. By dragging JSF components onto your
pages, you
can create a JSF Web application known as a CRUD application because
it can
create, read, update, and delete records from a database. Site users
can use
these functions to manage the classified ads in the database.
Learning objectives
This
tutorial is divided into two modules, each with its own learning objectives.
You can choose to complete either or both modules. Within each module,
you
must complete the exercises in order for the Web site to work properly.
Module 1: Create Web pages with data connections
This
module teaches you how to set up a connection to a database and display
the
information from the database on a Web page. In this module, you will:
- Connect Web pages to a database.
- Create pages that display,
create, edit, and delete records from the database.
- Send data from one page to another
Module
2: Add advanced features
This
module teaches you more powerful ways to use data from a database.
In this
module, you will:
- Format database records on a Web page
- Add
a component that allows uploading files to a database from a Web page
- Navigate from page to page automatically
- Automate some
database administration tasks
When you
are ready, begin Module 1: Creating Web pages
with data connections.