On 4/23/06, James Carman <[EMAIL PROTECTED]> wrote:

Well, Andreas, I hate to say it, but I am the man of your dreams! :-)  I
have already integrated the Spring transaction/ORM support into HiveMind.
HiveTranse basically took a "grow your own" strategy, because the author
wasn't familiar with Spring (at least that's what I remember being one of
the reasons Jean-Francois gave).


I chose a similar approach by combining spring and hivemind.
Spring is stronger than hivemind for handling transaction... Not that
hivemind couln't do it but:
- Spring has a very good documentation, you can easily understand how the
different transactions models work
- Spring has a rich transaction API which allows you to implement in a
flexible way transactions either manually or transparently (each has several
schemes), also it has enough wrappers to use any kind of transaction manager
- Spring is well integrated with Hibernate and provides a nice API around it
to configure, handle the sessions and cordinate transactions

The only "manual" integration I had to do is implement the OpenSessionInView
pattern in hivemind, this is not really necessary but just allows to tweak
more finely the hibernate session opening and closing.

Thanks,

Henri.

Reply via email to