Bng It would be very useful if you, or anyone in the community, could identify or recommend such tutorials - on a quick search I was not able to find anything useful - although: http://www.codesuccess.com/tutorials/spring/pagination/ and http://www.netbeans.org/kb/61/web/quickstart-webapps-spring.html might be related.
Not sure if there anyway of doing this with Spring alone - does one also need Hibernate (more stuff to learn!!) Derek >>> On 2008/06/05 at 07:57, in message <[EMAIL PROTECTED]>, Boris Goldowsky >>> <[EMAIL PROTECTED]> wrote: Johannes -- you may want to search for tutorials on using databases with Spring. My understanding is that with Cocoon 2.2 it is best to have Spring configure and manage any database connections. Then you can add Cocoon features (eg, the SQL transformer or whatever) once that is set up. Bng On Thu, 2008-06-05 at 18:33 +0200, Johannes Hoechstaedter wrote: > Hi, > > I do my first experiences in cocoon, and want to create a database > webapplication which connects to a database. I did some first steps to a > database application. Is there a complete how to, to etablish a database > connection (for read and write access) by cocoon 2.2? > > What I already did: > > * I did all steps for a first cocoon application which are described in > http://cocoon.apache.org/2.2/1159_1_1.html . That works. > * The I added a file databases-driver.properties with the path of the > driver into META_INF/cocoon/properties, as described in the migration > guide (http://cocoon.apache.org/2.2/blocks/databases/1.0/1409_1_1.html). > * The I added the dependency for cocoon-databases-impl into my pom.xml > as described in the documentation about the block > http://cocoon.apache.org/2.2/blocks/databases/1.0/1437_1_1.html . > > But I have not managed to etablish a connection. > > There are some for me quite understandable descriptions for cocoon 2.1 > on http://cocoon.apache.org/2.1/developing/datasources.html . But I > don't know if these are good for 2.2. > > Maybe some more informations are necessary: The application should be > run on tomcat, and manage a connection to a mysql or oracle database. > > Thank you for every help in advance. > Johannes > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
