<?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"
	>
<channel>
	<title>Comments on: A Snippet is Worth a Thousand Words</title>
	<atom:link href="http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/</link>
	<description>Rants and Musings of an Agile Developer</description>
	<pubDate>Sat, 22 Nov 2008 06:41:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-40028</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Tue, 27 Nov 2007 04:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-40028</guid>
		<description>Heh... I actually didn't notice that the "I" was in front of it. I don't prefix my interfaces with the letter I... the implementation of the interface just happened to use iBatis. ;)</description>
		<content:encoded><![CDATA[<p>Heh&#8230; I actually didn&#8217;t notice that the &#8220;I&#8221; was in front of it. I don&#8217;t prefix my interfaces with the letter I&#8230; the implementation of the interface just happened to use iBatis. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-36454</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Tue, 30 Oct 2007 11:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-36454</guid>
		<description>Well, it's as simple as you're going to get in java. I've never been a fan of using ActiveRecord in java though... always feels dirty. And all I would be doing is hardwiring the calls to the dao directly within the domain object, or passing the dao interface in via a constructor or setter.

Either way, I've always it's a violation of SRP to include both data store access and domain logic in the same entity. ;)</description>
		<content:encoded><![CDATA[<p>Well, it&#8217;s as simple as you&#8217;re going to get in java. I&#8217;ve never been a fan of using ActiveRecord in java though&#8230; always feels dirty. And all I would be doing is hardwiring the calls to the dao directly within the domain object, or passing the dao interface in via a constructor or setter.</p>
<p>Either way, I&#8217;ve always it&#8217;s a violation of SRP to include both data store access and domain logic in the same entity. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory Foy</title>
		<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-36386</link>
		<dc:creator>Cory Foy</dc:creator>
		<pubDate>Tue, 30 Oct 2007 01:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-36386</guid>
		<description>Oh, that's supposed to be simple? You have a class named like an interface with a bunch of SqlMapClientTemplates?

Wouldn't real simplicity be:

Motorist m = new Motorist(3);
m.ChangeSomething("Blah");
m.Save();

?

(Just sad I can't rib you all in person anymore)

Cory</description>
		<content:encoded><![CDATA[<p>Oh, that&#8217;s supposed to be simple? You have a class named like an interface with a bunch of SqlMapClientTemplates?</p>
<p>Wouldn&#8217;t real simplicity be:</p>
<p>Motorist m = new Motorist(3);<br />
m.ChangeSomething(&#8221;Blah&#8221;);<br />
m.Save();</p>
<p>?</p>
<p>(Just sad I can&#8217;t rib you all in person anymore)</p>
<p>Cory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-33643</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Sat, 06 Oct 2007 23:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-33643</guid>
		<description>Yep... if not simpler. I have been going through the Spring In Action book today, basically covering the chapters on persistence and transactions. I am really liking Spring/Hibernate3 annotations. ;)</description>
		<content:encoded><![CDATA[<p>Yep&#8230; if not simpler. I have been going through the Spring In Action book today, basically covering the chapters on persistence and transactions. I am really liking Spring/Hibernate3 annotations. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-33640</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Sat, 06 Oct 2007 22:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/2007/10/06/a-snippet-is-worth-a-thousand-words/#comment-33640</guid>
		<description>You have hidden the complexity in the XML file ;-) But yeah, it is simpler than hard coding it into the Java code. But Hibernate/Spring is just as simple.</description>
		<content:encoded><![CDATA[<p>You have hidden the complexity in the XML file <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> But yeah, it is simpler than hard coding it into the Java code. But Hibernate/Spring is just as simple.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
