UMBC  |  CSEE  |  Tarr  |  CS484

CMSC484 Java Server Technologies

Spring 2008

Project 2

Web Forum (Newsgroup) JSP/Servlet Project

Due Date: April 23, 2008


Project Description

In this project, you will be implementing a simple web forum (newsgroup) system. A weblog allows users to post news articles, view articles and provide follow-up comments on articles.

Project Requirements

Your application should allow users to do the following:

A user can view articles (and follow-up comments) without logging in, but must be logged in to do any postings. Also, only a logged-in user can set user preferences.

You *must* use the MVC approach for this project. All of the presentation should be done by JSPs. Much of the request handling should be done by controlling servlets which instantiate (or lookup) the required beans, populate the beans, perform other business logic, store the beans in an appropriate place and then forward the request to an appropriate JSP. The JSPs should simply access the required beans and display bean properties. As little Java code as possible should be put inside the JSPs. In addition, you should package your system as a web application with the associated war file ready to drop into the Tomcat servlet engine. Any "database" you use should be provided as flat files in the war file. Thus, all the grader has to do is drop in your war file, start up Tomcat and go!


Project Grading

Your project will be graded according to the following criteria:

As in all your work, NO COPYING OR PLAGIARISM. If such is detected, no credit for the project will be given and appropriate actions for academic dishonesty will be taken.

You may freely use the ServletUtilities and CookieUtilities classes provided in the text.


Project Submission

You must submit the following: Submit all of the above using the submit program. To submit, you type
        submit cs484 project2 <filenamelist>
where filenamelist is a list of one or more files. You can submit a file as often as you like; the latest file submitted overwrites any previous submissions. To list the names of the files you have submitted, type
        submitls cs484 project2
To remove a previously submitted file, type
        submitrm cs484 project2 <filename>


Project Due Date

This project is due April 23, 2008. You have a one week, automatic, no-need-for-a-lame-excuse grace period.

No project will be accepted after April 30, 2008. NO EXCEPTIONS! NO EXCUSES!


Bob Tarr
University of Maryland, Baltimore County
tarr@umbc.edu
UMBC  |  CSEE  |  Tarr  |  CS484