CSCE 590: Problem Set 1
Due: Monday, 11 February 2007 @2:30pm
For this problem set you will use Java Servlets to implement a
simple version of an online library database as exemplified by
course, LibraryThing implements a very large set of features,
you will only be required to implement the following set of features:
- Visitors should be able to create accounts. You do
not need to implement email confirmation. Accounts must
be password protected, but you can store passwords in the clear
(obviously, you never do this in a real application!). Each user
receives a unique username.
- Each user will be able to enter books. For each book you will store:
- Authors (one primary author and then the rest)
- Year Published
- Only the user should be able to delete and edit books he has entered.
- The list of books entered by any user should be available
for all to see at a URL that is simple and ends with the
username of the user.
- When displaying the list of books, the user should be able
to re-sort them by title, primary author, and year.
- There is a list that shows everyone's books. This list can
also be re-sorted in the same ways.
- You must use a style sheet for the website. The website does
not need to look extremely polished but it should be pleasantly
simple (google style). Use semantic markup.
- You can keep the database (really, array) in memory if you
want, but I think it will be easier to debug your website if you
write/read the array from a file so you don't have to enter new
books every time you restart the servlet.
Each project is to be done either individually or by at most two
people. On February 11, during class, each group will give me a
demo. You will thus need to either bring your laptop to class or
deploy your servlet so that I can access it from my laptop via
the Internet. Also, before class each team will email me
a zipped file of your complete project directory, that is, all
send me all your source code.
José M. Vidal
Last modified: Sat Jan 26 10:12:18 EST 2008