<?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: Developing A Simple Java Application With Spring</title>
	<atom:link href="http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/feed" rel="self" type="application/rss+xml" />
	<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring</link>
	<description>James Selvakumar&#039;s Blog</description>
	<lastBuildDate>Sat, 22 Oct 2011 13:54:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rohan</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-30565</link>
		<dc:creator>Rohan</dc:creator>
		<pubDate>Tue, 04 Oct 2011 05:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-30565</guid>
		<description>Excellent Artical. I understood a lot about Springs..</description>
		<content:encoded><![CDATA[<p>Excellent Artical. I understood a lot about Springs..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flavia Lemes</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-30316</link>
		<dc:creator>Flavia Lemes</dc:creator>
		<pubDate>Fri, 30 Sep 2011 12:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-30316</guid>
		<description>Hi, I&#039;ve followed your (very good) tutorial and, when I run the standard example, it works fine, but when I try the spring example, it throws a java.lang.ClassNotFoundException: org.apache.commons.logging.LogFacto
ry, even putting log4j in the build path. Do you know why this happens? Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve followed your (very good) tutorial and, when I run the standard example, it works fine, but when I try the spring example, it throws a java.lang.ClassNotFoundException: org.apache.commons.logging.LogFacto<br />
ry, even putting log4j in the build path. Do you know why this happens? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-14987</link>
		<dc:creator>vijay</dc:creator>
		<pubDate>Thu, 24 Mar 2011 11:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-14987</guid>
		<description>gud one for the beginners</description>
		<content:encoded><![CDATA[<p>gud one for the beginners</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-1652</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 11 Sep 2010 04:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-1652</guid>
		<description>Hi Joe Martinez,

Using service layer is a well accepted design pattern in the java community. Yes, you could straightaway use the dao implementation but what if you want to apply some business rules.

Say, you want to perform some checks before allowing a user to login into the system. Where would you put those logics? Also, service layer is the place for transaction demarcation.

It&#039;s generally good to keep your dao layer clean and lean. I suggest you read the article &lt;a href=&quot;http://www.ibm.com/developerworks/java/library/j-genericdao.html&quot; rel=&quot;nofollow&quot;&gt;&quot;Don&#039;t repeat the DAO&quot;&lt;/a&gt;. If you follow the principles in that article, you won&#039;t be writing any implementation for your daos.

Also, kindly notice that the scope of this blog post was to help beginners in Spring. Spring is so powerful, that you can bend it to suit your needs with powerful concepts like aop etc.</description>
		<content:encoded><![CDATA[<p>Hi Joe Martinez,</p>
<p>Using service layer is a well accepted design pattern in the java community. Yes, you could straightaway use the dao implementation but what if you want to apply some business rules.</p>
<p>Say, you want to perform some checks before allowing a user to login into the system. Where would you put those logics? Also, service layer is the place for transaction demarcation.</p>
<p>It&#8217;s generally good to keep your dao layer clean and lean. I suggest you read the article <a href="http://www.ibm.com/developerworks/java/library/j-genericdao.html" rel="nofollow">&#8220;Don&#8217;t repeat the DAO&#8221;</a>. If you follow the principles in that article, you won&#8217;t be writing any implementation for your daos.</p>
<p>Also, kindly notice that the scope of this blog post was to help beginners in Spring. Spring is so powerful, that you can bend it to suit your needs with powerful concepts like aop etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe martinez</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-1639</link>
		<dc:creator>joe martinez</dc:creator>
		<pubDate>Fri, 10 Sep 2010 21:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-1639</guid>
		<description>please bear with me, i&#039;m still trying to get the hang of this :P can someone explain to me why you need the service layer?  if you took it out, then in your client, you could just do:

UserDao userDao = new UserDaoImpl();
Iterator users = userDao.getUsers();
while (...) {
...
}

It seems like the service layer is simply a wrapper around the DAO.  Can someone give me a case where things could get messy if the service layer were removed?  I just don&#039;t see the point in having the service layer to begin with.  thanks!</description>
		<content:encoded><![CDATA[<p>please bear with me, i&#8217;m still trying to get the hang of this <img src='http://solitarygeek.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  can someone explain to me why you need the service layer?  if you took it out, then in your client, you could just do:</p>
<p>UserDao userDao = new UserDaoImpl();<br />
Iterator users = userDao.getUsers();<br />
while (&#8230;) {<br />
&#8230;<br />
}</p>
<p>It seems like the service layer is simply a wrapper around the DAO.  Can someone give me a case where things could get messy if the service layer were removed?  I just don&#8217;t see the point in having the service layer to begin with.  thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muneeswaran Balasubramanian</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-491</link>
		<dc:creator>Muneeswaran Balasubramanian</dc:creator>
		<pubDate>Fri, 09 Jul 2010 16:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-491</guid>
		<description>Hi James,

    Its an awesome article to make me bit more knowledgeable in spring framework.Thanx for your great article.</description>
		<content:encoded><![CDATA[<p>Hi James,</p>
<p>    Its an awesome article to make me bit more knowledgeable in spring framework.Thanx for your great article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rr</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-481</link>
		<dc:creator>rr</dc:creator>
		<pubDate>Thu, 24 Jun 2010 04:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-481</guid>
		<description>how to run dis</description>
		<content:encoded><![CDATA[<p>how to run dis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sethu</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-480</link>
		<dc:creator>sethu</dc:creator>
		<pubDate>Tue, 08 Dec 2009 08:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-480</guid>
		<description>great help man thanks :)</description>
		<content:encoded><![CDATA[<p>great help man thanks <img src='http://solitarygeek.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Styls</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-479</link>
		<dc:creator>Styls</dc:creator>
		<pubDate>Mon, 23 Nov 2009 09:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-479</guid>
		<description>@James

thank you man, with the help of Spring and right now i have the basic understanding of Spring framework.

Don&#039;t you have more tutorials on Spring,Hibernate,JSF,Junit and Integrator development.

Please help me James

@styls</description>
		<content:encoded><![CDATA[<p>@James</p>
<p>thank you man, with the help of Spring and right now i have the basic understanding of Spring framework.</p>
<p>Don&#8217;t you have more tutorials on Spring,Hibernate,JSF,Junit and Integrator development.</p>
<p>Please help me James</p>
<p>@styls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://solitarygeek.com/java/developing-a-simple-java-application-with-spring/comment-page-1#comment-478</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 21 Nov 2009 05:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.solitarygeek.com/java/java-spring/#comment-478</guid>
		<description>&lt;a href=&quot;#comment-945&quot; rel=&quot;nofollow&quot;&gt;@Styls &lt;/a&gt;
No you don&#039;t need a specific jar file. This xml file can sit side by side with your java source files. Please see the last image in the post above to get more insight.</description>
		<content:encoded><![CDATA[<p><a href="#comment-945" rel="nofollow">@Styls </a><br />
No you don&#8217;t need a specific jar file. This xml file can sit side by side with your java source files. Please see the last image in the post above to get more insight.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

