<?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/"
	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>Anup Jani Blogs</title>
	<atom:link href="http://anupjani.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anupjani.wordpress.com</link>
	<description>Technology And Spirituality</description>
	<lastBuildDate>Wed, 18 Apr 2012 19:56:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anupjani.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/992a3fb421d512f72960dd4f8c8cf000?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Anup Jani Blogs</title>
		<link>http://anupjani.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anupjani.wordpress.com/osd.xml" title="Anup Jani Blogs" />
	<atom:link rel='hub' href='http://anupjani.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Corruption &amp; Lokpal Bill &#8211; India</title>
		<link>http://anupjani.wordpress.com/2011/05/03/corruption-lokpal-bill-india/</link>
		<comments>http://anupjani.wordpress.com/2011/05/03/corruption-lokpal-bill-india/#comments</comments>
		<pubDate>Tue, 03 May 2011 03:55:20 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Political Analysis]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=169</guid>
		<description><![CDATA[How Corruption works • Corruption is Top-Down Phenomenon • Corporate corruption always operates through public officials. • Monster corporations are growth hungry &#38; political parties are power hungry. • Elections campaigns get big black money from such monster corporations. In return, the monster corporations dictate govt. policies in their favor. • With favorable conditions, monster [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=169&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong>How Corruption works</strong></span></p>
<p>• Corruption is Top-Down Phenomenon</p>
<p>• Corporate corruption always operates through public officials.</p>
<p>• Monster corporations are growth hungry &amp; political parties are power hungry.</p>
<p>• Elections campaigns get big black money from such monster corporations. In return, the monster corporations dictate govt. policies in their favor.</p>
<p>• With favorable conditions, monster corporations have more financial &amp; other resources (oil, gas, energy, etc…) than 80% of people.</p>
<p>• Economy gets driven by their selfish means. Prices rise, rich become richer &amp; poor become poorer.</p>
<p>• This is how corporations rule and political officials become their agents</p>
<p>• As a result common people suffer due to lack of adequate resources and overall growth of the country is retarded.</p>
<p>• Moreover, corruption thrives even at bottom level because officers who should stop corruption are also corrupt. No one to watch them.</p>
<p><span style="text-decoration:underline;"><strong>What makes the people of the country handicap?</strong></span></p>
<p>• CVC (Central Vigilance Commission) is independent but has no power to prosecute.</p>
<p>• CBI (Central Bureau of Investigation) has power but is not independent (has to wait for central govt.’s permission for prosecution).</p>
<p><span style="text-decoration:underline;"><strong>Where is the missing link?</strong></span></p>
<p>• Need an independent powerful body to remove corruption by investigating and prosecuting govt. officials impartially.</p>
<p>• Lokpal has only been advisory to govt. without any powers to investigate &amp; prosecute govt. officials.</p>
<p>• 8 attempts (1968, 1971, 1977, 1985, 1989, 1996, 1998 &amp; 2001) have been failed to in past 42 years for making Lokpal more powerful enough to be able to prosecute corrupt officials impartially.</p>
<p><span style="text-decoration:underline;"><strong>The trigger point</strong></span></p>
<p>• Global Financial Integrity (a NGO) pegged outflow of illegal money from India.</p>
<p>• $500 billion &#8211; $1400 billion trailed in Swiss banks. All Indian black money.</p>
<p>• Finance Minister Pranab Mukherjee’s steps inadequate to combat this menace.</p>
<p>• Govt. has the necessary information &amp; tools at its disposal to trace &amp; prosecute the offenders. E.g. Swiss banks can provide details if Tax authority registers formal cases against offenders.</p>
<p>• But if names disclosed, entire UPA govt. would fall. There is lack of political will.</p>
<p><span style="text-decoration:underline;"><strong>Enter Anna Hazare (Former Indian Army Havildar &amp; activist of civil society).</strong></span></p>
<p>• Anna: “Govt. (merely the trustee of people to safeguard public money) is failing its duty to people (masters in democracy).</p>
<p>• Anna writes letter to PM (Manmohan Singh) with intention of “fast unto death” if govt. didn’t accept his demand by April 5.</p>
<p>• Demand = “Include civil society members in the drafting of Lokpal Bill so as to allow to investigate &amp; prosecute corrupt public servants impartially”.</p>
<p>• Anna’s declaration largely gets immediate acceptance in public (frustrated by corruption menace).</p>
<p>• Public turns angry as Govt. hesitates. People react on Media and the Internet.</p>
<p>• PM Manmohan Singh appealed to Hazare to call off his fast and engage in a discussion with subcommittee to frame the lokpal bill.</p>
<p>• Kapil Sibbal (Union Human Resource Development Minister) opposed and indicated that “outsiders” can’t draft legislation as it would be compromising parliaments’ sovereignty.</p>
<p>• Hazare: “If Govt. alone drafts the Bill, it will be Autocracy, not democracy”. And questioned govt.’s wisdom in calling civil society representatives like him as an “outsider”.</p>
<p>• SERVANTS CAN’T CALL MASTER AN OUTSIDER. IF SERVANTS DIDN’T WORK RIGHT, IT IS DUTY OF MASTER TO TEACH HIM THE RIGHT LESSON.</p>
<p>• 7th April, Govt. in Jittery, with concerns of Hazare’s deteriorating health.</p>
<p>• Number of Hazare’s Co-fasters rose to nearly 500.</p>
<p>• 8th April, Govt. agrees to accept all demands of Hazare. But Hazare waits till 9th April so that Govt. would have enough time to bring out gazette notification.</p>
<p>• Hazare breaks his fast but warns that he would do same again if Jan Lokpal Bill isn’t enacted by 15th August (symbolic deadline of 2nd freedom).</p>
<p>• But merely the Bill is not enough. Policies too should change accordingly.</p>
<p>• Therefore, next agenda is to push for decentralization. This will lead to participatory decision-making in Govt. policies to stop favoring monster corporations.</p>
<p>• Theoretically, Lokpal will have full potential to curb every corruption however it is believed it would wipe out 80% of corruption in the country.</p>
<p>• Visit http://en.wikipedia.org/wiki/Jan_Lokpal_Bill to know more (key features) about Lokpal Bill</p>
<ul>References:</ul>
<p>1. FRONTLINE (www.frontline.in), May 6, 2011<br />
2. http://en.wikipedia.org/wiki/Jan_Lokpal_Bill</p>
<br />Filed under: <a href='http://anupjani.wordpress.com/category/political-analysis/'>Political Analysis</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=169&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2011/05/03/corruption-lokpal-bill-india/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>Loud Mobile Songs In Public Places</title>
		<link>http://anupjani.wordpress.com/2010/12/16/loud-mobile-songs-in-public-places/</link>
		<comments>http://anupjani.wordpress.com/2010/12/16/loud-mobile-songs-in-public-places/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 02:25:41 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
		
		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=143</guid>
		<description><![CDATA[You are travelling on a train or bus. Your Co-passenger (CP) starts a mobile song with loud noise. Quite irritating sound coming out of that little handset !!!! ** You: Sir, can you please use head phones? CP: No, I don&#8217;t have head phone (&#38; still continues playing song loudly) You: Well, could you then please [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=143&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>You are travelling on a train or bus. </em><em>Your Co-passenger (CP) starts a mobile song with loud noise. </em><em>Quite irritating sound coming out of that little handset !!!!</em></p>
<p><em>**</em></p>
<p><strong>You: </strong>Sir, can you please use head phones?</p>
<p><strong>CP:</strong> No, I don&#8217;t have head phone (&amp; still continues playing song loudly)</p>
<div><strong>You:</strong> Well, could you then please turn it off? It&#8217;s disturbing.</div>
<div><strong><em>Rude &amp; inconsiderate CP says:</em></strong></div>
<div>
<div>Close your ears&#8230; or</div>
<div>You go travel in first class, this is general compartment&#8230; or</div>
<div>You sit somewhere else I am enjoying the music&#8230;</div>
<div>**</div>
<div>
<div><em>Every one has mobile these days, what if many of them started playing songs loudly? The general considerate thought is to turn off loud music even if a single Co-passenger is getting disturbed by your noise. Ideal thought is not to play it in the first place without your headphones.</em></div>
<div><em>**</em></div>
<div><em><br />
</em></div>
<div><em> </em></div>
</div>
</div>
<div>I prefer calling this Idiot a:</div>
<div>Co-passenger (who is) Hysterical Upsetting Terrible Inconsiderate (and) Annoying</div>
<div>**</div>
<div><span style="color:#000080;"><strong>If you don&#8217;t have head phones, at least use your head!!!!</strong></span></div>
<div><span style="color:#000080;"><strong>What had you do being at either end?</strong></span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/143/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=143&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2010/12/16/loud-mobile-songs-in-public-places/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>Diving deeply into NOW</title>
		<link>http://anupjani.wordpress.com/2010/07/24/diving-deeply-into-now/</link>
		<comments>http://anupjani.wordpress.com/2010/07/24/diving-deeply-into-now/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 12:38:49 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Spiritual]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=132</guid>
		<description><![CDATA[Filed under: Spiritual<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=132&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://anupjani.files.wordpress.com/2010/07/divingdeeplyintonow2.jpg"><img class="alignnone size-medium wp-image-135" title="DivingDeeplyIntoNow" src="http://anupjani.files.wordpress.com/2010/07/divingdeeplyintonow2.jpg?w=300&#038;h=134" alt="" width="300" height="134" /></a></p>
<br />Filed under: <a href='http://anupjani.wordpress.com/category/spiritual/'>Spiritual</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=132&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2010/07/24/diving-deeply-into-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>

		<media:content url="http://anupjani.files.wordpress.com/2010/07/divingdeeplyintonow2.jpg?w=300" medium="image">
			<media:title type="html">DivingDeeplyIntoNow</media:title>
		</media:content>
	</item>
		<item>
		<title>DEFINITION OF A BUSINESS OBJECT.</title>
		<link>http://anupjani.wordpress.com/2009/04/15/definition-of-a-business-object/</link>
		<comments>http://anupjani.wordpress.com/2009/04/15/definition-of-a-business-object/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:30:48 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[OOAD]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/2009/04/15/definition-of-a-business-object/</guid>
		<description><![CDATA[WHAT IS A BUSINESS OBJECT (BO)? Having both state &#38; behavior is an important criterion for a class to be considered as business object. It may represent a person, place, thing or concept from business domain. It should be re-usable. Generally business objects are classified into: Entity BO: Nouns from business. Process BO: Work flow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=123&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>WHAT IS A BUSINESS OBJECT (BO)?</strong></p>
<p><strong></strong>Having both <span style="text-decoration:underline;">state</span> &amp; <span style="text-decoration:underline;">behavior</span> is an important criterion for a class to be considered as business object.</p>
<p>It may represent a person, place, thing or concept <span style="text-decoration:underline;">from business domain.</span></p>
<p>It should be <span style="text-decoration:underline;">re-usable</span>.</p>
<p>Generally business objects are classified into:<br />
<strong>Entity BO</strong>: Nouns from business.<br />
<strong>Process BO</strong>: Work flow or business process.<br />
<strong>Event BO</strong>: Causes / caused by action in system. Represents an event.</p>
<p>BOs provide <span style="text-decoration:underline;">common terminology</span> &amp; ideas that can be shared across organization by technical &amp; non-technical people alike.</p>
<p>They are very <span style="text-decoration:underline;">intuitive</span> &amp; should make sense to entire organization.</p>
<p>Have <span style="text-decoration:underline;">ability to evolve</span> with organizational changes through modification / specialization.</p>
<p>BOs should have well defined <span style="text-decoration:underline;">interfaces</span> so as to <span style="text-decoration:underline;">hide low-level implementation</span>.</p>
<p>Should have clear &amp; <span style="text-decoration:underline;">cohesive</span> set of functionality.</p>
<p><span style="text-decoration:underline;">References:</span><br />
<strong>Programming Jakarta Struts<br />
</strong><em>By &#8211; Chuck Cavaness<br />
</em>O&#8217;reilly</p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: <a href="http://www.linkedin.com/in/anupjani" target="_blank">www.linkedin.com/in/anupjani</a><br />
My Blog: <a href="http://www.anupjani.wordpress.com/" target="_blank">www.anupjani.wordpress.com</a></p>
<br />Posted in OOAD  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=123&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/04/15/definition-of-a-business-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>SIMPLE XML/XSD/XSLT EXAMPLE FOR BEGINNER THAT WORKS!!!</title>
		<link>http://anupjani.wordpress.com/2009/04/10/simple-xmlxsdxslt-example-for-beginner-that-works/</link>
		<comments>http://anupjani.wordpress.com/2009/04/10/simple-xmlxsdxslt-example-for-beginner-that-works/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 00:40:28 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[XML XSD XSLT]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=115</guid>
		<description><![CDATA[CSS is Style Sheet for HTML HTML uses predefined tags, and the meaning of each tag is well understood. The &#60;table&#62; tag in HTML defines a table &#8211; and a browser knows how to display it. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=115&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CSS is Style Sheet for HTML<br />
HTML uses predefined tags, and the meaning of each tag is well understood.<br />
The &lt;table&gt; tag in HTML defines a table &#8211; and a browser knows how to display it.<br />
Adding styles to HTML elements are simple.<br />
Telling a browser to display an element in a special font or color, is easy with CSS.</p>
<p>XSL is Style Sheet for XML<br />
On the other other hand,<br />
XML does not use predefined tags (we can use any tag-names we like), and therefore the meaning of each tag is not well understood.<br />
A &lt;table&gt; tag could mean an HTML table, a piece of furniture, or something else &#8211; and a browser does not know how to display it.</p>
<p>XSL describes how the XML document should be displayed!</p>
<p><span style="text-decoration:underline;"><strong>You will need:</strong></span><br />
A good XML editor (even a notepad can do). I used XML Copy Editor 1.2.0.2<br />
A browser. (I used Mozilla Fire Fox 3.0.8).</p>
<p><span style="text-decoration:underline;"><strong>Create c:\country.xml</strong></span><br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;?xml-stylesheet type=&#8221;text/xsl&#8221; href=&#8221;country.xsl&#8221;?&gt;<br />
&lt;country xmlns:xsi=&#8221;http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:noNamespaceSchemaLocation=&#8221;country.xsd&#8221;&gt;</p>
<p>&lt;countryName&gt;Australia&lt;/countryName&gt;<br />
&lt;capital&gt;Canberra&lt;/capital&gt;<br />
&lt;nationalLanguage&gt;English&lt;/nationalLanguage&gt;<br />
&lt;population&gt;21000000&lt;/population&gt;<br />
&lt;currency&gt;Australian Dollar&lt;/currency&gt;<br />
&lt;nationalIdentities&gt;<br />
&lt;nationalAnthem&gt;Advance Australia Fair&lt;/nationalAnthem&gt;<br />
&lt;nationalDay&gt;Australia Day (26 January)&lt;/nationalDay&gt;<br />
&lt;nationalColour&gt;Green and Gold&lt;/nationalColour&gt;<br />
&lt;nationalGemstone&gt;Opal&lt;/nationalGemstone&gt;<br />
&lt;nationalFlower&gt;Wattle (Acacia pycnantha)&lt;/nationalFlower&gt;<br />
&lt;/nationalIdentities&gt;<br />
&lt;publicHolidays&gt;<br />
&lt;newYearDay&gt;1 January&lt;/newYearDay&gt;<br />
&lt;australiaDay&gt;26 January&lt;/australiaDay&gt;<br />
&lt;anzacDay&gt;25 April&lt;/anzacDay&gt;<br />
&lt;christmasDay&gt;25 December&lt;/christmasDay&gt;<br />
&lt;boxingDay&gt;26 December&lt;/boxingDay&gt;<br />
&lt;laborDay&gt;Variable Date&lt;/laborDay&gt;<br />
&lt;easter&gt;Variable Date&lt;/easter&gt;<br />
&lt;queenBirthDay&gt;21 April (Variable Date)&lt;/queenBirthDay&gt;<br />
&lt;/publicHolidays&gt;<br />
&lt;states&gt;<br />
&lt;stateName&gt;NSW &#8211; New South Wales&lt;/stateName&gt;<br />
&lt;stateName&gt;VIC &#8211; Victoria&lt;/stateName&gt;<br />
&lt;stateName&gt;QLD &#8211; Queensland&lt;/stateName&gt;<br />
&lt;stateName&gt;SA &#8211; South Australia&lt;/stateName&gt;<br />
&lt;stateName&gt;WA &#8211; Western Australia&lt;/stateName&gt;<br />
&lt;stateName&gt;TAS &#8211; Tasmania&lt;/stateName&gt;<br />
&lt;/states&gt;<br />
&lt;territories&gt;<br />
&lt;territoryName&gt;ACT &#8211; Australian Capital Territory&lt;/territoryName&gt;<br />
&lt;territoryName&gt;NT &#8211; Northern Territory&lt;/territoryName&gt;<br />
&lt;/territories&gt;<br />
&lt;/country&gt;</p>
<p><span style="text-decoration:underline;"><strong>Create c:\country.xsd</strong></span><br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;xs:schema xmlns:xs=&#8221;http://www.w3.org/2001/XMLSchema&#8221;&gt;</p>
<p>&lt;xs:element name=&#8221;country&#8221;&gt;<br />
&lt;xs:complexType&gt;<br />
&lt;xs:sequence&gt;<br />
&lt;xs:element name=&#8221;countryName&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;capital&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalLanguage&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;population&#8221; type=&#8221;xs:double&#8221;/&gt;<br />
&lt;xs:element name=&#8221;currency&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalIdentities&#8221;&gt;<br />
&lt;xs:complexType&gt;<br />
&lt;xs:sequence&gt;<br />
&lt;xs:element name=&#8221;nationalAnthem&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalDay&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalColour&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalGemstone&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;nationalFlower&#8221; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;/xs:sequence&gt;<br />
&lt;/xs:complexType&gt;<br />
&lt;/xs:element&gt;<br />
&lt;xs:element name=&#8221;publicHolidays&#8221;&gt;<br />
&lt;xs:complexType&gt;<br />
&lt;xs:sequence&gt;<br />
&lt;xs:element name=&#8221;newYearDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;australiaDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;anzacDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;christmasDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;boxingDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;laborDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;easter&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;xs:element name=&#8221;queenBirthDay&#8221; maxOccurs=&#8221;1&#8243; type=&#8221;xs:string&#8221;/&gt;<br />
&lt;/xs:sequence&gt;<br />
&lt;/xs:complexType&gt;<br />
&lt;/xs:element&gt;<br />
&lt;xs:element name=&#8221;states&#8221;&gt;<br />
&lt;xs:complexType&gt;<br />
&lt;xs:sequence&gt;<br />
&lt;xs:element name=&#8221;stateName&#8221; type=&#8221;xs:string&#8221; minOccurs=&#8221;1&#8243; maxOccurs=&#8221;unbounded&#8221;/&gt;<br />
&lt;/xs:sequence&gt;<br />
&lt;/xs:complexType&gt;<br />
&lt;/xs:element&gt;<br />
&lt;xs:element name=&#8221;territories&#8221;&gt;<br />
&lt;xs:complexType&gt;<br />
&lt;xs:sequence&gt;<br />
&lt;xs:element name=&#8221;territoryName&#8221; maxOccurs=&#8221;unbounded&#8221;/&gt;<br />
&lt;/xs:sequence&gt;<br />
&lt;/xs:complexType&gt;<br />
&lt;/xs:element&gt;<br />
&lt;/xs:sequence&gt;<br />
&lt;/xs:complexType&gt;<br />
&lt;/xs:element&gt;</p>
<p>&lt;/xs:schema&gt;</p>
<p><span style="text-decoration:underline;"><strong>Create c:\country.xsl</strong></span><br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;xsl:stylesheet xmlns:xsl=&#8221;http://www.w3.org/1999/XSL/Transform&#8221; version=&#8221;1.0&#8243;&gt;<br />
&lt;xsl:template match=&#8221;/&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;xsl:for-each select=&#8221;country&#8221;&gt;<br />
&lt;xsl:value-of select=&#8221;countryName&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;capital&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;nationalLanguage&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;population&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;currency&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:for-each select=&#8221;nationalIdentities&#8221;&gt;<br />
&lt;xsl:value-of select=&#8221;nationalAnthem&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;nationalDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;nationalColour&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;nationalGemstone&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;nationalFlower&#8221;/&gt;&lt;br/&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;xsl:for-each select=&#8221;publicHolidays&#8221;&gt;<br />
&lt;xsl:value-of select=&#8221;newYearDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;australiaDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;anzacDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;christmasDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;boxingDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;laborDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;easter&#8221;/&gt;&lt;br/&gt;<br />
&lt;xsl:value-of select=&#8221;queenBirthDay&#8221;/&gt;&lt;br/&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
&lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</p>
<p><span style="text-decoration:underline;"><strong>Execute the program</strong></span><br />
Just open the country.xml in your browser.</p>
<p><span style="text-decoration:underline;"><strong>Moreover</strong></span><br />
Above is a very simple output.<br />
You can further beautify your output by modifying your country.xsl<br />
Just create another c:\beautifiedcountry.xsl<br />
And replace the name from &#8220;country.xsl&#8221; to &#8220;beautifiedcountry.xsl&#8221; in your country.xml<br />
And open the XML to see the difference.</p>
<p><span style="text-decoration:underline;"><strong>Copy this c:\beautifiedcountry.xsl</strong></span><br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;xsl:stylesheet xmlns:xsl=&#8221;http://www.w3.org/1999/XSL/Transform&#8221; version=&#8221;1.0&#8243;&gt;<br />
&lt;xsl:template match=&#8221;/&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;table border=&#8221;2&#8243; bgcolor=&#8221;lightgray&#8221;&gt;<br />
&lt;tr&gt;&lt;u&gt;&lt;b&gt;GENERAL INFORMATION&lt;/b&gt;&lt;/u&gt;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;xsl:for-each select=&#8221;country&#8221;&gt;<br />
&lt;tr&gt;<br />
&lt;table border=&#8221;1&#8243; bgcolor=&#8221;lightblue&#8221;&gt;<br />
&lt;tr&gt;&lt;td&gt;Country Name&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;countryName&#8221;/&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;Capital&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;capital&#8221;/&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;National Language&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalLanguage&#8221;/&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;Population&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;population&#8221;/&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;Currency&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;currency&#8221;/&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;&lt;br&gt;&lt;/br&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;u&gt;&lt;b&gt;NATIONAL IDENTITIES&lt;/b&gt;&lt;/u&gt;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;xsl:for-each select=&#8221;nationalIdentities&#8221;&gt;<br />
&lt;table border=&#8221;1&#8243; bgcolor=&#8221;lightyellow&#8221;&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;National Anthem&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalAnthem&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;National Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;National Colour&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalColour&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;National Gem Stone&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalGemstone&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;National Flower&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;nationalFlower&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;&lt;br&gt;&lt;/br&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;u&gt;&lt;b&gt;PUBLIC HOLIDAYS&lt;/b&gt;&lt;/u&gt;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;xsl:for-each select=&#8221;publicHolidays&#8221;&gt;<br />
&lt;table border=&#8221;1&#8243; bgcolor=&#8221;LightGreen&#8221;&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;New Year&#8217;s Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;newYearDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Australia Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;australiaDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;ANZAC Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;anzacDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Christmas Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;christmasDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Boxing Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;boxingDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Labor Day&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;laborDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Easter&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;easter&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Queen&#8217;s Birthday&lt;/td&gt;&lt;td&gt;&lt;xsl:value-of select=&#8221;queenBirthDay&#8221;/&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/tr&gt;<br />
&lt;/xsl:for-each&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
&lt;/xsl:template&gt;<br />
&lt;/xsl:stylesheet&gt;</p>
<p><span style="text-decoration:underline;"><strong>Recommended Reference:</strong></span></p>
<p>http://www.w3schools.com/xsl/xsl_languages.asp</p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: www.linkedin.com/in/anupjani<br />
My Blog: www.anupjani.wordpress.com</p>
<br />Posted in XML XSD XSLT  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=115&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/04/10/simple-xmlxsdxslt-example-for-beginner-that-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>SIMPLE JUNIT EXAMPLE FOR BEGINNER THAT WORKS!!!</title>
		<link>http://anupjani.wordpress.com/2009/04/08/a-simple-junit-program-for-a-beginner-that-works/</link>
		<comments>http://anupjani.wordpress.com/2009/04/08/a-simple-junit-program-for-a-beginner-that-works/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:14:46 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[JUnit]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=102</guid>
		<description><![CDATA[This Hello World program demonstrates basic features of JUnit. All you need is: 1. Eclipse 2. JDK1.5 3. junit.jar (Download from www.junit.org) In this program, usage of JUnit is demonstrated in order to test 2 components, namely: 1. Dice.java 2. DiceFactory.java Test requirement for every new Dice created: 1. Playing a dice every time should [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=102&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This Hello World program demonstrates basic features of JUnit.</p>
<p><span style="text-decoration:underline;"><strong>All you need is:</strong></span><br />
1. Eclipse<br />
2. JDK1.5<br />
3. junit.jar (Download from www.junit.org)</p>
<p>In this program, usage of JUnit is demonstrated in order to test 2 components, namely:<br />
1. Dice.java<br />
2. DiceFactory.java</p>
<p><span style="text-decoration:underline;"><strong>Test requirement for every new Dice created:</strong></span><br />
1. Playing a dice every time should get any number between (including) 1 to 6<br />
2. A dice has 6 sides &amp; no two sides should hold the same number.<br />
3. Dice should be unbiased. In an unbiased dice, the sum of 2 opposite side numbers is always 7.<br />
e.g. If back side is 6 then front side has to be 1.</p>
<p><span style="text-decoration:underline;"><strong>Create Java project in eclipse</strong></span>.<br />
NOTE: Make sure junit.jar is set in your classpath.</p>
<p><span style="text-decoration:underline;"><strong>Folder structure</strong></span><br />
C\MyWorkspace\HelloJUnit:<br />
│   .classpath<br />
│   .project<br />
│<br />
├───bin<br />
│   │   DiceTest.class<br />
│   │<br />
│   └───com<br />
│       ├───mymodel<br />
│       │       Dice.class<br />
│       │<br />
│       └───myservice<br />
│               DiceFactory.class<br />
│<br />
├───src<br />
│   └───com<br />
│       ├───mymodel<br />
│       │       Dice.java<br />
│       │<br />
│       └───myservice<br />
│               DiceFactory.java<br />
│<br />
└───test<br />
DiceTest.java</p>
<p><span style="text-decoration:underline;"><strong>Create Dice.java</strong></span><br />
package com.mymodel;</p>
<p>import java.util.Random;</p>
<p>/**<br />
* @author Anup<br />
* A dice that has 6 sides, namely:&lt;br&gt;<br />
* top, bottom, left, right, front &amp; back.&lt;br&gt;<br />
*/<br />
public class Dice {</p>
<p>//Dice has six sides, each one carrying a number.<br />
private int topSide = 0;<br />
private int bottomSide = 0;<br />
private int leftSide = 0;<br />
private int rightSide = 0;<br />
private int frontSide = 0;<br />
private int backSide = 0;</p>
<p>/**<br />
* Parameterised constructor.<br />
* @param topSide<br />
* @param bottomSide<br />
* @param leftSide<br />
* @param rightSide<br />
* @param frontSide<br />
* @param backSide<br />
*/<br />
public Dice(int topSide,<br />
int bottomSide,<br />
int leftSide,<br />
int rightSide,<br />
int frontSide,<br />
int backSide) {<br />
this.topSide = topSide;<br />
this.bottomSide = bottomSide;<br />
this.leftSide = leftSide;<br />
this.rightSide = rightSide;<br />
this.frontSide = frontSide;<br />
this.backSide = backSide;<br />
}</p>
<p>/**<br />
* This method plays the dice to get a number.<br />
* @return<br />
*/<br />
public int throwDice() {<br />
return getRandomNumber();<br />
}</p>
<p>public int getTopSide() {<br />
return topSide;<br />
}</p>
<p>public int getBottomSide() {<br />
return bottomSide;<br />
}</p>
<p>public int getLeftSide() {<br />
return leftSide;<br />
}</p>
<p>public int getRightSide() {<br />
return rightSide;<br />
}</p>
<p>public int getFrontSide() {<br />
return frontSide;<br />
}</p>
<p>public int getBackSide() {<br />
return backSide;<br />
}</p>
<p>/**<br />
* Private method to get a random number.<br />
* @return<br />
*/<br />
private int getRandomNumber() {<br />
Random r = new Random();<br />
int n = 0;<br />
while (true) {<br />
n = Math.abs(r.nextInt()) % 7;<br />
if(n &lt;7 &amp;&amp; n &gt;0)<br />
return n;<br />
}<br />
}</p>
<p>}<br />
<span style="text-decoration:underline;"><strong>Create DiceFactory.java</strong></span></p>
<p>package com.myservice;</p>
<p>import com.mymodel.Dice;</p>
<p>/**<br />
* @author Anup<br />
* A factory class that deals with Dice object creation.<br />
*/<br />
public class DiceFactory {</p>
<p>/**<br />
* Creates a dice object.<br />
* @param top<br />
* @param bottom<br />
* @param left<br />
* @param right<br />
* @param front<br />
* @param back<br />
* @return<br />
*/<br />
public Dice getDice(<br />
int top,<br />
int bottom,<br />
int left,<br />
int right,<br />
int front,<br />
int back) {<br />
return new Dice(top, bottom, left, right, front, back);<br />
}</p>
<p>}<br />
<span style="text-decoration:underline;"><strong>Create DiceTest.java</strong></span><br />
import java.util.HashSet;<br />
import java.util.Set;</p>
<p>import junit.framework.TestCase;</p>
<p>import com.mymodel.Dice;<br />
import com.myservice.DiceFactory;</p>
<p>/**<br />
* @author Anup<br />
* A test case to unit test the Dice Program.<br />
*/<br />
public class DiceTest extends TestCase {</p>
<p>int top = 1;<br />
int bottom = 6;<br />
int left = 4;<br />
int right = 3;<br />
int front = 2;<br />
int back = 5;<br />
DiceFactory diceFactory = null;<br />
Dice dice = null;</p>
<p>//Constructor<br />
public DiceTest(String testMethodName) {<br />
super(testMethodName);<br />
}</p>
<p>//Initialise<br />
public void setUp() {<br />
diceFactory = new DiceFactory();<br />
}</p>
<p>//Dice should not be null.<br />
public void testGetDice() {<br />
dice = diceFactory.getDice(top, bottom, left, right, front, back);<br />
assertNotNull(dice);<br />
System.out.println(&#8220;Dice created.&#8221;);<br />
this.dice = dice;<br />
}</p>
<p>//When dice thrown, should get any number between (including) 1 to 6<br />
public void testThrowDice() {<br />
dice = diceFactory.getDice(top, bottom, left, right, front, back);<br />
int n = dice.throwDice();<br />
assertTrue(n&lt;7 &amp;&amp; n&gt;0);<br />
System.out.println(&#8220;Dice number is between (including)1 &amp; 6 = &#8221; + n);<br />
}</p>
<p>//Making sure NO two sides are same.<br />
public void testUniquenessOfSides() {<br />
dice = diceFactory.getDice(top, bottom, left, right, front, back);<br />
Set set = new HashSet();//Set holds unique values.<br />
String args[] = {<br />
dice.getTopSide()+&#8221;",<br />
dice.getBottomSide()+&#8221;",<br />
dice.getLeftSide()+&#8221;",<br />
dice.getRightSide()+&#8221;",<br />
dice.getFrontSide()+&#8221;",<br />
dice.getBackSide()+&#8221;"<br />
};<br />
for(String i : args) {<br />
assertTrue(set.add(i));<br />
}<br />
System.out.println(&#8220;No duplicates detected!&#8221;);<br />
}</p>
<p>//Dice should be unbiased.<br />
//In an unbiased dice, the sum of 2 opposite side numbers is always 7.<br />
//e.g. If back side is 6 then front side has to be 1.<br />
public void testUnbiased() {<br />
dice = diceFactory.getDice(top, bottom, left, right, front, back);<br />
assertEquals(dice.getFrontSide() + dice.getBackSide(), 7);<br />
assertEquals(dice.getLeftSide() + dice.getRightSide(), 7);<br />
assertEquals(dice.getTopSide() + dice.getBottomSide(), 7);<br />
System.out.println(&#8220;Dice is unbiased.&#8221;);<br />
}</p>
<p>//De-initialise<br />
public void tearDown() {<br />
diceFactory = null;<br />
dice = null;<br />
System.out.println(&#8220;Tear down &lt;&lt;&lt;&lt;&#8221;);<br />
}</p>
<p>}</p>
<p><span style="text-decoration:underline;"><strong>Execute the program</strong></span><br />
Wen you are done building project, right click on project.<br />
Project &#8211;&gt; Run As &#8211;&gt; JUnitTest<br />
There is no main method here.<br />
That&#8217;s the whole idea. We have JUnit test methods instead.</p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: www.linkedin.com/in/anupjani<br />
My Blog: www.anupjani.wordpress.com</p>
<br />Posted in JUnit  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=102&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/04/08/a-simple-junit-program-for-a-beginner-that-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding of Matrix</title>
		<link>http://anupjani.wordpress.com/2009/03/31/understanding-of-matrix/</link>
		<comments>http://anupjani.wordpress.com/2009/03/31/understanding-of-matrix/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 18:36:51 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Sci-Fi]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=76</guid>
		<description><![CDATA[If you have read Indian holy Gita, you will find many similarities. In fact, Matrix is Modern way to convey the message of essence sung by God Himself in Shri Gita. Leo Tolstoy (one of the greatest Novelist of all times) danced with Gita on his head repenting why the heck did he not come [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=76&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have read Indian holy Gita, you will find many similarities. In fact, Matrix is Modern way to convey the message of essence sung by God Himself in Shri Gita. Leo Tolstoy (one of the greatest Novelist of all times) danced with Gita on his head repenting why the heck did he not come across this great scripture before.</p>
<p>This SCI-FI movie that talks about AI (Artificial Intelligence) taking over humans in far future, is the beautiful code that could be understood only in its metaphorical terms with a broader perspective.  Put aside your urge for inclination towards all dramatic stunts &amp; special effects for a moment &amp; try to think out of the box. Let&#8217;s first assume these metaphors to see if it makes some sense.</p>
<p><strong>Metaphors</strong></p>
<p>Architect: You who constantly try to achieve perfection.</p>
<p>Matrix: Your Mind which has projection that is full of illusions where nothing is real.</p>
<p>AI: Your intellect. Agents represent the AI in matrix.</p>
<p>Humans: Your Heart (not in literal sense) which is full of emotions &amp; qualities such as devotion, love, faith, belief &amp; sacrifice that are beyond the logic &amp; that even AI (who things of himself as superior) lacks. That&#8217;s the reason why Architect can&#8217;t see past the choices he makes. And that&#8217;s why the need to see beyond.</p>
<p>Frustrated by failures, Architect develops a vision (Oracle) that appreciates human qualities &amp; hence sees beyond in order to achieve perfection.</p>
<p>Zion: Human body (collection of life).</p>
<p>Neo: Your Self. Whoever cares about the truth becomes the chosen one. Rest of all are just some or the other than Neo. Only chosen one seeks the answer.</p>
<p>The One: The Consciousness. Self eventually realizes it.</p>
<p>Smith: Your self: The Ego (mirror of the Self). He wants to get out of Matrix. Smith itself is a construct of Matrix &amp; how can he be free from it? But he dislikes this compulsion. This clearly tells that he is ignorant. Being ignorant he&#8217;s directionless &amp; therefore always malfunctions. He must disappear.</p>
<p>Ignorance: The real anomaly that is inherent into the Matrix program (Mind) which needs to be corrected.</p>
<p>Both (Neo &amp; Smith) want to be free. That is the connection that drives them. But there is a difference. Because of Smith&#8217;s definition of freedom being different from that of Neo, Smith wants to be free from any kind of Compulsion. On the other hand, Neo doesn&#8217;t care about that. He wants freedom from the question that drives him crazy. He believes that only by finding the answer he can be free.</p>
<p><strong>What question?</strong><br />
What is truth? It&#8217;s the question. Neo is restless &amp; seeks the only thing throughout.</p>
<p>Another difference between Neo &amp; Smith: Neo is guided by Oracle&#8217;s advice. As if Self guided by the Vision. Smith on the other hand, tries to forcefully steal the Vision (eyes of oracle).</p>
<p>Another difference: Smith is not ready to give himself up even though he wishes to see beyond. Neo, in the end is prepared to even give himself up.</p>
<p>Fear is another thing that makes them distinct. Neo is not afraid. Smith is afraid. Both seek freedom but only chosen one becomes the worthy of ultimate purpose.</p>
<p><strong>What purpose?</strong><br />
Purpose is to achieve eternal happiness. In the end, Neo achieves Nirvana (the ultimate peace, the real happiness). The golden code that Neo sees is the enlightenment that he attains. He is physically blind but is still able to see. That&#8217;s because of his &#8220;inner eyes&#8221;. Truth is seen only with inner eyes. And that too only when he reaches the level where he is ready to let go of his Love. Love, again a rare highest quality in front of which (for Neo) nothing else matters. Remember Neo told Ramakandra at the train station that he would give up everything for his love?</p>
<p>Earlier versions of Neo hadn&#8217;t developed this kind of specific Love. That&#8217;s why re-incarnations.</p>
<p>Merovingian: (one of the earlier ones) is kind of characterless departed one. Very powerful yet immoral. The one who perhaps cared for neither Trinity (specific love) nor the people (generic love). And therefore he gets downgraded.</p>
<p>Oracle, while examining Neo in her first meeting, is happy to see that Neo&#8217;s in love. And she believes that this love would take him to highest point against all odds, (odds as in the ultimate defence system of machine city). This gives her a hope that he is really worthy of walking on the path. The path, that leads to the truth.</p>
<p><strong>And what is truth?</strong><br />
Truth is the (Pure) Consciousness, THE ONE that is finally realized when calmed down everything else. When wars end between mind, body, heart &amp; intellect so that they start to learn to live in harmony: When Ego is beaten down &amp; disappeared: When highest qualities such as love are also sacrificed &amp; left behind on the quest of truth: When one who has sacrificed anything &amp; everything &amp; yet stands: That is the state of perfection where Neo achieves Nirvana, the ultimate peace, the eternal real happiness. This is the golden code of the One. And this realization is the truth by attaining which Neo (Now the One) attains the real freedom.</p>
<p><strong>Why war?</strong><br />
War between Matrix &amp; Zion is like conflicts between intellect &amp; emotions. The cause is ignorance which was the real anomaly. Except for the consciousness, nothing else is perfect. Neither mind nor body neither intelligence nor heart. As long as ignorance (anomaly) lies in the Mind (Matrix), there is a constant conflict (war) between heart (humans) &amp; intellect (agents). And Ego (the victim of ignorance) is so pervaded (duplicate Smiths) in the mind that it causes the ultimate mental block which is not acceptable to you (Architect). And as you stand helpless, now the real problem is Ego.</p>
<p>Self comes to the rescue. But the deal is first to calm down emotions &amp; intellect. Thank (machine) God for agreeing for &#8220;peace&#8221; &amp; relying on the Self to solve the matter.</p>
<p>The ultimate fight between the Ego &amp; the Self within the mind (Matrix)<br />
Self (though at times is weak) is not giving up till the time when Ego realizes one truth that &#8220;Everything that has beginning has an end.&#8221; Even he was constructed in mind &amp; therefore even he has to die. Smith is afraid of death. Self is not because all left of him is Self. This is the time when Neo reckons that Ego is ready to die &amp; he then &#8220;chooses&#8221; to give up the fight. As he gives up, Smith childishly kills Neo in Matrix. As he kills Neo, this serves the purpose of Smith. And Smith object is no more required therefore deleted as per the Matrix rules.</p>
<p>So you see! Matrix is nothing but about the journey of Self to unite with the pure Consciousness.</p>
<p>When the Matrix Revolutions is ended, a careful viewer must have noticed a chanting of mantra:<br />
<em>&#8220;ASATO MAA SAT GAMAYA,<br />
TAMASO MAA JYOTIRGAMAYA,<br />
MRITYOMAA AMRUTAM GAMAYA&#8221;.</em></p>
<p>This shloka is originally from one of the ancient &amp; oldest Indian sacred scripture which means:</p>
<p><em>Lead me from the asat (unreal) to the sat (real).<br />
Lead me from darkness to light.<br />
Lead me from death to immortality.</em></p>
<p>(Brhadaranyaka Upanishad &#8211; I.iii.28)</p>
<p>Refer to this site for hearing the mantra.</p>
<p><span style="text-align:center; display: block;"><a href="http://anupjani.wordpress.com/2009/03/31/understanding-of-matrix/"><img src="http://img.youtube.com/vi/1zCFhqEFJwI/2.jpg" alt="" /></a></span></p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: www.linkedin.com/in/anupjani<br />
My Blog: www.anupjani.wordpress.com</p>
<br />Posted in Sci-Fi  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=76&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/03/31/understanding-of-matrix/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>SIMPLE SPRING IOC EXAMPLE FOR BEGINNER THAT WORKS!!!</title>
		<link>http://anupjani.wordpress.com/2009/03/31/simple-spring-ioc-example-for-a-beginner-that-works/</link>
		<comments>http://anupjani.wordpress.com/2009/03/31/simple-spring-ioc-example-for-a-beginner-that-works/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:56:59 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=69</guid>
		<description><![CDATA[This Hello World program demonstrates basic features of Spring IoC. This program shows: 1. How to load configurations from a XML resource file that is residing in the file system. 2. How to load configurations from many XML resource files that are residing in the file system. 3. How to load configurations from a XML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=69&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This Hello World program demonstrates basic features of Spring IoC.<br />
This program shows:<br />
1. How to load configurations from a XML resource file that is residing in the file system.<br />
2. How to load configurations from many XML resource files that are residing in the file system.<br />
3. How to load configurations from a XML resource file sitting in the class path.</p>
<p>If you already know how to create a Java Project in Eclipse then here&#8217;s the project structure.<br />
Make sure following JAR files fall into your Build Path.</p>
<p><span style="text-decoration:underline;"><strong>Project Structure</strong></span><br />
C:\workspace\HelloSpringIOC<br />
|   .classpath<br />
|   .project<br />
|<br />
+&#8212;bin<br />
|       HelloSpringIoC.class<br />
|       MyBeansInClassPathHere.xml<br />
|       OtherPojo.class<br />
|       SpecialPojo.class<br />
|<br />
+&#8212;lib<br />
|       commons-logging-api-1.1.jar<br />
|       spring-beans-2.0-m1.jar<br />
|       spring-context-2.0-m1.jar<br />
|       spring-core-2.0-m1.jar<br />
|<br />
\&#8212;src<br />
HelloSpringIoC.java<br />
<span style="background-color:#ffff00;">MyBeansInClassPathHere.xml</span><br />
OtherPojo.java<br />
SpecialPojo.java</p>
<p><strong>Make sure following two files exist in your C:\&gt; drive.</strong><br />
1. C:\config\MyOtherBeansHere.xml<br />
2. C:\config\MySpecialBeansHere.xml</p>
<p>Notice <span style="background-color:#ffff00;">MyBeansInClassPathHere.xml </span>highlighted in yellow.<br />
It&#8217;s into the class path being in &#8220;src&#8221; folder.<br />
You will need <strong>ClassPathXmlApplicationContext</strong> for loading this configuration file.<br />
See method: <em>public void usingClassPathXmlApplicationContext(String myBeanResource)</em></p>
<p><strong>Run HelloSpringIoc as Java Application once you have created following files.</strong></p>
<p><span style="text-decoration:underline;"><strong>SpecialPojo.java</strong></span><br />
public class SpecialPojo {</p>
<p>private String name;</p>
<p>public SpecialPojo() {</p>
<p>}</p>
<p>public String getName() {<br />
return name;<br />
}</p>
<p>public void setName(String name) {<br />
this.name = name;<br />
}</p>
<p>}</p>
<p><span style="text-decoration:underline;"><strong>OtherPojo.java<br />
</strong></span>public class OtherPojo {</p>
<p>private String name;</p>
<p>public OtherPojo() {</p>
<p>}</p>
<p>public String getName() {<br />
return name;<br />
}</p>
<p>public void setName(String name) {<br />
this.name = name;<br />
}</p>
<p>}</p>
<p>C:\config\<strong><span style="text-decoration:underline;">MySpecialBeansHere.xml</span><br />
</strong>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE beans PUBLIC &#8220;-//SPRING//DTD// BEAN//EN&#8221; &#8220;http://www.springframework.org/dtd/spring-beans.dtd&#8221;&gt;<br />
&lt;beans&gt;<br />
&lt;bean id=&#8221;specialPojo&#8221; class=&#8221;SpecialPojo&#8221;/&gt;<br />
&lt;/beans&gt;</p>
<p>C:\config\<strong><span style="text-decoration:underline;">MyOtherBeansHere.xml</span><br />
</strong>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE beans PUBLIC &#8220;-//SPRING//DTD// BEAN//EN&#8221; &#8220;http://www.springframework.org/dtd/spring-beans.dtd&#8221;&gt;<br />
&lt;beans&gt;<br />
&lt;bean id=&#8221;otherPojo&#8221; class=&#8221;OtherPojo&#8221;/&gt;<br />
&lt;/beans&gt;</p>
<p><strong><span style="text-decoration:underline;">MyBeansInClassPathHere.xml</span><br />
</strong>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE beans PUBLIC &#8220;-//SPRING//DTD// BEAN//EN&#8221; &#8220;http://www.springframework.org/dtd/spring-beans.dtd&#8221;&gt;<br />
&lt;beans&gt;<br />
&lt;bean id=&#8221;otherPojo&#8221; class=&#8221;OtherPojo&#8221;/&gt;<br />
&lt;/beans&gt;</p>
<p><span style="text-decoration:underline;"><strong>HelloSpringIoc.java</strong></span><br />
import org.springframework.context.ApplicationContext;<br />
import org.springframework.context.support.ClassPathXmlApplicationContext;<br />
import org.springframework.context.support.FileSystemXmlApplicationContext;</p>
<p>/**<br />
* @author Anup Jani<br />
* This Hello World program demonstrates basic features of Spring IoC.&lt;br&gt;<br />
* This program shows:&lt;br&gt;<br />
* 1. How to load configurations from a XML resource file that is residing in the file system.&lt;br&gt;<br />
* 2. How to load configurations from many XML resource files that are residing in the file system.&lt;br&gt;<br />
* 3. How to load configurations from a XML resource file sitting in the class path.&lt;br&gt;<br />
*/<br />
public class HelloSpringIoC {</p>
<p>/**<br />
* Application Context pointing to the resource file in the file system location.<br />
* @param myBeanResource<br />
*/<br />
public void usingFileSystemXmlApplicationContext(String myBeanResource) {<br />
//Create an application context.<br />
ApplicationContext ctx = new FileSystemXmlApplicationContext(myBeanResource);<br />
SpecialPojo pojo = (SpecialPojo)ctx.getBean(&#8220;specialPojo&#8221;);</p>
<p>//Start using your bean.<br />
pojo.setName(&#8220;This is my special bean, obtained via FileSystemXmlApplicationContext.&#8221;);<br />
System.out.println(pojo.getName());<br />
}</p>
<p>/**<br />
* Application Context pointing to the multiple resource files in the file system location.<br />
* @param myBeanResources<br />
*/<br />
public void usingFileSystemXmlApplicationContext(String[] myBeanResources) {<br />
//Create an application context.<br />
ApplicationContext ctx = new FileSystemXmlApplicationContext(myBeanResources);</p>
<p>//Get beans from multiple configurations.<br />
String[] beanNames = ctx.getBeanDefinitionNames();<br />
SpecialPojo specialPojo = (SpecialPojo)ctx.getBean(beanNames[0]);<br />
OtherPojo otherPojo = (OtherPojo)ctx.getBean(beanNames[1]);</p>
<p>//Start using your beans.<br />
specialPojo.setName(&#8220;Special bean obtained  from one configuration.&#8221;);<br />
otherPojo.setName(&#8220;Other bean obtained from other configuration.&#8221;);<br />
System.out.println(specialPojo.getName() + &#8220;\n&#8221; + otherPojo.getName());<br />
}</p>
<p>/**<br />
* Application Context pointing to the resource file in the class path.<br />
* @param myBeanResource<br />
*/<br />
public void usingClassPathXmlApplicationContext(String myBeanResource) {<br />
//Create an application context.<br />
ApplicationContext ctx = new ClassPathXmlApplicationContext(myBeanResource);</p>
<p>//Get bean from application context.<br />
OtherPojo pojo = (OtherPojo)ctx.getBean(&#8220;otherPojo&#8221;);</p>
<p>//Start using your bean.<br />
pojo.setName(&#8220;This is my bean that was configured in class path, \n\t &#8221; +<br />
&#8220;obtained via ClassPathXmlApplicationContext.&#8221;);<br />
System.out.println(pojo.getName());<br />
}</p>
<p>/**<br />
* Main method to test each method.<br />
* @param args<br />
*/<br />
public static void main(String[] args) {<br />
//Single file in file system.<br />
String file = &#8220;C:\\config\\MySpecialBeansHere.xml&#8221;;</p>
<p>//Multiple files in file system.<br />
String files[] = new String[]{&#8220;C:\\config\\MySpecialBeansHere.xml&#8221;, &#8220;C:\\config\\MyOtherBeansHere.xml&#8221;};</p>
<p>//Single file in class path.<br />
String fileInClassPath = &#8220;MyBeansInClassPathHere.xml&#8221;;</p>
<p>HelloSpringIoC hello = new HelloSpringIoC();</p>
<p>hello.usingFileSystemXmlApplicationContext(file);<br />
hello.usingFileSystemXmlApplicationContext(files);<br />
hello.usingClassPathXmlApplicationContext(fileInClassPath);<br />
}</p>
<p>}</p>
<p><span style="text-decoration:underline;"><strong>Recommended source:</strong></span><br />
Java Development with the Spring Framework<br />
- Rod Johnson, Juergen Hoeller, Alef Arendsen, Thomas Risberg, Colin Sampaleanu<br />
Professional Seires &#8211; Wrox publication.</p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: www.linkedin.com/in/anupjani<br />
My Blog: www.anupjani.wordpress.com</p>
<br />Posted in Spring  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=69&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/03/31/simple-spring-ioc-example-for-a-beginner-that-works/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>SIMPLE JAVA WEB-SERVICE  ON TOMCAT5.5  EXAMPLE FOR BEGINNER THAT WORKS!!!</title>
		<link>http://anupjani.wordpress.com/2009/03/27/java-web-service-example/</link>
		<comments>http://anupjani.wordpress.com/2009/03/27/java-web-service-example/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 19:25:40 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Java Web Services]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=49</guid>
		<description><![CDATA[This article takes reader step by step to build her/his own simplest program of Java Web Service. If all steps are followed properly, then the  program should work. SETUP YOUR ENVIRONMENT FIRST. Assuming that you have: C:\axis-1_4 C:\Program Files\Apache Software Foundation\Tomcat 5.5 C:\jdk5\lib; Make sure your AXIS has following JAR files: C:\axis-1_4\webapps\axis\WEB-INF\lib&#62;dir /b activation.jar axis-ant.jar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=49&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article takes reader step by step to build her/his own simplest program of Java Web Service.<br />
If all steps are followed properly, then the  program should work.</p>
<p><strong><span style="background-color:#000000;color:#ffffff;">SETUP YOUR ENVIRONMENT </span></strong><strong><span style="background-color:#000000;color:#ffffff;">FIRST. </span></strong><br />
<span style="text-decoration:underline;"><br />
Assuming that you have:</span><br />
C:\axis-1_4<br />
C:\Program Files\Apache Software Foundation\Tomcat 5.5<br />
C:\jdk5\lib;</p>
<p><span style="text-decoration:underline;">Make sure your AXIS has following JAR files:<br />
</span><span style="background-color:#cccccc;">C:\axis-1_4\webapps\axis\WEB-INF\lib&gt;dir /b</span><br />
<span style="background-color:#ffff00;">activation.jar</span><br />
axis-ant.jar<br />
axis.jar<br />
commons-discovery-0.2.jar<br />
commons-logging-1.0.4.jar<br />
jaxrpc.jar<br />
log4j-1.2.8.jar<br />
<span style="background-color:#ffff00;">mail.jar</span><br />
saaj.jar<br />
wsdl4j-1.5.1.jar</p>
<p>If above highlighted files are missing, then download them separately.<br />
And copy them in <span style="background-color:#ffffff;">C:\axis-1_4\webapps\axis\WEB-INF\lib<br />
<span style="background-color:#eeeeee;color:#0000ff;">NOTE: mail.jar or mailapi.jar should be fine.</span><br />
</span><br />
<span style="background-color:#cccccc;">set TOMCAT_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5</span></p>
<p><span style="text-decoration:underline;">AXIS enable your Tomcat:</span><br />
<span style="background-color:#cccccc;">Copy &#8220;C:\axis-1_4\webapps\axis&#8221; folder in %TOMCAT_HOME%\webapps</span><br />
AXIS itself is an Apache application.<br />
By copying this folder you deploy the AXIS application on Tomcat.<br />
Doing this makes your Tomcat behave like a &#8220;Java Web Service&#8221; <strong>Server</strong>.</p>
<p><span style="text-decoration:underline;">Verify AXIS Server on Tomcat<br />
</span><span style="background-color:#cccccc;"><span style="background-color:#ffffff;">Start your Tomcat Server &amp; hit following URL on browser.</span></p>
<p>http://localhost:8080/axis</span></p>
<p>You should get Hello! Welcome to Apache-Axis web page.<br />
Click on <span style="color:#0000ff;text-decoration:underline;">List</span> to see the list of web services deployed currently.<br />
<span style="text-decoration:underline;"><br />
Set classpath<br />
</span>You need to bring those JAR files in your classpath too.<br />
If not, then will give compilation errors on your command prompt when you try to compile/generate code.<br />
Hence copy all these JAR files to C:\axis-1_4\lib<br />
And set the classpath<br />
<span style="background-color:#cccccc;">C:\&gt;set classpath</span><br />
classpath=.;c:\jdk5\lib;C:\axis-1_4\lib\axis.jar;C:\axis-1_4\lib\axis-ant.jar;C:<br />
\axis-1_4\lib\commons-discovery-0.2.jar;c:\axis-1_4\lib<br />
<strong><span style="background-color:#000000;color:#ffffff;"><br />
YOUR ENVIRONMENT IS NOW SET.<br />
BRACE UP TO WRITE, DEPLOY &amp; EXECUTE THE WEB-SERVICE.</span></strong></p>
<p><span style="text-decoration:underline;">Write your Java Interface</span><br />
package myapp;</p>
<p>public interface Hello {</p>
<p>public String sayHello(String name);</p>
<p>}</p>
<p><span style="text-decoration:underline;">Write your Java Interface Implementation</span><br />
package myapp;</p>
<p>public class HelloImpl {</p>
<p>public String sayHello(String name) {<br />
return &#8220;Hello &#8221; + name;<br />
}</p>
<p>}</p>
<p><span style="text-decoration:underline;">So that:<br />
</span>C:\practice\myapp\Hello.java<br />
C:\practice\myapp\HelloImpl.java</p>
<p><span style="text-decoration:underline;">Compile interfaces &amp; implementation code before generating WSDL<br />
</span><span style="background-color:#cccccc;">C:\practice&gt;javac myapp\Hello.java -d .</span><br />
<span style="background-color:#cccccc;">C:\practice&gt;javac myapp\HelloImpl.java -d .</span></p>
<p><span style="text-decoration:underline;">Generate WSDL</span><br />
<span style="background-color:#cccccc;">C:\practice&gt;</span><span style="background-color:#cccccc;">java org.apache.axis.wsdl.Java2WSDL </span><span style="background-color:#cccccc;"> -o hello.wsdl -l&#8221;http://localhost:8080/axis/services/hello&#8221; -n urn:hello </span><span style="background-color:#cccccc;">-p&#8221;hello&#8221; urn:hello myapp.Hello</span><br />
Notice that hello.wsdl got generated.</p>
<p><span style="text-decoration:underline;">Generate glue code</span><br />
<span style="background-color:#cccccc;">C:\practice&gt;</span><span style="background-color:#cccccc;">java org.apache.axis.wsdl.WSDL2Java</span><span style="background-color:#cccccc;"> -o . -d Session -s -p myapp.ws hello.wsdl</span><br />
<span style="text-decoration:underline;">So that:<br />
</span><span style="background-color:#cccccc;">C:\practice\myapp\ws&gt;dir /b</span><br />
deploy.wsdd<br />
Hello.java<br />
HelloService.java<br />
HelloServiceLocator.java<br />
HelloSoapBindingImpl.java<br />
HelloSoapBindingStub.java<br />
undeploy.wsdd</p>
<p><span style="text-decoration:underline;">Time to modify the glue code a bit</span><br />
Notice &#8220;<strong>HelloSoapBindingImpl.java</strong>&#8220;.<br />
It is the implementation that is automatically generated.<br />
But you already have written your own implementation which is: <strong>HelloImpl.java</strong><br />
So, call your Impl method in generated Impl method,<br />
Don&#8217;t forget to copy your <strong>HelloImpl.java</strong> in location C:\practice\myapp\ws\<br />
And change its package form <strong>myapp </strong>to <strong>myapp.ws </strong>because now it&#8217;s been moved there.</p>
<p>/**<br />
* HelloSoapBindingImpl.java<br />
*<br />
* This file was auto-generated from WSDL<br />
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.<br />
*/</p>
<p>package myapp.ws;</p>
<p>public class HelloSoapBindingImpl implements myapp.ws.Hello{<br />
public java.lang.String sayHello(java.lang.String in0) throws java.rmi.RemoteException {<br />
System.out.println(&#8220;remote service invoked!&#8221;);<br />
<span style="background-color:#ffff00;"> HelloImpl h = new HelloImpl();</span><br />
<span style="background-color:#ffff00;"> return h.sayHello(in0);</span><br />
}</p>
<p>}</p>
<p><span style="text-decoration:underline;">Compile the glue code</span><br />
<span style="background-color:#cccccc;">C:\practice&gt;</span><span style="background-color:#cccccc;">javac myapp\ws\*.java</span><br />
May show some warnings but that should be fine.</p>
<p><span style="text-decoration:underline;">Package into JAR</span><br />
<span style="background-color:#cccccc;">C:\practice&gt;jar cvf hello.jar myapp/*.class myapp/ws/*.class</span><br />
<span style="text-decoration:underline;">Move <strong>hello.jar</strong></span><br />
<span style="background-color:#cccccc;">C:\practice&gt;move hello.jar &#8220;c:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib</span><br />
Start Tomcat server before deploying</p>
<p><span style="text-decoration:underline;">Deploy the service<br />
</span><span style="background-color:#cccccc;">C:\practice&gt;</span><span style="background-color:#cccccc;">java org.apache.axis.client.AdminCl</span><span style="background-color:#cccccc;">ient myapp\ws\deploy.wsdd</span></p>
<p><span style="text-decoration:underline;">Verify deployed service<br />
</span><span style="background-color:#cccccc;"><span style="background-color:#ffffff;">Re-Start your Tomcat Server &amp; hit following URL on browser.</span></p>
<p>http://localhost:8080/axis</span></p>
<p>You should get Hello! Welcome to Apache-Axis web page.<br />
Click on <span style="color:#0000ff;text-decoration:underline;">List</span> to see the list of web services deployed currently containing your hello service.</p>
<p><span style="text-decoration:underline;">Write the Client</span><br />
package myapp.client;</p>
<p>public class HelloServiceClient {<br />
public static void main(String[] args){<br />
try {<br />
//Get the service.<br />
myapp.ws.HelloService service = new myapp.ws.HelloServiceLocator();</p>
<p>// Get the stub.<br />
myapp.ws.Hello hello = service.gethello();</p>
<p>// Make the call.<br />
System.out.println(hello.sayHello(&#8220;some name&#8221;));<br />
}<br />
catch(Exception e) {<br />
e.printStackTrace();<br />
}<br />
}<br />
}</p>
<p><span style="text-decoration:underline;">Compile the client</span><br />
<span style="background-color:#cccccc;">javac myapp\*.java -d .</span></p>
<p>Execute the client<br />
<span style="background-color:#cccccc;">C:\practice&gt;java myapp.client.HelloServiceClient</span></p>
<p>Output should be:<br />
Hello some name</p>
<p><strong>Recommended references:</strong></p>
<p>http://www.onjava.com/lpt/a/1578</p>
<p>http://www.ociweb.com/mark/JavaUserGroup/Axis.pdf</p>
<p>http://jaitechwriteups.blogspot.com/2006/12/simple-webservice-on-jboss-using-axis.html</p>
<p>Anup Jani<br />
(Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.)<br />
My profile: www.linkedin.com/in/anupjani<br />
My Blog: www.anupjani.wordpress.com</p>
<br />Posted in Java Web Services  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=49&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/03/27/java-web-service-example/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>
	</item>
		<item>
		<title>The Matrix Architecture</title>
		<link>http://anupjani.wordpress.com/2009/03/26/the-matrix-architecture/</link>
		<comments>http://anupjani.wordpress.com/2009/03/26/the-matrix-architecture/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 13:35:28 +0000</pubDate>
		<dc:creator>anupjani</dc:creator>
				<category><![CDATA[Sci-Fi]]></category>

		<guid isPermaLink="false">http://anupjani.wordpress.com/?p=41</guid>
		<description><![CDATA[Anup Jani (Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.) My profile: www.linkedin.com/in/anupjani My Blog: www.anupjani.wordpress.com Posted in Sci-Fi<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=41&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-46" title="matrixarchitecture2" src="http://anupjani.files.wordpress.com/2009/01/matrixarchitecture2.jpg" alt="matrixarchitecture2" width="450" height="587" /></p>
<p>Anup Jani (Bsc, MCP, GNIIT, SCJP, SCWCD, IBM OOAD/UML JCert.) My profile: www.linkedin.com/in/anupjani My Blog: www.anupjani.wordpress.com</p>
<br />Posted in Sci-Fi  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupjani.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupjani.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupjani.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupjani.wordpress.com&amp;blog=1756636&amp;post=41&amp;subd=anupjani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anupjani.wordpress.com/2009/03/26/the-matrix-architecture/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/987a4e024322a78f2f46f2892d8a685a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anup</media:title>
		</media:content>

		<media:content url="http://anupjani.files.wordpress.com/2009/01/matrixarchitecture2.jpg" medium="image">
			<media:title type="html">matrixarchitecture2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
