CS290I - Scalable Internet Services and Systems

Thorsten von Eicken - UCSB - Spring 2001

Handout #4 - Project 2

Due Thursday, May 3rd

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 the following project you will add dynamic activity to the site in the form of stock trading.

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
ashish
cdxiong
esben
hugh1su
icicle00
jyzhou
kuschner
ljmiller
X001
X002
X003
X004
X005
X006
X007
X008
ljosa
longjiao
madhavan
phanse
ranjan
srsiva
suny
sverma
sxs
X009
X010
X011
X012
X013
X014
X015
X016
X017
vishal
vivek
vveytser
wenye
wminghao
yingf
yjpark
ynshenoy
zhp
X018
X019
X020
X021
X022
X023
X024
X025
X026

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 absolute chart page to class on the due date.

Grading criteria