<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java Application Architecture &#187; Base Pattern</title>
	<atom:link href="http://www.kirkk.com/modularity/category/base-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kirkk.com/modularity</link>
	<description>Modularity Patterns with Examples Using OSGi</description>
	<lastBuildDate>Wed, 28 Dec 2011 17:29:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cohesive Modules</title>
		<link>http://www.kirkk.com/modularity/2009/12/cohesive-modules/</link>
		<comments>http://www.kirkk.com/modularity/2009/12/cohesive-modules/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 02:11:24 +0000</pubDate>
		<dc:creator>kirk knoernschild</dc:creator>
				<category><![CDATA[Base Pattern]]></category>
		<category><![CDATA[Part 2]]></category>

		<guid isPermaLink="false">http://www.kirkk.com/modularity/?p=310</guid>
		<description><![CDATA[For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.
Statement
Module behavior should serve a singular purpose.
Description
There are two key elements that affect module cohesion. These follow:

The rate at which the software entities within a module change.
The likelihood that the software entities within a module are reused together.

Based on [...]]]></description>
			<content:encoded><![CDATA[<p><i>For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.</i></p>
<h2>Statement</h2>
<p>Module behavior should serve a singular purpose.</p>
<h2>Description</h2>
<p>There are two key elements that affect module cohesion. These follow:</p>
<ul>
<li>The rate at which the software entities within a module change.</li>
<li>The likelihood that the software entities within a module are reused together.</li>
</ul>
<p>Based on these statements, it&#8217;s easy to draw the following conclusion:</p>
<ul>
<li>Classes which change at different rates belong in separate modules.</li>
<li>Classes that change at the same rate belong in the same module.</li>
<li>Classes not reused together belong in separate modules.</li>
<li>Classes reused together belong in the same module.</li>
</ul>
<p>Unforunately, while logical, these general statements do not always apply.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kirkk.com/modularity/2009/12/cohesive-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Module Reuse</title>
		<link>http://www.kirkk.com/modularity/2009/12/module-reuse/</link>
		<comments>http://www.kirkk.com/modularity/2009/12/module-reuse/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 02:55:11 +0000</pubDate>
		<dc:creator>kirk knoernschild</dc:creator>
				<category><![CDATA[Base Pattern]]></category>
		<category><![CDATA[Part 2]]></category>

		<guid isPermaLink="false">http://www.kirkk.com/modularity/?p=159</guid>
		<description><![CDATA[For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.
Statement
Emphasize reuse at the module level.
Description
One of the oft cited benefits of object oriented development is reuse. A large part of its failure is because classes aren&#8217;t the best reuse mechanism.
]]></description>
			<content:encoded><![CDATA[<p><i>For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.</i></p>
<h2>Statement</h2>
<p>Emphasize reuse at the module level.</p>
<h2>Description</h2>
<p>One of the oft cited benefits of object oriented development is reuse. A large part of its failure is because classes aren&#8217;t the best reuse mechanism.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kirkk.com/modularity/2009/12/module-reuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage Relationships</title>
		<link>http://www.kirkk.com/modularity/2009/12/manage-relationships/</link>
		<comments>http://www.kirkk.com/modularity/2009/12/manage-relationships/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 01:49:58 +0000</pubDate>
		<dc:creator>kirk knoernschild</dc:creator>
				<category><![CDATA[Base Pattern]]></category>
		<category><![CDATA[Part 2]]></category>

		<guid isPermaLink="false">http://www.kirkk.com/modularity/?p=138</guid>
		<description><![CDATA[For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.
Statement
Design module relationships.
Description
A relationship between two modules exists when a class within one module imports at least a single class within another module. In other words:
If changing the contents of a module, M2, may impact the contents of another [...]]]></description>
			<content:encoded><![CDATA[<p><i>For the full description, implementation variations, consequences, and detailed sample, see Page 150 in Java Application Architecture.</i></p>
<h2>Statement</h2>
<p>Design module relationships.</p>
<h2>Description</h2>
<p>A relationship between two modules exists when a class within one module imports at least a single class within another module. In other words:</p>
<blockquote><p>If changing the contents of a module, M2, may impact the contents of another module, M1, we can say that M1 has a Physical Dependency on M2. [JOUP02]</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-140" style="border: 0pt none;" title="DirectAndIndirect" src="http://www.kirkk.com/modularity/wp-content/uploads/2009/12/DirectAndIndirect1.jpg" alt="DirectAndIndirect" width="354" height="305" /><strong> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kirkk.com/modularity/2009/12/manage-relationships/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

