CS290I - Scalable Internet Services and Systems

Thorsten von Eicken - UCSB - Winter 2002

Handout #3 - Project 2

Due Friday, February 8th

Important:

Objective

In this project you get to learn Java Servlets and, if you choose to, WebMacro. Your task is to build a site that displays the data you gathered in project 1. In project 3 you will add dynamic activity to the site in the form of live auctions.

Additional information

See the course web page for:

Set-up

You will have to run your web server on one of the course machines other than bugatti: bentley, daimler, or lotus (bugatti will continue to run the database, which you need to use remotely). To spread the load evenly, please use the machines according to the table at the right as much as possible.

Note that the home directories on these machines are on the local hard drive and not on the regular NFS file server. This is because we will disable NFS for project 4 so that we will not get performance interferences. You must install the web server software locally or it will all cease to work at that point. You may load the servlets from your NFS home directory for now to make editing easier, but you will have to copy them to the local drive for project 4.

   
bentley daimler lotus
user id ports user id ports user id ports
hongwei
guopan
adityat
fliu
hsun
unj
jsong110
X001
X002
X003
X004
X005
X006
X007
liling
gurun
hailling
stevem
jclark
holm
jorgen
X009
X010
X011
X012
X013
X014
X015
nearchos
jinye
ying
suqian
yongbo
zaera
gilad
X018
X019
X020
X021
X022
X023
X024

When you run your own copy of apache, you will need to use a port other than the customary port 80. Use port 80XX according to the above table. You also need a port for the servlet engine: this is used for the communication between apache and the servlet engine. Use port 90XX for that. 

Web pages

You need to implement a web site that features the following main pages:

Notes:

What to turn in

Write a "two page" project overview describing the overall structure of the servlets and a complete list of all pages of the web site. For each page, describe the contents briefly (1 line), and list which other pages it links to. In essence, this is a flow chart through your site.

Bring a printed copy of the above overview and flow, and a listing of the servlet(s) (and templates, if you're using webmacro) that display the user search results page to class on the due date.

Grading criteria