This assignment will give you practice with writing servlets.
In this assignment, you will create an on-line
store selling something, and use servlets to register customers,
track purchases and customer accounts.
The assignment is fairly open-ended. At the very minimum, we
are going to look for the following features:
- Your site should provide for "registration", where a customer
can create a username and password, enter address information and
be assigned an account. You can do this right up front or
during the "checkout" process.
- Your site should provide at least five different products,
along with prices and descriptions.
Customers should be able to purchase more than
one item during a visit. It should be possible to add items
to a shopping cart.
- Provide a checkout procedure that allows a customer to verify
what they have committed to purchase before finalizing the purchase.
- Only registered customers should be able to purchase.
- Registered customers should be able to view their account status.
- Other rules:
- Your webpages should consist only of standard HTML. They should
NOT contain Javascript, for example.
- For the backend, use only servlets. You may NOT use PHP or any
other such backend language.
- Use simple files as your database.
Apart from technical correctness, points will also be awarded for
originality, creativity, usefulness and humor.
Deliverables:
- The source code for all your servlets must be in the
appropriate directories on rabbit.
- NOTE: you must write ALL your servlet code and all your
website code must be written using Java servlets.
Apart from the standard libraries, you may not use any other Java
code.
- Send an email to the TA with BOTH the home page for your site,
AND your rabbit password.
- Submit a write up of the testing you
performed to ensure that your site was working correctly.
Submission:
- There is no submission jar for this assignment since
all your code will be in rabbit account, and
the TA will login to your account.