cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ivelin" <>
Subject Re: extending XMLForms for different kinds of models...opinions?
Date Sun, 16 Feb 2003 03:46:11 GMT

Ugo, can you can share experience with Hibernate vs. Jakarta OJB,  Cayenne
or another Open Source O/R tool.

There is a reasonably objective comparison here
but I would like to hear more from a usability, flexibility and performance

----- Original Message -----
From: "Ugo Cei" <>
To: <>
Sent: Saturday, February 15, 2003 2:41 PM
Subject: Re: extending XMLForms for different kinds of models...opinions?

> Sylvain Wallez wrote:
> > This is a good idea when you need to use the JavaBean for some business
> > logic. But there are many cases where you just want to populate a
> > database after successful validation, and the average Cocoon user
> > quickly becomes reluctant to writing Java code, even for storing data in
> > a database ;-)
> >
> > Sylvain
> I'm wondering how writing *very* simple Java code (mostly classes with a
> handful of private data fields with getters and setters, and even this
> step can largely be automated using Hibernate), is worse than writing
> SQL code, forever tieing your presentation layer to the implementation
> of your storage layer.
> I've been using Hibernate for about a month in a business application
> and have concluded what follows:
> a) Hibernate is a great product, rock solid and very well documented
> b) using Java Beans as the Model in MVC beats writing SQL DML statements
> hands down
> c) using an object cache, connection and statement pooling, and
> fine-tuning your loading policies (eager vs. lazy) could give a big
> performance boost to any web application (and no, I haven't any
> benchmarks about this, it's just a gut feeling).
> Only "problem" with Hibernate so far: it's LGPL. But you can always go
> with Jakarta OJB if you're picky about licenses.
> Ugo
> --
> Ugo Cei -
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message