<?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/"
	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>Comments for Exit Condition</title>
	<atom:link href="http://exitcondition.alrubinger.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://exitcondition.alrubinger.com</link>
	<description>Andrew Lee Rubinger</description>
	<lastBuildDate>Mon, 31 Oct 2011 10:16:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Don&#8217;t Call it a Comeback &#124; JBoss AS7 by Andrew Lee Rubinger</title>
		<link>http://exitcondition.alrubinger.com/2011/10/17/dont-call-it-a-comeback-jboss-as7/#comment-130</link>
		<dc:creator><![CDATA[Andrew Lee Rubinger]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=151#comment-130</guid>
		<description><![CDATA[Philippe: 

Arquillian at its core is an adaptor between a test framework (JUnit, TestNG) and any container.  Here we define &quot;container&quot; as: &quot;An application which hosts and provides services to other applications.&quot;  In that sense, even Spring may be (and is) a backing &quot;container&quot;.  So Arquillian is extensible testing platform with many different runtime targets; Spring Test is clearly bound to the Spring Framework.

I can absolutely see why users coming from a Spring background don&#039;t grok the need for ShrinkWrap or @Deployment.  In a flattened classpath without deployments, of course this is superfluous.  But many other containers, Java EE included, use the notion of a deployment and ShrinkWrap is the mechanism we use to allow users to specify its contents.  Think of it as a Java Object analogue to a standard JAR; only we don&#039;t make you run a full build, serialize a physical file, or any of that.  With ShrinkWrap you can take advantage of IDE incremental compilation and run straight from the IDE&#039;s test VM launcher.

That said, yes, using the plain ShrinkWrap Archive API to make deployments could be redundant if you&#039;re already using Maven to package up your deployments.  For this case we provide the ShrinkWrap Maven Resolver API, allowing users to resolve a set of Maven Coordinates to ShrinkWrap archive(s).  An example of that usage looks like this[1].

The issue of a natural default for Tx is one on which we should continue to get opinions.  For instance I&#039;ve got tests that, in the case of one method, need to execute many Txs and ensure the persisted state (from the outside, testing isolation) is as expected.

S,
ALR

[1] https://github.com/arquillian/arquillian-showcase/blob/master/multinode/src/test/java/com/acme/multinode/grid/Deployments.java#L37]]></description>
		<content:encoded><![CDATA[<p>Philippe: </p>
<p>Arquillian at its core is an adaptor between a test framework (JUnit, TestNG) and any container.  Here we define &#8220;container&#8221; as: &#8220;An application which hosts and provides services to other applications.&#8221;  In that sense, even Spring may be (and is) a backing &#8220;container&#8221;.  So Arquillian is extensible testing platform with many different runtime targets; Spring Test is clearly bound to the Spring Framework.</p>
<p>I can absolutely see why users coming from a Spring background don&#8217;t grok the need for ShrinkWrap or @Deployment.  In a flattened classpath without deployments, of course this is superfluous.  But many other containers, Java EE included, use the notion of a deployment and ShrinkWrap is the mechanism we use to allow users to specify its contents.  Think of it as a Java Object analogue to a standard JAR; only we don&#8217;t make you run a full build, serialize a physical file, or any of that.  With ShrinkWrap you can take advantage of IDE incremental compilation and run straight from the IDE&#8217;s test VM launcher.</p>
<p>That said, yes, using the plain ShrinkWrap Archive API to make deployments could be redundant if you&#8217;re already using Maven to package up your deployments.  For this case we provide the ShrinkWrap Maven Resolver API, allowing users to resolve a set of Maven Coordinates to ShrinkWrap archive(s).  An example of that usage looks like this[1].</p>
<p>The issue of a natural default for Tx is one on which we should continue to get opinions.  For instance I&#8217;ve got tests that, in the case of one method, need to execute many Txs and ensure the persisted state (from the outside, testing isolation) is as expected.</p>
<p>S,<br />
ALR</p>
<p>[1] <a href="https://github.com/arquillian/arquillian-showcase/blob/master/multinode/src/test/java/com/acme/multinode/grid/Deployments.java#L37" rel="nofollow">https://github.com/arquillian/arquillian-showcase/blob/master/multinode/src/test/java/com/acme/multinode/grid/Deployments.java#L37</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Call it a Comeback &#124; JBoss AS7 by Philippe Marschall</title>
		<link>http://exitcondition.alrubinger.com/2011/10/17/dont-call-it-a-comeback-jboss-as7/#comment-129</link>
		<dc:creator><![CDATA[Philippe Marschall]]></dc:creator>
		<pubDate>Sat, 29 Oct 2011 13:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=151#comment-129</guid>
		<description><![CDATA[I&#039;m trying to understand, that&#039;s why I ask.

I&#039;m curious, what do you think you do better than spring-test? I&#039;m not trolling I really want to know.  Sometimes you don&#039;t know what you&#039;re missing until somebody shows you.

I don&#039;t understand the need for ShrinkWrap. The way I understand it what you posted here is just a best case secenario. I imagine once you have to package all the transitive dependencies of a class and versioned artifacts (eg. Maven) it gets quite hard to mantain. For example when you update to a new library you have to update all your ShrinkWrap definitions. Once a class depends on an other class you have to update all your ShrinkWrap definitions.

Regarding transactions I found [1]. I just can&#039;t imagine why per default you would want tests that modify the database.

 [1] http://community.jboss.org/thread/154778]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to understand, that&#8217;s why I ask.</p>
<p>I&#8217;m curious, what do you think you do better than spring-test? I&#8217;m not trolling I really want to know.  Sometimes you don&#8217;t know what you&#8217;re missing until somebody shows you.</p>
<p>I don&#8217;t understand the need for ShrinkWrap. The way I understand it what you posted here is just a best case secenario. I imagine once you have to package all the transitive dependencies of a class and versioned artifacts (eg. Maven) it gets quite hard to mantain. For example when you update to a new library you have to update all your ShrinkWrap definitions. Once a class depends on an other class you have to update all your ShrinkWrap definitions.</p>
<p>Regarding transactions I found [1]. I just can&#8217;t imagine why per default you would want tests that modify the database.</p>
<p> [1] <a href="http://community.jboss.org/thread/154778" rel="nofollow">http://community.jboss.org/thread/154778</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Call it a Comeback &#124; JBoss AS7 by Andrew Lee Rubinger</title>
		<link>http://exitcondition.alrubinger.com/2011/10/17/dont-call-it-a-comeback-jboss-as7/#comment-128</link>
		<dc:creator><![CDATA[Andrew Lee Rubinger]]></dc:creator>
		<pubDate>Fri, 28 Oct 2011 04:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=151#comment-128</guid>
		<description><![CDATA[Philippe:

So great feature request for a declarative way to deal with transactions scoped to the test method.  I&#039;m thinking something like @Transactional(rollback=boolean) should do the trick.  Course, I wouldn&#039;t make this a default at all; I like stuff to be explicit and easily-defined.  There are lots of other hooks to reset test state to default values ie. DBUnit and I don&#039;t think we should step on any toes or presume to muck w/ Txs unless otherwise instructed.

And don&#039;t you think you&#039;re rushing to judgement on Arquillian over just this one point?  Arquillian is a test platform; it adapts the test lifecycle into *any* backing &quot;container&quot;, including other test frameworks like Selenium.  I think you&#039;d be doing yourself a disservice to disregard the power and portability of Arquillian over this one point.  And yes, we feel we do many things better than Spring Test (and from the feedback we&#039;ve gotten recently, many users agree).

Maybe you&#039;d like to join us w/ some contribution?  Your experience in the area could help shed some light on weaker pieces and let us buff up in those areas.

S,
ALR]]></description>
		<content:encoded><![CDATA[<p>Philippe:</p>
<p>So great feature request for a declarative way to deal with transactions scoped to the test method.  I&#8217;m thinking something like @Transactional(rollback=boolean) should do the trick.  Course, I wouldn&#8217;t make this a default at all; I like stuff to be explicit and easily-defined.  There are lots of other hooks to reset test state to default values ie. DBUnit and I don&#8217;t think we should step on any toes or presume to muck w/ Txs unless otherwise instructed.</p>
<p>And don&#8217;t you think you&#8217;re rushing to judgement on Arquillian over just this one point?  Arquillian is a test platform; it adapts the test lifecycle into *any* backing &#8220;container&#8221;, including other test frameworks like Selenium.  I think you&#8217;d be doing yourself a disservice to disregard the power and portability of Arquillian over this one point.  And yes, we feel we do many things better than Spring Test (and from the feedback we&#8217;ve gotten recently, many users agree).</p>
<p>Maybe you&#8217;d like to join us w/ some contribution?  Your experience in the area could help shed some light on weaker pieces and let us buff up in those areas.</p>
<p>S,<br />
ALR</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Call it a Comeback &#124; JBoss AS7 by Philippe Marschall</title>
		<link>http://exitcondition.alrubinger.com/2011/10/17/dont-call-it-a-comeback-jboss-as7/#comment-126</link>
		<dc:creator><![CDATA[Philippe Marschall]]></dc:creator>
		<pubDate>Wed, 26 Oct 2011 17:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=151#comment-126</guid>
		<description><![CDATA[AS 7 looks really great. I&#039;m sold on everything but Arquillian.

You&#039;re obviously up against spring-test. spring-test runs the tests in a (Spring) container as well without needing any IDE tooling as well. In addition per default it runs each test in a transaction and rolls it back after the test (zero lines of Java or XML). This makes sense as a default because per default you don&#039;t want to have tests that commit (or have any other side effect). Arquillian does not support this. You have to inject a UserTransaction or EJBContext and manually roll back after the test. In addition you don&#039;t need to muck around with deployments in spring-test, I mean why would you?]]></description>
		<content:encoded><![CDATA[<p>AS 7 looks really great. I&#8217;m sold on everything but Arquillian.</p>
<p>You&#8217;re obviously up against spring-test. spring-test runs the tests in a (Spring) container as well without needing any IDE tooling as well. In addition per default it runs each test in a transaction and rolls it back after the test (zero lines of Java or XML). This makes sense as a default because per default you don&#8217;t want to have tests that commit (or have any other side effect). Arquillian does not support this. You have to inject a UserTransaction or EJBContext and manually roll back after the test. In addition you don&#8217;t need to muck around with deployments in spring-test, I mean why would you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Call it a Comeback &#124; JBoss AS7 by Z</title>
		<link>http://exitcondition.alrubinger.com/2011/10/17/dont-call-it-a-comeback-jboss-as7/#comment-125</link>
		<dc:creator><![CDATA[Z]]></dc:creator>
		<pubDate>Tue, 25 Oct 2011 16:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=151#comment-125</guid>
		<description><![CDATA[Are there any tutorials or books available on upgrading applications from Jboss6 to 7?]]></description>
		<content:encoded><![CDATA[<p>Are there any tutorials or books available on upgrading applications from Jboss6 to 7?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on We&#8217;re Gonna be Good Embed by No Pain, No Pain &#124; Embedded APIs for JBossAS &#171; Exit Condition</title>
		<link>http://exitcondition.alrubinger.com/2009/07/29/were-gonna-be-good-embed/#comment-106</link>
		<dc:creator><![CDATA[No Pain, No Pain &#124; Embedded APIs for JBossAS &#171; Exit Condition]]></dc:creator>
		<pubDate>Thu, 03 Dec 2009 00:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=67#comment-106</guid>
		<description><![CDATA[[...] time back[2] I&#8217;d reported on the progress made in prototyping an Embedded API for the JBoss Application [...]]]></description>
		<content:encoded><![CDATA[<p>[...] time back[2] I&#8217;d reported on the progress made in prototyping an Embedded API for the JBoss Application [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Heavy is a Perception by No Pain, No Pain &#124; Embedded APIs for JBossAS &#171; Exit Condition</title>
		<link>http://exitcondition.alrubinger.com/2008/01/05/heavy-is-a-perception/#comment-105</link>
		<dc:creator><![CDATA[No Pain, No Pain &#124; Embedded APIs for JBossAS &#171; Exit Condition]]></dc:creator>
		<pubDate>Wed, 02 Dec 2009 22:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/2008/01/05/heavy-is-a-perception/#comment-105</guid>
		<description><![CDATA[[...] servers. I&#8217;ve a clear history towards promoting JBossAS over something more lightweight[1], and in my opinion any non-trivial application that doesn&#8217;t take advantage of a decent [...]]]></description>
		<content:encoded><![CDATA[<p>[...] servers. I&#8217;ve a clear history towards promoting JBossAS over something more lightweight[1], and in my opinion any non-trivial application that doesn&#8217;t take advantage of a decent [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on We&#8217;re Gonna be Good Embed by skajotde</title>
		<link>http://exitcondition.alrubinger.com/2009/07/29/were-gonna-be-good-embed/#comment-102</link>
		<dc:creator><![CDATA[skajotde]]></dc:creator>
		<pubDate>Wed, 30 Sep 2009 22:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=67#comment-102</guid>
		<description><![CDATA[It very cool feature. Many developers wait for it for couple years. Great work!]]></description>
		<content:encoded><![CDATA[<p>It very cool feature. Many developers wait for it for couple years. Great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Doing Two Models at the Same Time by kate</title>
		<link>http://exitcondition.alrubinger.com/2008/12/20/doing-two-models-at-the-same-time/#comment-101</link>
		<dc:creator><![CDATA[kate]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 12:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=41#comment-101</guid>
		<description><![CDATA[I REMEMBER THAT NIGHT!!! hahaha. have nooooo idea about anything after the 3rd paragraph, but yes, those were amazing parties ;) making one final trip to beantown in 2 weekends before retreating to the islands for good this time. hopefully i can catch up with you and cay? miss you both... xo]]></description>
		<content:encoded><![CDATA[<p>I REMEMBER THAT NIGHT!!! hahaha. have nooooo idea about anything after the 3rd paragraph, but yes, those were amazing parties <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  making one final trip to beantown in 2 weekends before retreating to the islands for good this time. hopefully i can catch up with you and cay? miss you both&#8230; xo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Doing Two Models at the Same Time by john</title>
		<link>http://exitcondition.alrubinger.com/2008/12/20/doing-two-models-at-the-same-time/#comment-96</link>
		<dc:creator><![CDATA[john]]></dc:creator>
		<pubDate>Tue, 18 Aug 2009 01:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.alrubinger.com/?p=41#comment-96</guid>
		<description><![CDATA[You ask what would I do with this?

I have a need to build a corba server in jboss as a replacement for an existing standalone corba server as java application.  I&#039;ll implment a corba servant (which implements the corba interface) as a facade, which delegates to local ejb session bean (where the real meat of the replacement will be implemented).  I think the best way to implement a servant in jboss is to implement a microcontainer pojo.

It doesn&#039;t look like microcontainer would inject the ejb proxy as part of the jboss-beans.xml file, as in: .  That would be too easy, I guess.

So, I&#039;m left with doing two models at the same time.  The corba servant would declare a field with the @EJB annotation.  And the code above would cause it to be injected.  I don&#039;t understand enough about the microcontainer, but from what I see so far, I think it would be simpler if my corba servant simply did a lookup against an InitialContext for the ejb.

Thanks for the article.]]></description>
		<content:encoded><![CDATA[<p>You ask what would I do with this?</p>
<p>I have a need to build a corba server in jboss as a replacement for an existing standalone corba server as java application.  I&#8217;ll implment a corba servant (which implements the corba interface) as a facade, which delegates to local ejb session bean (where the real meat of the replacement will be implemented).  I think the best way to implement a servant in jboss is to implement a microcontainer pojo.</p>
<p>It doesn&#8217;t look like microcontainer would inject the ejb proxy as part of the jboss-beans.xml file, as in: .  That would be too easy, I guess.</p>
<p>So, I&#8217;m left with doing two models at the same time.  The corba servant would declare a field with the @EJB annotation.  And the code above would cause it to be injected.  I don&#8217;t understand enough about the microcontainer, but from what I see so far, I think it would be simpler if my corba servant simply did a lookup against an InitialContext for the ejb.</p>
<p>Thanks for the article.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

