You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/10 04:13:33 UTC
[Cocoon Wiki] Updated: OJBWithJDO
Date: 2004-07-09T19:13:32
Editor: JoergHeinicke <jo...@gmx.de>
Wiki: Cocoon Wiki
Page: OJBWithJDO
URL: http://wiki.apache.org/cocoon/OJBWithJDO
no comment
Change Log:
------------------------------------------------------------------------------
@@ -14,13 +14,11 @@
transparent persistence for Java Objects against relational databases.
OJB has 3 methods for access to Databases:
- 1. !PersistentBroker [:NewbieguidetoOJB]
+ 1. !PersistentBroker [:NewbieGuideToOJB]
1. ODMG
- 1.JDO.
+ 1. JDO
-
-Since JDO is the recommended succesor of ODMG, we will try to show how to
-start using JDO with Cocoon.
+Since JDO is the recommended successor of ODMG, we will try to show how to start using JDO with Cocoon.
=== Scenario ===
* We need to interact with a table that manage user's info. The table is called '''auth_user'''. The table primary key is autofilled with a sequence called '''auth_users_seq'''.
@@ -64,13 +62,13 @@
7. Copy files '''repository.dtd''' and '''OJB.properties''' in "TOMCAT_HOME/webapps/cocoon/WEB-INF/classes"
8. Copy the following files from the OJB distribution to "TOMCAT_HOME/webapps/cocoon/WEB-INF/lib":
-{{{
- antlr.jar
- jdori.jar
- commons-dbcp.jar
- commons-pool.jar
- db-ojb-1.0.rc4.jar
- jdo.jar
+{{{
+ antlr.jar
+ jdori.jar
+ commons-dbcp.jar
+ commons-pool.jar
+ db-ojb-1.0.rc4.jar
+ jdo.jar
}}}
* Please also include your database driver. As we are working with postgres...