<?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 hasCode.com</title>
	<atom:link href="http://www.hascode.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hascode.com</link>
	<description>micha kops&#039; playground</description>
	<lastBuildDate>Wed, 16 May 2012 23:11:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Comment on Creating a sample Java EE 6 Blog Application with JPA, EJB, CDI, JSF and Primefaces on GlassFish by mlb1141</title>
		<link>http://www.hascode.com/2011/02/creating-a-sample-java-ee-6-blog-application-with-jpa-ejb-cdi-jsf-and-primefaces-on-glassfish/comment-page-1/#comment-2346</link>
		<dc:creator>mlb1141</dc:creator>
		<pubDate>Wed, 16 May 2012 23:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=638#comment-2346</guid>
		<description>Great.  This is a very informative tutorial.  I do have one question however.  I have noticed many tutorials where they use dependency injection to inject an entity (BlogEntry) into the controller/backing bean.  Does this violate separation of concerns?  Is it just the responsibility of the programmer to use the entity in the controller in a way that does not violate separation of concerns or am I just totally confused.  Thanks.</description>
		<content:encoded><![CDATA[<p>Great.  This is a very informative tutorial.  I do have one question however.  I have noticed many tutorials where they use dependency injection to inject an entity (BlogEntry) into the controller/backing bean.  Does this violate separation of concerns?  Is it just the responsibility of the programmer to use the entity in the controller in a way that does not violate separation of concerns or am I just totally confused.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by mark</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2343</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 16 May 2012 21:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2343</guid>
		<description>Thanks Micha.  The new code works.</description>
		<content:encoded><![CDATA[<p>Thanks Micha.  The new code works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by micha kops</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2342</link>
		<dc:creator>micha kops</dc:creator>
		<pubDate>Wed, 16 May 2012 19:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2342</guid>
		<description>Works for me .. using mvn tomcat:run as well as using a deployed war archive on a tomcat instance. but I&#039;ve noticed that the xpath expression was not well defined and precise enough .. I&#039;ve fixed this and updated the example .. thanks for mentioning!</description>
		<content:encoded><![CDATA[<p>Works for me .. using mvn tomcat:run as well as using a deployed war archive on a tomcat instance. but I&#8217;ve noticed that the xpath expression was not well defined and precise enough .. I&#8217;ve fixed this and updated the example .. thanks for mentioning!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by mark</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2337</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 16 May 2012 15:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2337</guid>
		<description>Running the XML using XPath example, I&#039;m getting an error:


java.lang.AssertionError: Body doesn&#039;t match.
Expected:
an XML document with XPath //person[@id=&#039;1&#039;]/email[.=&#039;test@hascode.com&#039;] and firstName=&#039;Tim&#039; and lastName=&#039;Testerman&#039;
Actual:
test@hascode.comTimTestermandev@hascode.comSaraStevensdevnull@hascode.comMarkMustache


I&#039;m using this code
expect().statusCode(200)
			.body(hasXPath(&quot;//person[@id=&#039;1&#039;]/email[.=&#039;test@hascode.com&#039;] and firstName=&#039;Tim&#039; and lastName=&#039;Testerman&#039;&quot;))
            .body(hasXPath(&quot;//person[@id=&#039;20&#039;]/email[.=&#039;dev@hascode.com&#039;] and firstName=&#039;Sara&#039; and lastName=&#039;Stevens&#039;&quot;))
            .body(hasXPath(&quot;//person[@id=&#039;11&#039;]/email[.=&#039;devnull@hascode.com&#039;] and firstName=&#039;Mark&#039; and lastName=&#039;Mustache&#039;&quot;))
            .when().get(&quot;/rest-assured-example/service/persons/xml&quot;);

Thanks for any help you can provide so I can understand how this works.</description>
		<content:encoded><![CDATA[<p>Running the XML using XPath example, I&#8217;m getting an error:</p>
<p>java.lang.AssertionError: Body doesn&#8217;t match.<br />
Expected:<br />
an XML document with XPath //person[@id='1']/email[.='test@hascode.com'] and firstName=&#8217;Tim&#8217; and lastName=&#8217;Testerman&#8217;<br />
Actual:<br />
<a href="mailto:test@hascode.comTimTestermandev">test@hascode.comTimTestermandev</a>@hascode.comSaraStevensdevnull@hascode.comMarkMustache</p>
<p>I&#8217;m using this code<br />
expect().statusCode(200)<br />
			.body(hasXPath(&#8220;//person[@id='1']/email[.='test@hascode.com'] and firstName=&#8217;Tim&#8217; and lastName=&#8217;Testerman&#8217;&#8221;))<br />
            .body(hasXPath(&#8220;//person[@id='20']/email[.='dev@hascode.com'] and firstName=&#8217;Sara&#8217; and lastName=&#8217;Stevens&#8217;&#8221;))<br />
            .body(hasXPath(&#8220;//person[@id='11']/email[.='devnull@hascode.com'] and firstName=&#8217;Mark&#8217; and lastName=&#8217;Mustache&#8217;&#8221;))<br />
            .when().get(&#8220;/rest-assured-example/service/persons/xml&#8221;);</p>
<p>Thanks for any help you can provide so I can understand how this works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by mark</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2323</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Thu, 10 May 2012 19:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2323</guid>
		<description>Thanks for the .war.  I didn&#039;t see it when I was looking at your Bitbucket repository.  Now that I&#039;ve got the .war deployed and tomcat running, I tried your example for testGetSingleUser().  I had to change get(&quot;/service/single-user&quot;); to get(&quot;/rest-assured-example/service/single-user&quot;); in order for it to find the resource and return a status code of 200.</description>
		<content:encoded><![CDATA[<p>Thanks for the .war.  I didn&#8217;t see it when I was looking at your Bitbucket repository.  Now that I&#8217;ve got the .war deployed and tomcat running, I tried your example for testGetSingleUser().  I had to change get(&#8220;/service/single-user&#8221;); to get(&#8220;/rest-assured-example/service/single-user&#8221;); in order for it to find the resource and return a status code of 200.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by micha kops</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2321</link>
		<dc:creator>micha kops</dc:creator>
		<pubDate>Thu, 10 May 2012 06:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2321</guid>
		<description>Hi, you can download the war file from my &lt;a href=&quot;https://bitbucket.org/hascode/rest-assured-samples/downloads/rest-assured-example.war&quot; rel=&quot;nofollow&quot;&gt;Bitbucket repository&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hi, you can download the war file from my <a href="https://bitbucket.org/hascode/rest-assured-samples/downloads/rest-assured-example.war" rel="nofollow">Bitbucket repository</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing RESTful Web Services made easy using the REST-assured Framework by mark</title>
		<link>http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/comment-page-1/#comment-2320</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Thu, 10 May 2012 01:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=781#comment-2320</guid>
		<description>Where can I find the demo application war file?</description>
		<content:encoded><![CDATA[<p>Where can I find the demo application war file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arquillian Tutorial: Writing Java EE 6 Integration Tests and more.. by Jacko</title>
		<link>http://www.hascode.com/2012/04/arquillian-tutorial-writing-java-ee-6-integration-tests-and-more/comment-page-1/#comment-2295</link>
		<dc:creator>Jacko</dc:creator>
		<pubDate>Fri, 04 May 2012 09:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=888#comment-2295</guid>
		<description>Good stuff! Thanks.</description>
		<content:encoded><![CDATA[<p>Good stuff! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arquillian Tutorial: Writing Java EE 6 Integration Tests and more.. by micha kops</title>
		<link>http://www.hascode.com/2012/04/arquillian-tutorial-writing-java-ee-6-integration-tests-and-more/comment-page-1/#comment-2256</link>
		<dc:creator>micha kops</dc:creator>
		<pubDate>Thu, 26 Apr 2012 21:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=888#comment-2256</guid>
		<description>thanks for your remarks! article updated :)</description>
		<content:encoded><![CDATA[<p>thanks for your remarks! article updated <img src='http://www.hascode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Arquillian Tutorial: Writing Java EE 6 Integration Tests and more.. by Aslak Knutsen</title>
		<link>http://www.hascode.com/2012/04/arquillian-tutorial-writing-java-ee-6-integration-tests-and-more/comment-page-1/#comment-2254</link>
		<dc:creator>Aslak Knutsen</dc:creator>
		<pubDate>Thu, 26 Apr 2012 21:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hascode.com/?p=888#comment-2254</guid>
		<description>Very nice write up!

To your troubleshooting: Using addAs&#124;setXX(String) in ShrinkWrap will look for a Resource in your ClassLoader. web.xml is located in src/main/webapp, which is not normally not a part of your classpath.


note: Arquillian Drone 1.0.0.Final has been released as well :)</description>
		<content:encoded><![CDATA[<p>Very nice write up!</p>
<p>To your troubleshooting: Using addAs|setXX(String) in ShrinkWrap will look for a Resource in your ClassLoader. web.xml is located in src/main/webapp, which is not normally not a part of your classpath.</p>
<p>note: Arquillian Drone 1.0.0.Final has been released as well <img src='http://www.hascode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/31 queries in 0.086 seconds using disk: basic
Object Caching 498/531 objects using disk: basic

Served from: www.hascode.com @ 2012-05-18 23:19:43 -->
