Hi Nick, thanks for your answer!
oooooh noooo... *sigh* Yesterday I thought I could finally decide which combination of frameworks I should use/which combination is the best (perhaps at least for me) but you're right: I also thought why to use another framework (Spring) if Hivemind seems to be a replacement and is already needed by tapestry... I didn't (and still don't) know how they differ but if you say that you don't miss a thing... Well, I think perhaps I will change my decision another time. Would you mind provide some sample code (especially the setup and different xml files)? That would be great! Sincerly, Andreas On 20. Feb 2006 - 23:38:32, Nick Faiz wrote: | Andreas, | | Thanks for your response. | | | On 20/02/2006, at 11:19 PM, Andreas Bulling wrote: | > | >unfortunately I can't tell you any experiences but one question comes | >to my mind: Do the HiveUtils offer something similar to the | >HibernateTemplates | >in Spring? | | No, but I've never really relied on Hibernate templates except as a | convenience. I think you're referring to DAOs extending the | HibernateDaoSupport class, which supports getTemplate().saveOrUpdate | (foo) or something like that? | | Right now, our DAOs are just injecting the session from the Hive and | using it directly, according to the open session in view pattern[1]. | I could write a convenience super-class, like HibernateDaoSupport, if | one doesnt exist, if I run into the need for it. | | >That was the main reason for me to use Spring but perhaps | >Hivemind is even better (because you don't have the Spring dependancy | >anymore as hivemind is needed for tapestry anyway)? | | Hrm ... I'm probably missing the compelling reason to use the Spring | idea of Hibernate templates. The best I like most is the declarative | transactions in the config. - both frameworks support that for | Hibernate. On the other hand, my first instinct would be to avoid the | complexity of having Spring *and* Hivemind *and* Tapestry. | | I've only just begun learning it but Hivemind has been able to do | everything I've wanted from IoC so far; albeit the configuration is | very verbose compared to Spring's. | | Cheers, | Nick | | [1] - http://hibernate.org/43.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
