Hi Andreas,

> If I don't necessarily need HibernateTemplates should I use
> Hivemind oder Spring? In which features do they differ, which is
> easier to set up? *I've read many articles concerning this issue
> but it's still not clear to me*

About Spring vs. Hivemind

As far as I understand, Spring goes beyond Hivemind. Hivemind offers a
neat way of using Dependency Injection. Spring does that, too, but it
also offers Spring AOP, and a whole bunch of convenient templates and
utilities to simplify development, not only for persistence, but also
for mail, messaging, etc. There is probably a lot more to be said
about both, but since that would be only very loosely related to
Tapestry, maybe a Spring or Hivemind forum would be a better place to
discuss it in detail.

Concerning your problem:

- if the HibernateTemplate is your only reason to use Spring, I'd say,
don't. Of all the features of Spring, I think this template is a
rather not-so-interesting one, since it offers rather little advantage
over Hibernate's own API.

- if you have decided that you need Spring, for AOP or else, but are
put off by some exceptions you have been getting, don't give up so
easily. Check again if you have all required libraries installed
(missing libraries seem to have been the reasons for the first errors
you have been posting). Have a look at AppFuse and "betterpetstore" to
see how the three tools Tapestry, Spring and Hibernate are used
together there.

What was the current state of things again? The last stack trace you
posted doesn't seem to give helpful information. Not to me, anyway. Is
maybe something wrong with your applicationContext.xml?

Hth,

Lutz

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

Reply via email to