CGS4825 Assignment 6
Due Friday, 12/1 at 11:59 pm.
To hand in the assignment, zip your webapps directory and upload
it from ocelot.
-
Please use the following command to compress your webapps folder.
Change to your cgs4825 directory on ocelot and issue the command
zip -r username webapps -x \*.jar \*.zip \*.war \*.log
Replacing username with your user name.
-
Check the size of the ZIP file, it should be less than 1 MB. If it is not,
then you probably have another ZIP file stored in the ZIP archive. Delete
it and re-zip.
-
Use my uploading program from ocelot to upload the file.
~downeyt/cs/public/webftp/webftp.pl
-
Upload the file as binary.
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.
If you attempted HW5, but were unable to complete it, see me for help.
Complex Persistent Controller
Implement the Complex Persistent application, from Chapter 6, on ocelot.
Place it in the book web application. Do not change the application
in any way. You are to get it working exactly as I have it working. The Complex
Persistent application also does what the Complex Initialize application
does.
-
If you are developing locally in NetBeans, after deploying the WAR file to
oceleot, it will be necessary to change the permissions of the
error.log file on ocelot.
-
On ocelot, change to the WEB-INF/logs folder.
-
Change the permission on error.log to 606
chmod 606 error.log
-
If this is not done, then Tomcat will not be able to write messages to the
log file when the app is run on ocelot.
-
When implementing the controller, be sure to modify the initialization parameters
for your mySql account.
-
The mySql server and port are
http://ocelot.aul.fiu.edu:3306
-
Your username for mySql is
fall06_username
-
Your password is your panther ID. Before working on your homework, please
log onto mySql and change the password. There are instructions on the class
web page: Change password for
mySql.
-
Use a configuration file for hibernate. Place it in the classes directory
of the web application. On NetBeans, place it in the Default Package of the
Source Packages folder.
Web Application
In the welcome page for the book web application, add a link to this controller.