<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Repository or DAO?</title>
	<atom:link href="http://warren.mayocchi.com/2006/07/27/repository-or-dao/feed/" rel="self" type="application/rss+xml" />
	<link>http://warren.mayocchi.com/2006/07/27/repository-or-dao/</link>
	<description>Life, Software Development, Creativity: What I care to write about</description>
	<lastBuildDate>Thu, 27 Oct 2011 21:33:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: JAOO Brisbane: Goldilocks and the Concurrent Processes at A Few More Words</title>
		<link>http://warren.mayocchi.com/2006/07/27/repository-or-dao/comment-page-1/#comment-2717</link>
		<dc:creator>JAOO Brisbane: Goldilocks and the Concurrent Processes at A Few More Words</dc:creator>
		<pubDate>Thu, 29 May 2008 10:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mayocchi.com/blog/2006/07/27/repository-or-dao/#comment-2717</guid>
		<description>&lt;p&gt;[...] complexity. Getting your design just right is a primarily a craft. It may be helped by things like Domain Driven Design or reducing irreversible architecture choices by removing them or delaying them.  Software [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] complexity. Getting your design just right is a primarily a craft. It may be helped by things like Domain Driven Design or reducing irreversible architecture choices by removing them or delaying them.  Software [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koert</title>
		<link>http://warren.mayocchi.com/2006/07/27/repository-or-dao/comment-page-1/#comment-776</link>
		<dc:creator>Koert</dc:creator>
		<pubDate>Wed, 09 May 2007 12:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mayocchi.com/blog/2006/07/27/repository-or-dao/#comment-776</guid>
		<description>&lt;p&gt;I think the comment &quot;including business representatives to whom DAO would need constant explanation&quot; is the most compelling reason to use Repository instead of DAO. Otherwise, I see little difference between them.&lt;/p&gt;

&lt;p&gt;You could just use Hibernate directly in the Repository, since it provides an abstraction to the persistence anyway. I think it&#039;s theoretically a good idea to layer the persistence in a DAO layer so you can replace it easily, but it requires more work and costs.&lt;/p&gt;

&lt;p&gt;I would prefer to use Location as parameter to find: find(Location location).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think the comment &#8220;including business representatives to whom DAO would need constant explanation&#8221; is the most compelling reason to use Repository instead of DAO. Otherwise, I see little difference between them.</p>
<p>You could just use Hibernate directly in the Repository, since it provides an abstraction to the persistence anyway. I think it&#8217;s theoretically a good idea to layer the persistence in a DAO layer so you can replace it easily, but it requires more work and costs.</p>
<p>I would prefer to use Location as parameter to find: find(Location location).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

