Askild Aaberg Olsen wrote:

I'll see if I can make a demo of this concept tonight. A "stock" Cocoon-installation comes with a working database, so it should be easy to install and not too much work.

I don't mean that using Cocoon as a Java-framework is wrong, I just want to address that solving this issue can be much simpler than utilizing Hibernate etc, which seems to be the only answer users who need to "do stuff" with XML gets. :-)

What you're arguing is that tightly coupling your data access code to Cocoon is a good idea. And I can't think of a single circumstance where that could make sense. In fact, I can't think of a case where it makes sense to tightly couple your data access to any framework.

Consider how you will reuse that code outside of Cocoon. Say you want to use some other framework at the same time. Say you want to write some utilities to run inside another jvm to run scheduled jobs.

Furthermore, the capabilities for transactions exposed to you are minimal at best. Modular db actions - with all due respect for the people who wrote it - are a completely inadequate solution when compared to things like Hibernate and OJB. They get you 20% of the way there and then you're screwed the rest of the time.

phil.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to