Welcome to the README for the simple Bulletin board webapp.

Coded by: Peter Deschere and Jason Fillo
Date: 05/15/2006

Permission:  The code for this project is subject to the open GNU licensing agreement.  
Additional considerations (for full use of said code as well as changing the terms of
this license) are given to Prof. Phillip Conrad.  The code was heavily influenced by
the documentation found at www.hibernate.org and the O'reilly book "Better, Faster, Lighter Java"
by Tate & Gehtland.

INSTALLATION
1) Modify the global.properties file in the root directory to map to your local directories,
specifically: {sections that require changing are after the =} 
porsche.tomcat.dir=/porsche/cisc474/tomcat
porsche.hibernate.dir=/m/imageua/deschere/workspace/BB/lib     ********see NOTES below
porsche.tomcat.jar=/porsche/cisc474/tomcat/common/lib/servlet-api.jar
porsche.mysql.jar=/porsche/cisc474/mysql-connector-java-3.1.12/mysql-connector-java-3.1.12-bin.jar
porsche.war.desination=/m/imageua/deschere/tomcat/webapps

2) Modify the hibernate.cfg.xml file to access your database (url), with your id, and your password. 
(as I doubt mine will work any longer)
		<property name="connection.url">jdbc:mysql://jaguar.cis.udel.edu:8099/deschere</property>
		<property name="connection.username">deschere</property>
		<property name="connection.password">q465hi</property>
***see NOTES below

3) Run "ant" to display the menu of options (for deploy)

NOTES:
The Hibernate files are most appropriately stored to some group directory.  As of this writing
the miserly "professor" has not given us a group directory with write access to store these files.
For shame.

Near the bottom of the hibernate.cfg.xml file is a line:
		<property name="hbm2ddl.auto">update</property>
You can change the "update" to "create" which will destroy and recreate all necessary tables, in essence 
no longer being persistent.  But it works great for testing. 

Don't sweat the small stuff, let Hibernate rock and roll all the way, it bootstraps your database for you
(at least in mysql).  

Love to live and live to love.

