I have been trying for several days to get grips on the "super trio" Woody, Flow and OJB/JDO. I don't have any succes yet, but that is mainly to the complexity of getting OJB/JDO to run. Could someone please shed a light on this to get me going again?
I have created a bean to store all form data. The Woody form and the FlowScipt have been created too. I have used the obj/woody sample as a template to get things running. That's the easy part (relatively speaking). I'm using mySQL as a databasource and have a datasource configured in cocoon.xconf. This datasource is used in XSP pages using ESQL without any problem, so that works for sure. My biggest confusion is where I need to configure the link from the bean datastore to the database. Where do I configure OJB and JDO? I have OJB.properties, package.jdo, repository.dtd and repository.xml in the WEB-INF/classes directory. I see a total overlap in the configuration in the package.jdo and repository.xml file. Why is that? Is either of them not needed? I have created a DAO class file too. This is a direct copy of the Employee_DAO class file from the samples. I only replaced the package and replaced the bean methods with the ones from my bean. All this compiles without any problem. The bean and the DAO class are packaged in a jar file and put in the WEB-INF lib directory. I assume this is where I will eventually create queries using OJB code to fill the bean with data. Am I correct? Thanks a lot for any help, Bert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
