<?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 Blog of Adam Warski</title>
	<atom:link href="http://www.warski.org/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warski.org/blog</link>
	<description>Java and JBoss related stuff</description>
	<lastBuildDate>Sun, 13 May 2012 11:59:43 +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 Dependency injection discourages object-oriented programming? by Adam Warski</title>
		<link>http://www.warski.org/blog/2010/10/dependency-injection-discourages-object-oriented-programming/comment-page-1/#comment-3660</link>
		<dc:creator>Adam Warski</dc:creator>
		<pubDate>Sun, 13 May 2012 11:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=272#comment-3660</guid>
		<description>IoC is step one: making sure that a class isn&#039;t responsible for creating its dependencies, but the dependencies are provided from outside. In other words: use constructor arguments ;). And it&#039;s perfectly usable in small projects.

DI is a step further, providing e.g. auto-wiring, containers etc. True that it makes no sense for small things.</description>
		<content:encoded><![CDATA[<p>IoC is step one: making sure that a class isn&#8217;t responsible for creating its dependencies, but the dependencies are provided from outside. In other words: use constructor arguments ;). And it&#8217;s perfectly usable in small projects.</p>
<p>DI is a step further, providing e.g. auto-wiring, containers etc. True that it makes no sense for small things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dependency injection discourages object-oriented programming? by Saeed Neamati</title>
		<link>http://www.warski.org/blog/2010/10/dependency-injection-discourages-object-oriented-programming/comment-page-1/#comment-3658</link>
		<dc:creator>Saeed Neamati</dc:creator>
		<pubDate>Sat, 12 May 2012 09:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=272#comment-3658</guid>
		<description>I think the most important problem of DI is that, it&#039;s not for small projects. If you use it in a small project (wrong place) then it becomes an anti-pattern rather than being helpful at all. Where you don&#039;t want to be extensible and dynamic, why should you use it?

Another problem I have is that name of IoC. I never understand it. ;). DI is meaningful and you do &quot;inject&quot; something that the class is &quot;dependent&quot; upon. But Inversion of Control doesn&#039;t make sense to me at all.</description>
		<content:encoded><![CDATA[<p>I think the most important problem of DI is that, it&#8217;s not for small projects. If you use it in a small project (wrong place) then it becomes an anti-pattern rather than being helpful at all. Where you don&#8217;t want to be extensible and dynamic, why should you use it?</p>
<p>Another problem I have is that name of IoC. I never understand it. ;). DI is meaningful and you do &#8220;inject&#8221; something that the class is &#8220;dependent&#8221; upon. But Inversion of Control doesn&#8217;t make sense to me at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Frameworks vs Libraries as Inheritance vs Composition? by Adam Warski</title>
		<link>http://www.warski.org/blog/2012/04/frameworks-vs-libraries-as-inheritance-vs-composition/comment-page-1/#comment-3619</link>
		<dc:creator>Adam Warski</dc:creator>
		<pubDate>Fri, 27 Apr 2012 06:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=570#comment-3619</guid>
		<description>Not really, you could have a framework where you pass in callbacks as parameters, I suppose. These callbacks could implement an interface, but otherwise be ordinary objects.</description>
		<content:encoded><![CDATA[<p>Not really, you could have a framework where you pass in callbacks as parameters, I suppose. These callbacks could implement an interface, but otherwise be ordinary objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Frameworks vs Libraries as Inheritance vs Composition? by Zbigniew Łukasiak</title>
		<link>http://www.warski.org/blog/2012/04/frameworks-vs-libraries-as-inheritance-vs-composition/comment-page-1/#comment-3618</link>
		<dc:creator>Zbigniew Łukasiak</dc:creator>
		<pubDate>Fri, 27 Apr 2012 05:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=570#comment-3618</guid>
		<description>Doesn&#039;t the definition of Framework imply using inheritance?  Even if not - then there must be a direct analogy - in Framework it is the Framework code that calls your code - just like in the Template Method pattern (involving inheritance).

Some time ago I&#039;ve written: http://perlalchemy.blogspot.com/2010/02/frameworks-are-framing-libraries-are.html</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t the definition of Framework imply using inheritance?  Even if not &#8211; then there must be a direct analogy &#8211; in Framework it is the Framework code that calls your code &#8211; just like in the Template Method pattern (involving inheritance).</p>
<p>Some time ago I&#8217;ve written: <a href="http://perlalchemy.blogspot.com/2010/02/frameworks-are-framing-libraries-are.html" rel="nofollow">http://perlalchemy.blogspot.com/2010/02/frameworks-are-framing-libraries-are.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Frameworks vs Libraries as Inheritance vs Composition? by Wolfgang</title>
		<link>http://www.warski.org/blog/2012/04/frameworks-vs-libraries-as-inheritance-vs-composition/comment-page-1/#comment-3511</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Tue, 17 Apr 2012 12:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=570#comment-3511</guid>
		<description>Good point about reuse: frameworks do not scale from one to many frameworks.

Another criterion for the decision between framework and library: state and/or lifecycle.

If the lifecycle of an object is an important aspect, the object should be managed by a framework. The point of control should be in the framework, so that there is a defined order of execution.

If on the other hand the functions can be used without restrictions on order or lifecycle stages, they should be put into a library.</description>
		<content:encoded><![CDATA[<p>Good point about reuse: frameworks do not scale from one to many frameworks.</p>
<p>Another criterion for the decision between framework and library: state and/or lifecycle.</p>
<p>If the lifecycle of an object is an important aspect, the object should be managed by a framework. The point of control should be in the framework, so that there is a defined order of execution.</p>
<p>If on the other hand the functions can be used without restrictions on order or lifecycle stages, they should be put into a library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Envers bundled with JBoss AS 7.0.2! by Adam Warski</title>
		<link>http://www.warski.org/blog/2011/09/envers-bundled-with-jboss-as-7-0-2/comment-page-1/#comment-3497</link>
		<dc:creator>Adam Warski</dc:creator>
		<pubDate>Thu, 12 Apr 2012 18:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=532#comment-3497</guid>
		<description>With Envers, you can only query for data from one entity at a time.</description>
		<content:encoded><![CDATA[<p>With Envers, you can only query for data from one entity at a time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Envers bundled with JBoss AS 7.0.2! by Ben</title>
		<link>http://www.warski.org/blog/2011/09/envers-bundled-with-jboss-as-7-0-2/comment-page-1/#comment-3492</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 10 Apr 2012 20:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=532#comment-3492</guid>
		<description>hi,
   I am using hibernate 4.0.1 envers, at present we have typed query (joining multiple entities and restriving sub set of attributes from each entity). I would like to know is there a away to write a query which will return data from multiple entities(using envers revisions). 

Thanks in advance,
Benarjee</description>
		<content:encoded><![CDATA[<p>hi,<br />
   I am using hibernate 4.0.1 envers, at present we have typed query (joining multiple entities and restriving sub set of attributes from each entity). I would like to know is there a away to write a query which will return data from multiple entities(using envers revisions). </p>
<p>Thanks in advance,<br />
Benarjee</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modules, modules, modules &#8230; by Adam Warski</title>
		<link>http://www.warski.org/blog/2011/08/modules-modules-modules/comment-page-1/#comment-3448</link>
		<dc:creator>Adam Warski</dc:creator>
		<pubDate>Fri, 24 Feb 2012 19:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=499#comment-3448</guid>
		<description>DRY - yes, but in another sense (name repetition).
Encapsulation - yes, but on a higher level (hiding code in one module from another). But is it a higher level? The mechanism is the same, but we don&#039;t hide code in a class, we hide whole classes.
Litte classes -&gt; little modules?

I guess modularity in the sense I meant isn&#039;t secondary at all. Both are important in fact.

Adam</description>
		<content:encoded><![CDATA[<p>DRY &#8211; yes, but in another sense (name repetition).<br />
Encapsulation &#8211; yes, but on a higher level (hiding code in one module from another). But is it a higher level? The mechanism is the same, but we don&#8217;t hide code in a class, we hide whole classes.<br />
Litte classes -> little modules?</p>
<p>I guess modularity in the sense I meant isn&#8217;t secondary at all. Both are important in fact.</p>
<p>Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modules, modules, modules &#8230; by Tomasz Nazar</title>
		<link>http://www.warski.org/blog/2011/08/modules-modules-modules/comment-page-1/#comment-3445</link>
		<dc:creator>Tomasz Nazar</dc:creator>
		<pubDate>Fri, 24 Feb 2012 09:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=499#comment-3445</guid>
		<description>Looks like I assumed some context of my conclusions, and mistaken modularity you&#039;re talking about..

I thought you&#039;re writing on primary focus of OO: modularity of classes (encapsulation, DRY, small fns, little classes).. 

.. and in fact you&#039;re speaking on packages, modules.. which is .. ehmm.. secondary.

So excuse my noise here..
We could talk about OO though :-)</description>
		<content:encoded><![CDATA[<p>Looks like I assumed some context of my conclusions, and mistaken modularity you&#8217;re talking about..</p>
<p>I thought you&#8217;re writing on primary focus of OO: modularity of classes (encapsulation, DRY, small fns, little classes).. </p>
<p>.. and in fact you&#8217;re speaking on packages, modules.. which is .. ehmm.. secondary.</p>
<p>So excuse my noise here..<br />
We could talk about OO though :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modules, modules, modules &#8230; by Adam Warski</title>
		<link>http://www.warski.org/blog/2011/08/modules-modules-modules/comment-page-1/#comment-3444</link>
		<dc:creator>Adam Warski</dc:creator>
		<pubDate>Wed, 22 Feb 2012 20:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.warski.org/blog/?p=499#comment-3444</guid>
		<description>AOP is good for cross-cutting concernes. I don&#039;t think anybody uses it for mixins.

Speaking of mixins, how do they solve the above mentioned problems? In fact the Cake Pattern uses mixins extensively (it&#039;s based on some properties of traits), and still it&#039;s very far from perfect.

Adam</description>
		<content:encoded><![CDATA[<p>AOP is good for cross-cutting concernes. I don&#8217;t think anybody uses it for mixins.</p>
<p>Speaking of mixins, how do they solve the above mentioned problems? In fact the Cake Pattern uses mixins extensively (it&#8217;s based on some properties of traits), and still it&#8217;s very far from perfect.</p>
<p>Adam</p>
]]></content:encoded>
	</item>
</channel>
</rss>

