Advanced Java Lab 3: Servlets
Worth 10 points as follows:
Design and Object Model: 1 point
Documentation (inline and ADT info): 1 point
Readme: 2 points
Implementation: 6 points
(1.5 points for each of the above specs)
If your lab has sufficient complexity and you run it on a server other than Eclipse to demo, you may receive extra credit.
On our UNIX machines at CSUC we have Tomcat running. You should be able to put your servlets on our server but currently we are only running version 3 so it is quite possible that your java 1.5 code may not work as expected. It is probably best to download Tomcat yourself and test it locally first. See below for having me download and run on my server.
IF you want to try our local machine (UNIX running Tomcat):
Off-site maybe possibility for turn-in:
What I will do is (1) go to your web page submission with all of the necessary links (2) download your war file (3) read your README (off of your submission webpage) about
anything I should have in my .xml. A possibility here is that I could simply remove my whole xml file and temporarily use yours as long as you tell me
exactly what to do since if I use yours I am suddenly under your environment specs and no longer my known ones. I highly suggest
that you test this possibility by downloading your stuff onto a "clean" machine (friends?) since I do not expect to download your
materials and send email back and forth a number of times telling you something isn't working.
NOTE: If you want me to run your servlet on my machine
If you cannot run them on our CSUC server you should make a nice readme and package all of your servlet resources beautifully into a .war file, I will allow
you to submit it and I will download it to my Tomcat server. To run it, I should not have to do anything other than
put your war file into my webapps directory and follow your readme. Specifically:
Prepare a nice .war file so that all that I have to do is download the war file and put it in my Tomcat webapps directory. You will need to also
provide me with a README to tell me any special aspects of your .xml file. Make sure that you tell me anything that is needed in your xml files so I can duplicate your environment. An index.html on the top level of your .war will allow me to start where you want me.