CGS4854 Homework 4

Due Friday 12/6 (late 12/7 at 6am)

The homework assignments are cummulative. This homework must include the requirements form previous assignments, like the bean using a log file, writing messages to the log files, calculated fields, Apache configuration ...

If you had any errors in the previous homework, then fix them, so that you don't lose points twice for the same mistake.

Apache

Start your Apache server.

Tomcat

Create a new package for this assignment in your username web app.

The controller for this assignment is based on the Complex Persistent controller. The bean is based on the bean from HW3, not from the Complex Persistent controller. Step-by-step instructions for the Complex Persistent Controller are available on the book's web site.

Bean

Controller Helper

JSPs

General

Extra Credit

Extra credit is extra. After you have completed the assignment, you may add features to it for extra credit. An assignment must have a grade of at least 90% before any extra credit will be assigned.

Extra Credit 7

Add the Account Login ideas to the homework controller. The Account Login pages and logic can be added to any existing controller.

Extra Credit 8

You must complete Extra Credit 7 in order to complete Extra Credit 8.

Add the Account Cookie ideas to the homework controller. The Account Cookie pages and logic can be added to any existing controller.

Extra Credit 9

You must complete Extra Credit 7 in order to complete Extra Credit 9.

Add functionality to the wish list page.

Submitting the Assignment

Clean and Build your web application. After doing this, navigate to the WAR file in NetBeans and verify that the .java files are included: View WAR File

In the operating system (not in NetBeans) navigate to the dist folder in the NetBeans project.

Deploy the WAR file on ocelot: Deploy a WAR File

To hand in the assignment, zip the following directories into one ZIP file and upload it.

Be sure that all your files and subdirectories are included in the zip file.
After uploading, do not modify your files on ocelot until after your assignment has been graded.