<?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: Weekend Fun: ActiveObjects Testability</title>
	<atom:link href="http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:21:24 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chuck</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-4319</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Tue, 18 Nov 2008 08:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-4319</guid>
		<description>The problem i was having is that the comment table gets created but the documentation table is not. anyway i will take this to the user lists. Cheers for the help</description>
		<content:encoded><![CDATA[<p>The problem i was having is that the comment table gets created but the documentation table is not. anyway i will take this to the user lists. Cheers for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-4318</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Tue, 18 Nov 2008 08:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-4318</guid>
		<description>@Chuck

The code you gave should work pretty much as you would expect.  In other words, I think the answer to your question is &quot;yes&quot;.  :-)

The best place for these sorts of questions is on the AO users list: users [at] activeobjects.dev.java.net</description>
		<content:encoded><![CDATA[<p>@Chuck</p>
<p>The code you gave should work pretty much as you would expect.  In other words, I think the answer to your question is &#8220;yes&#8221;.  <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The best place for these sorts of questions is on the AO users list: users [at] activeobjects.dev.java.net</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-4317</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Tue, 18 Nov 2008 07:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-4317</guid>
		<description>Hello Daniel, I find the ActiveObjects orm very interesting. I am running into a problem with the migrate method. Does ActiveObjects support the case where an entity has several onetomany relationships or even a onetomany and manytomany relationship in the same entity. eg.

public interface Event extends Entity{
	
	public String getName();
	public void setName(String name);
	
	public int getNumber();
	public void setNumber(int number);
	
	public boolean getComplete();
	public void setComplete(boolean complete);
	
	@OneToMany
	public Comment[] getComments();
	
	@OneToMany
	public Documentation[] getDocumentation();
	
}

hope you can make sense of my question. thanks alot</description>
		<content:encoded><![CDATA[<p>Hello Daniel, I find the ActiveObjects orm very interesting. I am running into a problem with the migrate method. Does ActiveObjects support the case where an entity has several onetomany relationships or even a onetomany and manytomany relationship in the same entity. eg.</p>
<p>public interface Event extends Entity{</p>
<p>	public String getName();<br />
	public void setName(String name);</p>
<p>	public int getNumber();<br />
	public void setNumber(int number);</p>
<p>	public boolean getComplete();<br />
	public void setComplete(boolean complete);</p>
<p>	@OneToMany<br />
	public Comment[] getComments();</p>
<p>	@OneToMany<br />
	public Documentation[] getDocumentation();</p>
<p>}</p>
<p>hope you can make sense of my question. thanks alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-3599</link>
		<dc:creator>Glen</dc:creator>
		<pubDate>Mon, 19 May 2008 00:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-3599</guid>
		<description>&gt;It seems to run some sort of metrics based on things like constructors, global state,
&gt;serializability, method side-effects and so on. I think that it’s trying to quantify how easy it is 
&gt;to isolate the effects of a certain class from the rest of the library, something which makes 
&gt;unit testing easier. That’s just a guess though.

If so it still needs some tweaking in my opinion.  The class it pointed out had very few external dependencies.  What probably triggered it were some of the conditional logic however most of it was fairly localized and I&#039;m surprised it would have considered it a problem.</description>
		<content:encoded><![CDATA[<p>&gt;It seems to run some sort of metrics based on things like constructors, global state,<br />
&gt;serializability, method side-effects and so on. I think that it’s trying to quantify how easy it is<br />
&gt;to isolate the effects of a certain class from the rest of the library, something which makes<br />
&gt;unit testing easier. That’s just a guess though.</p>
<p>If so it still needs some tweaking in my opinion.  The class it pointed out had very few external dependencies.  What probably triggered it were some of the conditional logic however most of it was fairly localized and I&#8217;m surprised it would have considered it a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-3598</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Mon, 19 May 2008 00:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-3598</guid>
		<description>It seems to run some sort of metrics based on things like constructors, global state, serializability, method side-effects and so on.  I think that it&#039;s trying to quantify how easy it is to isolate the effects of a certain class from the rest of the library, something which makes unit testing easier.  That&#039;s just a guess though.

One thing I forgot to mention was that I tried to run it against the Scala standard library, but it crashed with an exception.  I would have been interested to see the results of that examination, considering how Scala encourages immutable data and the limiting of side-effects.  Considering the metrics they seem to be using, most idiomatic Scala libraries would probably score quite well.</description>
		<content:encoded><![CDATA[<p>It seems to run some sort of metrics based on things like constructors, global state, serializability, method side-effects and so on.  I think that it&#8217;s trying to quantify how easy it is to isolate the effects of a certain class from the rest of the library, something which makes unit testing easier.  That&#8217;s just a guess though.</p>
<p>One thing I forgot to mention was that I tried to run it against the Scala standard library, but it crashed with an exception.  I would have been interested to see the results of that examination, considering how Scala encourages immutable data and the limiting of side-effects.  Considering the metrics they seem to be using, most idiomatic Scala libraries would probably score quite well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen</title>
		<link>http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability/comment-page-1#comment-3597</link>
		<dc:creator>Glen</dc:creator>
		<pubDate>Mon, 19 May 2008 00:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/weekend-fun-activeobjects-testability#comment-3597</guid>
		<description>Not sure how accurate this is.  I ran it through some code and the class that was marked as the worst offender was one I would have considered fairly easily tested.</description>
		<content:encoded><![CDATA[<p>Not sure how accurate this is.  I ran it through some code and the class that was marked as the worst offender was one I would have considered fairly easily tested.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

