<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Public Scratchpad &#187; Architecture</title>
	<atom:link href="http://daniel.gredler.net/category/architecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 01:02:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='daniel.gredler.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Public Scratchpad &#187; Architecture</title>
		<link>http://daniel.gredler.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://daniel.gredler.net/osd.xml" title="A Public Scratchpad" />
	<atom:link rel='hub' href='http://daniel.gredler.net/?pushpress=hub'/>
		<item>
		<title>Thomas Paine on Software Design</title>
		<link>http://daniel.gredler.net/2008/04/13/thomas-paine-on-software-design/</link>
		<comments>http://daniel.gredler.net/2008/04/13/thomas-paine-on-software-design/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 20:33:29 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Quotes]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://gredler.wordpress.com/?p=62</guid>
		<description><![CDATA[I draw my idea of the form of government software from a principle in nature which no art can overturn, viz. that the more simple any thing is, the less liable it is to be disordered, and the easier repaired when disordered;&#8230; &#8211; Thomas Paine, Common Sense (1776)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&amp;blog=887150&amp;post=62&amp;subd=gredler&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I draw my idea of the form of <span style="text-decoration:line-through;">government</span> software from a principle in nature which no art can overturn, viz. that the more simple any thing is, the less liable it is to be disordered, and the easier repaired when disordered;&#8230;</p>
<p style="text-align:right;">&#8211; <a href="http://en.wikipedia.org/wiki/Thomas_Paine">Thomas Paine</a>, <a href="http://en.wikipedia.org/wiki/Common_Sense_%28pamphlet%29"><em>Common Sense</em></a> (1776)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gredler.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gredler.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&amp;blog=887150&amp;post=62&amp;subd=gredler&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2008/04/13/thomas-paine-on-software-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>Goodbye Persistence Layer?</title>
		<link>http://daniel.gredler.net/2007/10/03/goodbye-persistence-layer/</link>
		<comments>http://daniel.gredler.net/2007/10/03/goodbye-persistence-layer/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 02:06:49 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/03/goodbye-persistence-layer/</guid>
		<description><![CDATA[A couple of weeks ago a colleague and I were discussing DAOs, and whether or not they could be eliminated in a minimalist approach to application architecture. Specifically, since JPA is essentially a standardization of the persistence layer, do you really need a custom persistence layer to wrap the standard persistence layer? Coincidentally, InfoQ addressed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&amp;blog=887150&amp;post=32&amp;subd=gredler&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago a colleague and I were discussing DAOs, and whether or not they could be eliminated in a minimalist approach to application architecture. Specifically, since JPA is essentially a standardization of the persistence layer, do you really need a custom persistence layer to wrap the standard persistence layer?</p>
<p>Coincidentally, InfoQ <a href="http://www.infoq.com/news/2007/09/jpa-dao">addressed this same question</a> just a couple of days later, and it appears that a small portion of the JEE blogosphere has debating the issue for some time now. The consensus, which I agree with, is that it really depends on the application. If you have a relatively small domain model, it might be a good idea to forgo custom DAOs.</p>
<p>I&#8217;ve been experimenting with this approach in a small application which I&#8217;ve been developing as a pet project, and I&#8217;ve been very pleased thus far. The only aspect which makes me slightly uncomfortable is the sprinkling of JPAQL which now exists in my service layer. A criteria API similar to <a href="http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html">the one offered by Hibernate</a> would, in many cases, be a good alternative to JPAQL, and I seem to remember having read somewhere that JPA 2 will include this feature.</p>
<p>So is it time to say goodbye to DAOs? Not at all. Anyone developing an application with more than a dozen domain objects should think long and hard before throwing time-honored best practices overboard.</p>
<p>But there&#8217;s a gray area somewhere in the spectrum between &#8220;homebrew CD collection tracker application&#8221; and &#8220;commodity market trading backbone.&#8221; As your domain model gets smaller and smaller, your DAOs will start to look more and more anemic, and it&#8217;s possible that at a certain point you may say &#8220;forget it, I&#8217;m going DAOless.&#8221; Just know that you&#8217;re not alone.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gredler.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gredler.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&amp;blog=887150&amp;post=32&amp;subd=gredler&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2007/10/03/goodbye-persistence-layer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
	</channel>
</rss>
