I haven't investigated what the databases block does in 2.2. In Cocoon 2.1, you could use it for simple database queries just by giving it a JDBC connection; but since it didn't help much with database updating, we never used it much. I imagine much the same is true in 2.2.
However, I do have something that may be useful to contribute, which is a working sample application. I will post that in a separate thread. Bng On Fri, 2008-06-06 at 10:05 +0200, Johannes Hoechstaedter wrote: > Good morning Bng, > > I know, cocoon is based on spring. But isn't there another possibility > with cocoon blocks only? There is this database-block. What it is good > for, when I have to write my own spring application? I want to write as > less code as possible. > > Johannes > > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
