Hi Andreas
I have succesfully used HiveMind and Spring together with Tapestry and
Hibernate. I used Spring for this HibernateTemplate and transactional
support, so just defined DAOs in Spring. I used HiveMind to define all
other services, and using the HiveMind-Spring connector library, it was
simple to inject the Spring DAOs into the HiveMind services that needed
them.
However, I am not completely happy with this as a solution, as it is
unnecessarily complex, and I have not solved how to inject HiveMind
services into Spring so there is a natural disconnect there. With
hivetrans, it is likely that I will drop Spring altogether and just use
HiveMind. As you don't appear to want HibernateTemplate, I would suggest
just sticking with HiveMind, which is a little harder initially to pick
up than Spring, but IMO a more productive solution once you grok it.
Particularly as HiveMind is integral to Tapestry.
Hope that helps
Richard
Andreas Bulling wrote:
Hi Nick,
| If you are confused, do what is the simplest and fastest solution? If
| it's simple and fast it is at least not hard to remove and replace
| with something else, later on. If you don't need to replace it you've
| solved a problem efficiently! Well ... that's my current theory,
| anyhow. :)
Yes, I _am_ confused - for a week, now...
Your theory sounds good (*g) but the problem is: What actually is the simplest
and fastest solution? Even the answer to this question is not obvious to me :(
I'm testing Spring right at the moment but get a new problem every
time I'm able to solve the previous one...
15:21:18,172 ERROR ContextLoader:205 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoClassDefFoundError: null
java.lang.NoClassDefFoundError
@all:
What are your experiences concerning Spring/Hivemind?
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*
| I'll post what I have through tomorrow. It's midnight here now.
That would be great! :)
Sincerly,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]