John, You might want to check out my article (http://www.theserverside.com/articles/article.tss?l=HivemindBuzz) for an example of doing DAOs (I called them repositories) using HiveMind 1.1 and Hibernate3. Of course, the transactional control provided by HiveTranse is a bit more sophisticated (you can demarcate transactional boundaries using different transaction policies), but the framework that I used works just fine for simpler projects. If you want the current version of the source code, let me know and I'll forward it to you individually. It uses HSQLDB so you don't have to set up a MySQL database. Hope it helps!
James -----Original Message----- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 6:53 AM To: [email protected] Subject: DAO We have a tapestry project where POJOs are directly using DAOs. Obviously we would like to implement these DAOs as services through hivemind, and ideally inject the service into the POJOs, rather than look them up. Has anyone a simple example of this, should we use hivetranse? TIA John --------------------------------------------------------------------- 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]
