Derek Hohls wrote:
I have asked a number of times of this list for some
simple samples to get going with Hibernate, but so far
no one has taken a swing at it [I exclude PetStore because
it adds in Spring as well, and is not simple to download
and add in to an *existing* Cocoon installation without
rebuilding].

Two points here:

Using Spring is meant to simplify your life WRT using Hibernate alone. No need to deal with resource management, exception handling and transactions. This alone is a big advantage, IMHO.

The above may be a matter of opinion, but your second point is factually incorrect. There are just three steps involved:

1. unzip the file
2. paste a bunch of lines into a file
3. run build.sh (or build.bat)

Can you really make it simpler? Well, we could distribute a binary version of the block, but the point of the sample is to show some best practices _in_source_code_, not to run a real online petstore.

        Ugo

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



Reply via email to