- J2EE Application Server, the library is only tested in Tomcat. It is recommended to use Tomcat for the time being.
- JDBC driver for JDO.
- Database server. The JDO implementation TJDO, which is included, is currently support Oralce, DB2, Cloudscape and PostgreSQL. You may use any JDO implementation that supports any databases.
- Start up your J2EE and Database Server
- Deploy the war file
- Configure the web application deployment descriptor (web.xml)
||JDO Persistence Manager Factory Class
||Change MFDB to your DB name for Oracle.
||You may use system property to specific password, see footnote
||for identifying the application server. it is logged in the session table
||for identifying the servlet. it is logged in the session table
The above is fo r configuration after deployment only. You may also configure the above variables by setting Java system property values. (e.g. java -Ddatabase.password myPassWord)
- Add your JDBC driver
It's done! Notice that, with JDO, you don't even need to create the database schema