hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject RE: DAO
Date Tue, 08 Nov 2005 12:51:59 GMT
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:john.s.coleman@ntlworld.com] 
Sent: Tuesday, November 08, 2005 6:53 AM
To: hivemind-user@jakarta.apache.org
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: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message