"The universe (which others call the Library) is composed of an indefinite and perhaps infinite number of hexagonal galleries, with vast air shafts between, surrounded by very low railings. From any of the hexagons one can see, interminably, the upper and lower floors. The distribution of the galleries is invariable. Twenty shelves, five long shelves per side, cover all the sides except two;" — Borges.
Our University has a highly regarded library with countless volumes on many topics, except, it seems, Computer Science. However, if you visit the office of any CSE faculty member you notice at least two bookcases full of books the best reference books in the field. These books could form the basis of a CSE virtual library, if only there was a tool for bringing them together. Your task for this problem set is to write this program.
The system will have registered users who can add books and request to borrow books, as well as non-registered users (anyone else) who can only browse the library titles. A registered user should be able to create an account and add his books to the system. He should also be able to see all his books to determine which ones are being lent out, to whom, and when are they expected back. He should be able to mark a book as lent out. A non-registered users should be able to view and search over all the books as if they were one. Once the desired book is found, only a registered user should be able to determine the owner of that book and his email address.
You will need to run the servlet on the tomcat engine you installed on one of the lab machines. Follow these instructions for installing tomcat (local copy).
The list of specific requirements is the following:
As will all the problem sets, you will hand them in using our
department's dropbox. Follow this
link to upload your problem set. You should make a .war file of
your servlet and submit that file. Your writeup should start with the
following text:
Name(s):
email(s):
I understand that it is the responsibility of every member of the
Carolina community to uphold an maintain the academic standards and
integrity of the University of South Carolina. Any member of the
University community, who has reasonable grounds to believe that an
infraction of the Code of Student Academic Responsibility has
occurred, has an obligation to report the alleged violation.
I certify that I have neither given nor received unauthorized aid on
this problem set.