<?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 for baeldung</title>
	<atom:link href="http://www.baeldung.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.baeldung.com</link>
	<description>Coding and Testing Stuff</description>
	<lastBuildDate>Fri, 18 May 2012 20:23:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by Thedug</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-463</link>
		<dc:creator>Thedug</dc:creator>
		<pubDate>Fri, 18 May 2012 20:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-463</guid>
		<description>I was just checking out the github project. The security xml file is quite different from what I see here. There&#039;s no mention of the success handler or the entry point. Is that intentional?

It also introduces a digest authentication and references a BASIC_AUTH_FILTER, but I haven&#039;t seen where that is defined.</description>
		<content:encoded><![CDATA[<p>I was just checking out the github project. The security xml file is quite different from what I see here. There&#8217;s no mention of the success handler or the entry point. Is that intentional?</p>
<p>It also introduces a digest authentication and references a BASIC_AUTH_FILTER, but I haven&#8217;t seen where that is defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Persistence Layer with Spring 3.1 and JPA by Carlos Dañel Ferreyra</title>
		<link>http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/#comment-459</link>
		<dc:creator>Carlos Dañel Ferreyra</dc:creator>
		<pubDate>Fri, 11 May 2012 03:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=720#comment-459</guid>
		<description>I think someone may have stolen your blog
http://java.dzone.com/articles/persistence-layer-spring-31-0
</description>
		<content:encoded><![CDATA[<p>I think someone may have stolen your blog<br />
<a href="http://java.dzone.com/articles/persistence-layer-spring-31-0" rel="nofollow">http://java.dzone.com/articles/persistence-layer-spring-31-0</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by René Fleischhauer</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-457</link>
		<dc:creator>René Fleischhauer</dc:creator>
		<pubDate>Mon, 07 May 2012 16:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-457</guid>
		<description>Hi all,

thanks for the tutorial. Great stuff! I have a minor question:

I added  within the  element in order to customize the login url. After starting the application again the following exception occurs:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Filter beans &#039;&#039; and &#039;&#039; have the same &#039;order&#039; value. When using custom filters, please make sure the positions do not conflict with default filters. Alternatively you can disable the default filters by removing the corresponding child elements from  and avoiding the use of .

The problem is clear, however I&#039;m not sure how I can avoid the use of j_spring_security_check. I&#039;d highly appreciate any hint.

Best,
René</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>thanks for the tutorial. Great stuff! I have a minor question:</p>
<p>I added  within the  element in order to customize the login url. After starting the application again the following exception occurs:</p>
<p>org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Filter beans &#8221; and &#8221; have the same &#8216;order&#8217; value. When using custom filters, please make sure the positions do not conflict with default filters. Alternatively you can disable the default filters by removing the corresponding child elements from  and avoiding the use of .</p>
<p>The problem is clear, however I&#8217;m not sure how I can avoid the use of j_spring_security_check. I&#8217;d highly appreciate any hint.</p>
<p>Best,<br />
René</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Persistence Layer with Spring 3.1 and Hibernate by Martin</title>
		<link>http://www.baeldung.com/2011/12/02/the-persistence-layer-with-spring-3-1-and-hibernate/#comment-456</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 05 May 2012 20:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=637#comment-456</guid>
		<description>Hi, sorry but i am a newbie at Hibernate and Spring and i am using your generic DAO implementation in order to start testing and playing with this stuff.
I am a little confused with the Preconditions.whatever you are using in the generic DAO implementation. Is that an auxiliary class for checking if the entity about to be used is in the correct state before you actually do the merge, delete or whatever? In order to prevent exceptions? Or is it something different?
Sorry for my very basic question, but i would like to fully understand what you have have so kindly expressed in such a clear way.</description>
		<content:encoded><![CDATA[<p>Hi, sorry but i am a newbie at Hibernate and Spring and i am using your generic DAO implementation in order to start testing and playing with this stuff.<br />
I am a little confused with the Preconditions.whatever you are using in the generic DAO implementation. Is that an auxiliary class for checking if the entity about to be used is in the correct state before you actually do the merge, delete or whatever? In order to prevent exceptions? Or is it something different?<br />
Sorry for my very basic question, but i would like to fully understand what you have have so kindly expressed in such a clear way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by René Fleischhauer</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-455</link>
		<dc:creator>René Fleischhauer</dc:creator>
		<pubDate>Fri, 04 May 2012 15:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-455</guid>
		<description>Hi Sigmund, all,

I have the same problem...

super.onAuthenticationSuccess(request, response, authentication) calls SimpleUrlAuthenticationSuccessHandler#handle which contains the following line

redirectStrategy.sendRedirect(request, response, targetUrl);

Seems to be pretty non-sense to call the super method and therefore, I also removed it. Additionally I added a response.setStatus(200) for safety purposes...

Best,
René</description>
		<content:encoded><![CDATA[<p>Hi Sigmund, all,</p>
<p>I have the same problem&#8230;</p>
<p>super.onAuthenticationSuccess(request, response, authentication) calls SimpleUrlAuthenticationSuccessHandler#handle which contains the following line</p>
<p>redirectStrategy.sendRedirect(request, response, targetUrl);</p>
<p>Seems to be pretty non-sense to call the super method and therefore, I also removed it. Additionally I added a response.setStatus(200) for safety purposes&#8230;</p>
<p>Best,<br />
René</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set up Integration Testing with the Maven Cargo plugin by JS Unit Testing &#124; i-proving.com</title>
		<link>http://www.baeldung.com/2011/10/16/how-to-set-up-integration-testing-with-the-maven-cargo-plugin/#comment-454</link>
		<dc:creator>JS Unit Testing &#124; i-proving.com</dc:creator>
		<pubDate>Tue, 01 May 2012 20:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=134#comment-454</guid>
		<description>[...] Selenium, cargo and maven : http://www.baeldung.com/2011/10/16/how-to-set-up-integration-testing-with-the-maven-cargo-plugin/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Selenium, cargo and maven : <a href="http://www.baeldung.com/2011/10/16/how-to-set-up-integration-testing-with-the-maven-cargo-plugin/" rel="nofollow">http://www.baeldung.com/2011/10/16/how-to-set-up-integration-testing-with-the-maven-cargo-plugin/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Service Discoverability with Spring by Guest</title>
		<link>http://www.baeldung.com/2011/11/13/rest-service-discoverability-with-spring-part-5/#comment-453</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Sat, 28 Apr 2012 01:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=484#comment-453</guid>
		<description>Can you update the example as support for location is already added in spring  3.1 RC2</description>
		<content:encoded><![CDATA[<p>Can you update the example as support for location is already added in spring  3.1 RC2</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to use RestTemplate with Basic Authentication in Spring by Art</title>
		<link>http://www.baeldung.com/2012/04/16/how-to-use-resttemplate-with-basic-authentication-in-spring-3-1/#comment-452</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Wed, 18 Apr 2012 07:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1433#comment-452</guid>
		<description>You&#039;ve used plain auth.getBytes() which is always dangerous - it&#039;ll use the default platform encoding to get the bytes from the String. From what I can gather, HTTP basic authentication doesn&#039;t support non-ASCII very well: http://stackoverflow.com/a/703341/116509. In summary, you should use auth.getBytes(&quot;US-ASCII&quot;) intead.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve used plain auth.getBytes() which is always dangerous &#8211; it&#8217;ll use the default platform encoding to get the bytes from the String. From what I can gather, HTTP basic authentication doesn&#8217;t support non-ASCII very well: <a href="http://stackoverflow.com/a/703341/116509" rel="nofollow">http://stackoverflow.com/a/703341/116509</a>. In summary, you should use auth.getBytes(&#8220;US-ASCII&#8221;) intead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by Marc de Verdelhan</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-442</link>
		<dc:creator>Marc de Verdelhan</dc:creator>
		<pubDate>Wed, 11 Apr 2012 09:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-442</guid>
		<description>Your article was just what I needed. But I tested your solution and it always returned a &quot;401 Unauthorized&quot;.
Finally I used the following config:

    
    
    


Now it&#039;s simpler and it works fine. Could you explain why?

Thank you.</description>
		<content:encoded><![CDATA[<p>Your article was just what I needed. But I tested your solution and it always returned a &#8220;401 Unauthorized&#8221;.<br />
Finally I used the following config:</p>
<p>Now it&#8217;s simpler and it works fine. Could you explain why?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by Neomi</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-441</link>
		<dc:creator>Neomi</dc:creator>
		<pubDate>Thu, 05 Apr 2012 09:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-441</guid>
		<description>Great article! 
But what is the login uri? Where is it defined?</description>
		<content:encoded><![CDATA[<p>Great article!<br />
But what is the login uri? Where is it defined?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by baeldung</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-440</link>
		<dc:creator>baeldung</dc:creator>
		<pubDate>Thu, 05 Apr 2012 08:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-440</guid>
		<description>Not sure how you can add the header to the URL - do you mean you added the header to the request? Also, to follow some working examples, you can always clone the project from github and run the tests. </description>
		<content:encoded><![CDATA[<p>Not sure how you can add the header to the URL &#8211; do you mean you added the header to the request? Also, to follow some working examples, you can always clone the project from github and run the tests. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by Naama</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-439</link>
		<dc:creator>Naama</dc:creator>
		<pubDate>Thu, 05 Apr 2012 08:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-439</guid>
		<description>Great article!</description>
		<content:encoded><![CDATA[<p>Great article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by baeldung</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-438</link>
		<dc:creator>baeldung</dc:creator>
		<pubDate>Mon, 02 Apr 2012 22:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-438</guid>
		<description>You can take a look at: http://code.google.com/p/crypto-js/</description>
		<content:encoded><![CDATA[<p>You can take a look at: <a href="http://code.google.com/p/crypto-js/" rel="nofollow">http://code.google.com/p/crypto-js/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing a RESTful Web Service with Spring Security 3.1 by DropDeadFred</title>
		<link>http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/#comment-437</link>
		<dc:creator>DropDeadFred</dc:creator>
		<pubDate>Mon, 02 Apr 2012 22:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=325#comment-437</guid>
		<description>If you are using the REST service through AJAX from a browser can you had the necessary Authentication headers?  For example, if you are using form based authentication to your website and want to retrieve data from your REST service.  I guess I must just be missing something here.
</description>
		<content:encoded><![CDATA[<p>If you are using the REST service through AJAX from a browser can you had the necessary Authentication headers?  For example, if you are using form based authentication to your website and want to retrieve data from your REST service.  I guess I must just be missing something here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on This Is Not Your Father&#8217;s Spring &#8211; A Learning Project by Gbondy</title>
		<link>http://www.baeldung.com/2012/01/03/this-is-not-your-fathers-spring-a-learning-project/#comment-436</link>
		<dc:creator>Gbondy</dc:creator>
		<pubDate>Mon, 02 Apr 2012 18:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1007#comment-436</guid>
		<description>Do you have an example of a Spring 3.1 bean configuration with annotations when there is a many-to-many relationship. Here is a sample of doing this with xml config

&lt;code&gt;




 org.hsqldb.jdbcDriver
 jdbc:hsqldb:hsql://localhost
sa

1
 org.hibernate.dialect.HSQLDialect
true
create-drop




&lt;/code&gt;

I have seen examples for including the properties but I have not found one that shows how to deal with mapping class. </description>
		<content:encoded><![CDATA[<p>Do you have an example of a Spring 3.1 bean configuration with annotations when there is a many-to-many relationship. Here is a sample of doing this with xml config</p>
<p><code></p>
<p> org.hsqldb.jdbcDriver<br />
 jdbc:hsqldb:hsql://localhost<br />
sa</p>
<p>1<br />
 org.hibernate.dialect.HSQLDialect<br />
true<br />
create-drop</p>
<p></code></p>
<p>I have seen examples for including the properties but I have not found one that shows how to deal with mapping class. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Persistence Layer with Spring Data JPA by Murray B</title>
		<link>http://www.baeldung.com/2011/12/22/the-persistence-layer-with-spring-data-jpa/#comment-435</link>
		<dc:creator>Murray B</dc:creator>
		<pubDate>Mon, 02 Apr 2012 05:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=838#comment-435</guid>
		<description>I&#039;ve been waiting for this kind of technology for a long time - it works well and reduces a lot of time traditionally wasted writing CRUD DAOs.  From a maintenance perspective I&#039;m a big fan of having a single set of packages where you put your SQL rather than spread throughout the code so it&#039;s easy to refactor, and this kind of lightweight framework simplicity makes it even easier to see what&#039;s CRUD and what&#039;s unique.  Nice article, thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been waiting for this kind of technology for a long time &#8211; it works well and reduces a lot of time traditionally wasted writing CRUD DAOs.  From a maintenance perspective I&#8217;m a big fan of having a single set of packages where you put your SQL rather than spread throughout the code so it&#8217;s easy to refactor, and this kind of lightweight framework simplicity makes it even easier to see what&#8217;s CRUD and what&#8217;s unique.  Nice article, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by MaciejWalkowiak</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-434</link>
		<dc:creator>MaciejWalkowiak</dc:creator>
		<pubDate>Fri, 30 Mar 2012 10:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-434</guid>
		<description>With Spring 3.1 there were introduced useful feature called profiles. With that you can define active profile for your environment - like you did with envTarget system property: http://blog.springsource.org/2011/02/14/spring-3-1-m1-introducing-profile/ . 

Recently I have posted how it can be used and configured together with Tomcat - to make it easy to build one package for all environments and make environment choose confiuration: http://maciejwalkowiak.pl/blog/2012/03/27/spring-3-1-profiles-and-tomcat-configuration/</description>
		<content:encoded><![CDATA[<p>With Spring 3.1 there were introduced useful feature called profiles. With that you can define active profile for your environment &#8211; like you did with envTarget system property: <a href="http://blog.springsource.org/2011/02/14/spring-3-1-m1-introducing-profile/" rel="nofollow">http://blog.springsource.org/2011/02/14/spring-3-1-m1-introducing-profile/</a> . </p>
<p>Recently I have posted how it can be used and configured together with Tomcat &#8211; to make it easy to build one package for all environments and make environment choose confiuration: <a href="http://maciejwalkowiak.pl/blog/2012/03/27/spring-3-1-profiles-and-tomcat-configuration/" rel="nofollow">http://maciejwalkowiak.pl/blog/2012/03/27/spring-3-1-profiles-and-tomcat-configuration/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on REST Pagination in Spring by RESTful pagination with cucumber-jvm, jersey and elasticsearch &#171; Diving deep into JEE</title>
		<link>http://www.baeldung.com/2012/01/18/rest-pagination-in-spring/#comment-433</link>
		<dc:creator>RESTful pagination with cucumber-jvm, jersey and elasticsearch &#171; Diving deep into JEE</dc:creator>
		<pubDate>Sun, 25 Mar 2012 22:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1047#comment-433</guid>
		<description>[...] (first, previous, self, next, last) and links to the items. This can be done in a hundred way. This post used aop to generate links. Jersey and RESTEasy both have a native mechanism based on annotations [...]</description>
		<content:encoded><![CDATA[<p>[...] (first, previous, self, next, last) and links to the items. This can be done in a hundred way. This post used aop to generate links. Jersey and RESTEasy both have a native mechanism based on annotations [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introduction to Java integration testing for a RESTful API by Harga Notebook</title>
		<link>http://www.baeldung.com/2011/10/13/integration-testing-a-rest-api/#comment-432</link>
		<dc:creator>Harga Notebook</dc:creator>
		<pubDate>Fri, 23 Mar 2012 12:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=47#comment-432</guid>
		<description>4567uiyhlkjmbvncxz Glad to be  one of many  visitors   on this amazing   website   : D.
http://update-seputar-software.blogspot.com/2011/12/ultrabook-notebook-tipis-harga-murah.html</description>
		<content:encoded><![CDATA[<p>4567uiyhlkjmbvncxz Glad to be  one of many  visitors   on this amazing   website   : D.<br />
<a href="http://update-seputar-software.blogspot.com/2011/12/ultrabook-notebook-tipis-harga-murah.html" rel="nofollow">http://update-seputar-software.blogspot.com/2011/12/ultrabook-notebook-tipis-harga-murah.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Building a RESTful Web Service with Spring 3.1 and Java based Configuration, part 2 by Knesek</title>
		<link>http://www.baeldung.com/2011/10/25/building-a-restful-web-service-with-spring-3-1-and-java-based-configuration-part-2/#comment-430</link>
		<dc:creator>Knesek</dc:creator>
		<pubDate>Mon, 19 Mar 2012 21:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=233#comment-430</guid>
		<description>Thanks for great post. For some reason, if methods are marked as final, Spring injection doesn&#039;t seem to work for controllers in my configuration (injected beans are null in controller). Couldn&#039;t figure out why. Just wanted to point that out if someone stumbles on the same problem.</description>
		<content:encoded><![CDATA[<p>Thanks for great post. For some reason, if methods are marked as final, Spring injection doesn&#8217;t seem to work for controllers in my configuration (injected beans are null in controller). Couldn&#8217;t figure out why. Just wanted to point that out if someone stumbles on the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Persistence Layer with Spring 3.1 and JPA by Bean life cycle in spring &#171; Zeeshan Akhter</title>
		<link>http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/#comment-428</link>
		<dc:creator>Bean life cycle in spring &#171; Zeeshan Akhter</dc:creator>
		<pubDate>Mon, 19 Mar 2012 10:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=720#comment-428</guid>
		<description>[...] The Persistence Layer with Spring 3.1 and JPA (baeldung.com) [...]</description>
		<content:encoded><![CDATA[<p>[...] The Persistence Layer with Spring 3.1 and JPA (baeldung.com) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Transaction configuration with JPA and Spring 3.1 by Introduction to Spring&#8217;s Aspect Oriented Programming(AOP) &#171; Zeeshan Akhter</title>
		<link>http://www.baeldung.com/2011/12/26/transaction-configuration-with-jpa-and-spring-3-1/#comment-427</link>
		<dc:creator>Introduction to Spring&#8217;s Aspect Oriented Programming(AOP) &#171; Zeeshan Akhter</dc:creator>
		<pubDate>Sat, 17 Mar 2012 10:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=893#comment-427</guid>
		<description>[...] Transaction configuration with JPA and Spring 3.1 (baeldung.com) [...]</description>
		<content:encoded><![CDATA[<p>[...] Transaction configuration with JPA and Spring 3.1 (baeldung.com) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Transaction configuration with JPA and Spring 3.1 by Spring 3 ASM &#8211; Spring asm Dependency &#171; Zeeshan Akhter</title>
		<link>http://www.baeldung.com/2011/12/26/transaction-configuration-with-jpa-and-spring-3-1/#comment-425</link>
		<dc:creator>Spring 3 ASM &#8211; Spring asm Dependency &#171; Zeeshan Akhter</dc:creator>
		<pubDate>Fri, 16 Mar 2012 05:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=893#comment-425</guid>
		<description>[...] Transaction configuration with JPA and Spring 3.1 (baeldung.com) [...]</description>
		<content:encoded><![CDATA[<p>[...] Transaction configuration with JPA and Spring 3.1 (baeldung.com) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplifying the Data Access Layer with Spring and Java Generics by baeldung</title>
		<link>http://www.baeldung.com/2011/12/08/simplifying-the-data-access-layer-with-spring-and-java-generics/#comment-423</link>
		<dc:creator>baeldung</dc:creator>
		<pubDate>Tue, 13 Mar 2012 13:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=722#comment-423</guid>
		<description>I was thinking of the instance of a Class which is helpful when writing some queries. That would be the only state that requires the prototype scope; if that&#039;s not the case (and if using things like spring-data it&#039;s not in all likelihood necessary) then the prototype scope is not necessary and we can just inject the simple generic dao with different generic parameters and let erasures do the rest. 
Thanks for pointing it out - I&#039;ll update the article accordingly. 
Eugen. </description>
		<content:encoded><![CDATA[<p>I was thinking of the instance of a Class which is helpful when writing some queries. That would be the only state that requires the prototype scope; if that&#8217;s not the case (and if using things like spring-data it&#8217;s not in all likelihood necessary) then the prototype scope is not necessary and we can just inject the simple generic dao with different generic parameters and let erasures do the rest.<br />
Thanks for pointing it out &#8211; I&#8217;ll update the article accordingly.<br />
Eugen. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplifying the Data Access Layer with Spring and Java Generics by LG Optimusv</title>
		<link>http://www.baeldung.com/2011/12/08/simplifying-the-data-access-layer-with-spring-and-java-generics/#comment-422</link>
		<dc:creator>LG Optimusv</dc:creator>
		<pubDate>Tue, 13 Mar 2012 13:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=722#comment-422</guid>
		<description>&quot;which would lead to a single instance of the DAO living in the container. That would obviously be majorly restrictive for any kind of more complex scenario.&quot;: I would like to see a complex case where a prototype-scoped DAO is better than a singleton-scoped DAO. I think the only case a prototype-scoped DAO is needed is that that DAO stores some states (i.e. it has member variables), but then why does a DAO need to store states?</description>
		<content:encoded><![CDATA[<p>&#8220;which would lead to a single instance of the DAO living in the container. That would obviously be majorly restrictive for any kind of more complex scenario.&#8221;: I would like to see a complex case where a prototype-scoped DAO is better than a singleton-scoped DAO. I think the only case a prototype-scoped DAO is needed is that that DAO stores some states (i.e. it has member variables), but then why does a DAO need to store states?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by baeldung</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-421</link>
		<dc:creator>baeldung</dc:creator>
		<pubDate>Mon, 12 Mar 2012 19:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-421</guid>
		<description>Well that depends on how you read/load the properties. In most cases (and by default in Spring) properties are loaded once when the Spring context is bootstrapped, so whatever you add later on, the running web application will not pick up. You can change values by hand and restart - no need to build again. Also, if you go once step forward, if you have a mechanism that listens on changes of these properties files (and reloads the values when they change) they you no longer need the restart (see what LiveRebel does for an example), but to answer your questions - no, you don&#039;t need to rebuild - that&#039;s the entire point of keeping these properties in properties files and not in code. 
Thanks for the feedback. 
Eugen. </description>
		<content:encoded><![CDATA[<p>Well that depends on how you read/load the properties. In most cases (and by default in Spring) properties are loaded once when the Spring context is bootstrapped, so whatever you add later on, the running web application will not pick up. You can change values by hand and restart &#8211; no need to build again. Also, if you go once step forward, if you have a mechanism that listens on changes of these properties files (and reloads the values when they change) they you no longer need the restart (see what LiveRebel does for an example), but to answer your questions &#8211; no, you don&#8217;t need to rebuild &#8211; that&#8217;s the entire point of keeping these properties in properties files and not in code.<br />
Thanks for the feedback.<br />
Eugen. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by SK</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-420</link>
		<dc:creator>SK</dc:creator>
		<pubDate>Mon, 12 Mar 2012 18:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-420</guid>
		<description>Ah, never mind - I see your point about making the properties file available on the classpath of the application, thanks!</description>
		<content:encoded><![CDATA[<p>Ah, never mind &#8211; I see your point about making the properties file available on the classpath of the application, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by SK</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-419</link>
		<dc:creator>SK</dc:creator>
		<pubDate>Mon, 12 Mar 2012 18:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-419</guid>
		<description>If we have to change the production environment configuration (let&#039;s say there is some change to the database host/port), does this mean that i have to rebuild my maven artifact with the new properties file?</description>
		<content:encoded><![CDATA[<p>If we have to change the production environment configuration (let&#8217;s say there is some change to the database host/port), does this mean that i have to rebuild my maven artifact with the new properties file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by Dave</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-418</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 12 Mar 2012 15:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-418</guid>
		<description>We generally don&#039;t think it&#039;s a good idea to re-build for each target environment. We want to feel confident that the artifact tested in one environment (e.g. system test) is the same artifact tested in the next environment (e.g. UAT). So I actually think environment-specific properties files is the right way to go in this case.</description>
		<content:encoded><![CDATA[<p>We generally don&#8217;t think it&#8217;s a good idea to re-build for each target environment. We want to feel confident that the artifact tested in one environment (e.g. system test) is the same artifact tested in the next environment (e.g. UAT). So I actually think environment-specific properties files is the right way to go in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Project Configuration with Spring by baeldung</title>
		<link>http://www.baeldung.com/2012/03/12/project-configuration-with-spring/#comment-417</link>
		<dc:creator>baeldung</dc:creator>
		<pubDate>Mon, 12 Mar 2012 15:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.baeldung.com/?p=1458#comment-417</guid>
		<description>Agreed - a parameter will need to be passed to the JVM when running the tests (which is something very standard in any IDE). 
Regarding the pom.xml change - there are pom changes and then there are pom changes - setting a variable is one thing, introducing a custom plugin doing transformations is another ( setting a JVM parameter is hopefully something simple and familiar to both dev and ops ). So, while I understand the appeal of the Maven solution, it is one more moving part that you need to understand and debug when things go wrong; I&#039;d much rather do that with plain text files than with a Maven plugin, but it&#039;s clearly a decision to be evaluated based on the context, and a tread-off one way or another. My personal preference is towards this solution and I would choose the Maven plugin only if the complexity price would really be justified (perhaps on extremely large projects with lots and lots of changing configuration). </description>
		<content:encoded><![CDATA[<p>Agreed &#8211; a parameter will need to be passed to the JVM when running the tests (which is something very standard in any IDE).<br />
Regarding the pom.xml change &#8211; there are pom changes and then there are pom changes &#8211; setting a variable is one thing, introducing a custom plugin doing transformations is another ( setting a JVM parameter is hopefully something simple and familiar to both dev and ops ). So, while I understand the appeal of the Maven solution, it is one more moving part that you need to understand and debug when things go wrong; I&#8217;d much rather do that with plain text files than with a Maven plugin, but it&#8217;s clearly a decision to be evaluated based on the context, and a tread-off one way or another. My personal preference is towards this solution and I would choose the Maven plugin only if the complexity price would really be justified (perhaps on extremely large projects with lots and lots of changing configuration). </p>
]]></content:encoded>
	</item>
</channel>
</rss>

