<?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>Khangharoth</title>
	<atom:link href="http://elope.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://elope.wordpress.com</link>
	<description>Java ,  Programming</description>
	<lastBuildDate>Sat, 07 Jan 2012 15:43:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='elope.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Khangharoth</title>
		<link>http://elope.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://elope.wordpress.com/osd.xml" title="Khangharoth" />
	<atom:link rel='hub' href='http://elope.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Come On America ! &#8211; Do the right thing, Choose Ron Paul !!</title>
		<link>http://elope.wordpress.com/2012/01/07/come-on-america-do-the-right-thing-choose-ron-paul/</link>
		<comments>http://elope.wordpress.com/2012/01/07/come-on-america-do-the-right-thing-choose-ron-paul/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 14:30:10 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=130</guid>
		<description><![CDATA[I don&#8217;t really write about anything which is non technical but this is something which I feel we should raise our voice  -  Its not that Capitalism has failed ! , its the Socialism (In western world)disguised as Capitalism  which is failing . I live in India and actually quite sad about the kind of politician we have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=130&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t really write about anything which is non technical but this is something which I feel we should raise our voice  -  Its not that <strong>Capitalism</strong> has failed ! , its the <strong>Socialism</strong> (In western world)disguised as <strong>Capitalism </strong> which is failing .</p>
<p>I live in India and actually quite sad about the kind of politician we have .</p>
<p>Over the years hearing Ron Paul on Federal Reserve , Gold other economic issues used to give comfort feeling that developed countries ,Do have politicians who understands current issues and are ready to fight for better tomorrow  .</p>
<p>Made me  hopeful  that as India would progress we would also have politician like Ron Paul.</p>
<p>After  Iowa caucus , Ron paul is now considered more and more mainstream candidate who is in race to make a difference to current economic system which is already moribund.</p>
<p>Come on America ! people across the world are looking at you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=130&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2012/01/07/come-on-america-do-the-right-thing-choose-ron-paul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>TDD Red-Green-Refactor &#8211; Missing Refactor step</title>
		<link>http://elope.wordpress.com/2011/10/16/tdd-red-green-refactor-missing-refactor-step/</link>
		<comments>http://elope.wordpress.com/2011/10/16/tdd-red-green-refactor-missing-refactor-step/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 15:24:14 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Software Design]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=124</guid>
		<description><![CDATA[The code base of our project does not  look any bit like Uncle Bob&#8217;s  clean code examples &#8211; Why ? This question was in my mind for long - In spite of doing TDD where everyone writes tests first then why our code base is still sub standard ? Why we have lots of disjointed test cases [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=124&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The code base of our project does not  look any bit like Uncle Bob&#8217;s  clean code examples &#8211; Why ?</p>
<p>This question was in my mind for long -</p>
<p>In spite of doing TDD where everyone writes tests first then why our code base is still sub standard ? Why we have lots of disjointed test cases and code base which is not cohesive ?</p>
<p>Initially the answers I was getting from myself were :</p>
<p>a) May be what works for  a simple one class problems don&#8217;t scale for big projects.</p>
<p>b) But then their are parts of our System which are beautifully written(done by a individual ) &#8211; So this process is working for  some and not for others .</p>
<p>What if those guys would anyway write better code than rest of us &#8211; be TDD or not ?</p>
<p>With all these questions in mind &#8211; I took  a SVN update to start on a Jira (bug) . When I looked at the relevant class  - It took me around 10-15 mins to understand what it was doing and the fact that it had test cases made no difference in my ease of understanding that piece of code.</p>
<p>How can we invariably ends up with something like this &#8211; Even though we are doing everything right ? &#8211; I went through svn check-in history something  struck to me &#8211; <strong>We Are Missing The All important step of Refactoring</strong> !</p>
<p>When we learn about TDD &#8211; its being taught as Three Simple Steps</p>
<p style="text-align:center;">RED &#8211; Green -Refactor</p>
<p style="text-align:left;">But when we started using it , we reduce it to just two step !</p>
<p style="text-align:left;">Red-Green  , Red-Green , Red-Green &#8211; The important step which binds everything together and which gives shoulder to the Simpleton Advice (do the simplest thing to make the test pass) to stand on , Refactoring, is actually being forgotten .</p>
<p style="text-align:left;">If you and your team is new to TDD process &#8211; Make sure that you are also not missing the integral step of Refactoring !</p>
<p style="text-align:left;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=124&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2011/10/16/tdd-red-green-refactor-missing-refactor-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Intelij Idea : One more Casulty of Open Source</title>
		<link>http://elope.wordpress.com/2009/10/29/intelij-idea-one-more-casulty-of-open-source/</link>
		<comments>http://elope.wordpress.com/2009/10/29/intelij-idea-one-more-casulty-of-open-source/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 08:45:34 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=118</guid>
		<description><![CDATA[You might be already aware of the fact that JetBrains have released core Intelij framework as free and OpenSource. Although am happy with Eclipse and contrary to many people who blasts Eclipse for flaky behaviour , Eclipse have worked very nicely for me .I am quite happy with eclipse (especially with Galileo) and huge plugins for almost [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=118&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You might be already aware of the fact that JetBrains have released core Intelij framework as free and OpenSource.</p>
<p>Although am happy with Eclipse and contrary to many people who blasts Eclipse for flaky behaviour , Eclipse have worked very nicely for me .I am quite happy with eclipse (especially with Galileo) and huge plugins for almost everything .</p>
<p>Still I decided to try Intelij and see what&#8217;s all are in for offer , also to see what&#8217;s new have come in since 3 yrs (last I used Idea ).</p>
<p>Recently I have to come up with a small desktop GUI to demonstrate an idea and thought best possible way is to use NetBeans for Swing GUI builder capabilities . Even saying that NetBeans is a good IDE is kind of understatement.</p>
<p>So now we have 3 very good IDE&#8217;s in java world and all three are Open Source ! This only augurs well for Java related technologies,as sometimes not the technology but the support tools around it make the last mile difference between its adoption and rejection.</p>
<p>So high five for Open-Source and its has kind of proved that selling commercial products in era of Open-Source would be really tough and challenging , Even if you have a superior product.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=118&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/10/29/intelij-idea-one-more-casulty-of-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>FrameWork: Spring-JPA-Hibernate (Annoation Based)</title>
		<link>http://elope.wordpress.com/2009/09/29/framework-spring-jpa-hibernate-annoation-based/</link>
		<comments>http://elope.wordpress.com/2009/09/29/framework-spring-jpa-hibernate-annoation-based/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 16:56:33 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=102</guid>
		<description><![CDATA[This skeleton web framework I wrote for Quarks , as they wanted a core framework on top of which they can build the applications. As I had a luxury to design a Framework from scratch and so decided with these technologies.This dev stack is now becoming a vary dominant framework or to say in developers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=102&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This skeleton web framework I wrote for <a href="http://fundoodata.org/" target="_blank">Quarks </a>, as they wanted a core framework on top of which they can build the applications.</p>
<p>As I had a luxury to design a Framework from scratch and so decided with these technologies.This dev stack is now becoming a vary dominant framework or to say in developers words &#8220;The next Popular Stack&#8221;.</p>
<p>Testing env I have used in this framework is TestNg , which I feel is much more suited to present day testing needs than our old JUnit(even after realese of Junit 4).</p>
<p>And with JDK 5+ , Spring 2.5+ which give support for Annoatations , you can have a very Simple yet very powerful framework to work with.So with this what we have is</p>
<ul>
<li> Spring as a Application Framework</li>
<li>JPA as Persistence Framework (Hibernate as JPA impl)</li>
<li>Annotation based Transactional Control.</li>
<li>Spring Dependency injection with Annotation.</li>
<li>Spring MVC : This can be changed if you want to use something else.</li>
<li>Annotation based Validation framework.</li>
</ul>
<p>These all elements give us enough power to create a generic and robust framework ,which can be customized for various needs.</p>
<p>Now let&#8217;s get to the actual work &#8230;&#8230;</p>
<p><strong>Core Design Principle</strong> : The whole framework is desigend in Layers.Each Layer can only be called by layer above it and no skip hierarcy call&#8217;s are allowed.</p>
<p>Various Layers are</p>
<ul>
<li><em>Web</em> : Comprises of Spring MVC &amp; JSP , this is due to the fact that most developer in quarks are quite familiar with JSp and so we wanted to start with this.Although I am not really happy with technology choice and wanted to have GWT or Flex based GUI.</li>
<li><em>Delegate </em>: This is logical seperation between Web(Front End) and Service (back End).If you think that GWT or you something else suits you then this is the place where you should take a detour.</li>
<li><em>Service </em>: Spring based beans, annotation based Dependency &amp; Transaction management.</li>
<li><em>DAO</em> : Db access layer , based on JPA and using hibernate as Persistence provider.</li>
<li><em>Persistence Domain model</em> : Java Beans on lines of JPA Entities.</li>
</ul>
<p>So the principle is that a layer can only call layer below it so in this Web &#8212;-&gt; Delegate and any call direct to say services or DAO&#8217;s should be discourged.</p>
<p>Another way to see this is that if we just delete a particular Layer then code below it should compile just as fine without any problem.</p>
<p>I wanted the package structure to reinforce this idea  .Also its easier for a new person to see as how the packages are organized . The package structure is</p>
<ul>
<li>com.quarks.a.web.controller</li>
<li>com.quarks.b.delegate</li>
<li>com.quarks.c.service</li>
<li>com.quarks.d.dao</li>
<li>com.quarks.e.persistence</li>
</ul>
<p>Used a,b,c,d,e so that packages are shown in order in project view and aslo it gives clear idea of dependency in project.</p>
<p>Now looking at this I can easily say that DAO is only dependent on persistence pacakge.</p>
<p>Note : Still in edit , I&#8217;ll upload code as well . Please do give your valuable opinion about how can we have a Generic framework on this Dev Stack .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=102&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/09/29/framework-spring-jpa-hibernate-annoation-based/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Type Safety in Api&#8217;s</title>
		<link>http://elope.wordpress.com/2009/09/28/type-safety-in-apis/</link>
		<comments>http://elope.wordpress.com/2009/09/28/type-safety-in-apis/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 14:26:49 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=113</guid>
		<description><![CDATA[As of now am working on a fairly big  project which intended to have impact on entire bank level architecture and should be in use for more than 10 yrs .We didn&#8217;t got number 10 yrs from any mathematical calculation but it was a way to convey the message, that return on this sort of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=113&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As of now am working on a fairly big  project which intended to have impact on entire bank level architecture and should be in use for more than 10 yrs .We didn&#8217;t got number 10 yrs from any mathematical calculation but it was a way to convey the message, that return on this sort of project typically comes after 5-6 yrs.</p>
<p>So after knowing very well that their will be many systems using your System and for  fairly long lifesapn , How do you design you Api&#8217;s ?</p>
<p>This particular  system is supposed to be a Cluster on Distributed Grid and will give option to other Systems to get data from Cache rather than hitting RDBMS and going forward the plan is that all System just work on top of this grid and so for them no Db calls !!</p>
<p>Now this systems will have fairly big outward facing Api&#8217;s and question in our mind was how to design these sort of Api&#8217;s. One important aspect of this design analysis is</p>
<p>What level of type safety we should have ?</p>
<p>Although with introduction of Ruby etc in mainstream programming , java static type saftey is preety much under attack.But my experience suggest that if you have a project on which more than 10 people will code than this is really a very important aspect to see while choosing a language . And this can be seen in Java&#8217;s success in big server side projects.</p>
<p>Now coming back to the point , how important is Type Safety in you Api&#8217;s which are exposed to outside world(other than your team) ?</p>
<p>Well answer from my side is very much , don&#8217;t give user a chance to call your Api&#8217;s with Generic Arguments.So while designing you Api&#8217;s try to be as as type safe as possible .</p>
<ul>
<li>Don&#8217;t take generic String as argument&#8217;s for everything and then do conversion&#8217;s .</li>
<li>It really difficult to find a usecase where a method takes a argument as Object or return&#8217;s a Object.</li>
<li>If you have such methods then examine them closely or this may be perfect case to show your Generics knowledge.</li>
</ul>
<p>While pondering over this i came across this <a title="Dynamic, typesafe queries in JPA 2.0" href="http://www.ibm.com/developerworks/java/library/j-typesafejpa/" target="_blank">article</a> and really enjoyed reading it ,as it reinforces the concept that your api&#8217;s should be type safe and this should happen at compile time.</p>
<p>Also its a good news that Criteria queries will be part of JPA 2.0 which i think was most missed feature in JPA especially when you have hibernate as persistence provider.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=113&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/09/28/type-safety-in-apis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Evolvoblity in Software System &#8230;</title>
		<link>http://elope.wordpress.com/2009/09/11/evolvoblity-in-software-system/</link>
		<comments>http://elope.wordpress.com/2009/09/11/evolvoblity-in-software-system/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:20:02 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=109</guid>
		<description><![CDATA[Right now working on this and its kind of really interesting problem So what&#8217;s the problem we want to solve : Say We have a central Server/Cluster/DataStore. Many Clients accessing this Central thing. Let&#8217;s take a specific case for better understanding. You want to have a trading platform : It will consist of Trade booking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=109&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Right now working on this and its kind of really interesting problem</p>
<p>So what&#8217;s the problem we want to solve :</p>
<ul>
<li>Say We have a central Server/Cluster/DataStore.</li>
<li>Many Clients accessing this Central thing.</li>
</ul>
<p>Let&#8217;s take a specific case for better understanding.</p>
<p>You want to have a trading platform : It will consist of</p>
<ul>
<li>Trade booking applications : We can have mutiple apps say for Equity/Derivatives/FX etc.</li>
<li>Central Data store : Resonsible for data storage and single source of data for other applications</li>
<li>Middle office Systems like Confirmation Systems ,Settlements Systems etc.</li>
<li>Back Office Systems.</li>
</ul>
<p>And in out System we have a class defination of <strong>Trade : a,b,c </strong>as attributes.</p>
<p>Currently everybody has this Class defination and they are able to Read/Write happily.</p>
<p>But what if  a Client want&#8217;s to add a new field( <strong>d</strong> )to this Trade class and want to use that ?</p>
<p>Do all the other Clients/Central thing needs to be Upgraded as well ? For practical purposes this may not be desirable.</p>
<p>So then how do you design your System where a Single client upgrades to new version and its using new fields but other clients are still running on older version , its just that they don&#8217;t see the <strong>d</strong> field but can work with<strong> a,b,c</strong> .</p>
<p>It turned out that this is not so difficult to achieve!</p>
<p>The real problem is if a Client adds a New SubClass (new trade type,having extra field <strong>d</strong> ) and still other clients can read this ,same as before ,able to work on as Trade class (on  field <strong>a,b,c</strong> without knowledge of d).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=109&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/09/11/evolvoblity-in-software-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Generating Java Code on the fly!</title>
		<link>http://elope.wordpress.com/2009/08/23/generating-java-code-on-the-fly/</link>
		<comments>http://elope.wordpress.com/2009/08/23/generating-java-code-on-the-fly/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 15:31:34 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=103</guid>
		<description><![CDATA[Currently I am working on a Grid based Cache (Coherence) in my regular job. The concept is that differenct System can just use the Cache and do the stuff and its very easy and fast to share information.No XMl&#8217;s being excahnged and no bickering on XSD&#8217;s etc. The thing  is in this process we were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=103&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Currently I am working on a Grid based Cache (Coherence) in my regular job.</p>
<p>The concept is that differenct System can just use the Cache and do the stuff and its very easy and fast to share information.No XMl&#8217;s being excahnged and no bickering on XSD&#8217;s etc.</p>
<p>The thing  is in this process we were end up writing so much similar code for Serialisation purpose (PofSerialisers) and thought the this code can be auto generated.</p>
<p>And with this thought in mind when we looked at the problem that our Cluster needs to support various version of our core Domain model ,let me explain this problem better :</p>
<p>Let&#8217;s assume we have a Trade.java class with 2 attribute and we call this versionV1 so we have T-V1.Now some new attributes are added and we have T-V2 and henceforth.But its very likely that some clients of this Cluster would not like to upgrade and would still be using T-V1 .</p>
<p><img src="/DOCUME%7E1/Elope/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /></p>
<p><img class="aligncenter size-full wp-image-107" title="img" src="http://elope.files.wordpress.com/2009/08/img1.jpg" alt="img" width="770" height="501" /></p>
<p>To code and maintain multiple versions of Data model is big task and so we decided to go ahead with concept of auto-generating the java code giving a schema file.</p>
<p>This is the first time i am doing something like this.Its ok to generate Stubs/Skeletons which we use in Web-Services to get auto generated but to use auto generated domain objects and this is used everywhere in project is something first time for me.</p>
<p>So initally our project just have Classes having business logic and these are not compilable becuase all domain classes which they use are just not their ! and when we invoke compile goal of Maven pom file ,these domain classes get generated with their Serialsers and now we have fully fuctional code <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  which can be deployed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=103&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/08/23/generating-java-code-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>

		<media:content url="http://elope.files.wordpress.com/2009/08/img1.jpg" medium="image">
			<media:title type="html">img</media:title>
		</media:content>
	</item>
		<item>
		<title>How Agile turns into Fragile</title>
		<link>http://elope.wordpress.com/2009/06/16/how-agile-turns-into-fragile/</link>
		<comments>http://elope.wordpress.com/2009/06/16/how-agile-turns-into-fragile/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:19:27 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=96</guid>
		<description><![CDATA[I really like Agile  methodologies  especially because of its focus on  iterative development which encourages frequent inspection and adaptation. But i would have been very happy if this was incorporated in normal working practises rather than giving a new fancy name.Now it gives a license to Managers to change requirement at any point in time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=96&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I really like Agile  methodologies  especially because of its focus on  iterative development which encourages frequent inspection and adaptation.</p>
<p>But i would have been very happy if this was incorporated in normal working practises rather than giving a new fancy name.Now it gives a license to Managers to change requirement at any point in time and if you get back to them ,they will teach you about Agile way of doing work.</p>
<p>So how people have changed Agile to Fragile.</p>
<ul>
<li>Requirement evolves  (To)  Reguirements can change anytime and to anything.</li>
<li>Document what is necessary (To) E-mail&#8217;s are good enough documents.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=96&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/06/16/how-agile-turns-into-fragile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Book Review of &#8220;Java Power Tools&#8221;</title>
		<link>http://elope.wordpress.com/2009/05/23/book-review-of-java-power-tools/</link>
		<comments>http://elope.wordpress.com/2009/05/23/book-review-of-java-power-tools/#comments</comments>
		<pubDate>Sat, 23 May 2009 07:24:09 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=92</guid>
		<description><![CDATA[I am currently reading Java Power Tools , came across this book on John Ferguson Smart blog.I quite regularly read his blog as he generally writes about current java landscape and good overview of problems faced in current set up say release management,branching strategy ,continuous integration etc. So on weekend just went out and got [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=92&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am currently reading <strong>Java Power Tools</strong> , came across this book on John Ferguson Smart <span><span>blog</span></span>.I quite regularly read his <span><span>blog</span></span> as he <span>generally</span> writes about current java landscape and good <span>overview</span> of problems faced in current set up say release management,branching strategy ,<span>continuous</span> <span>integration</span> etc.</p>
<p>So on weekend just <span>went out</span> and got a copy of it from nearest Book store &#8216;Landmark&#8217; in <span><span>gurgaon</span></span>.</p>
<p><span>After going through the index i noticed that we were using mostly all the technologies in various projects barring</span></p>
<p>a) <strong>Continuum</strong>,<strong><span><span>LuntBuild</span></span> </strong>: I am happy with Hudson and no <span><span>itention</span></span> of switching to another CI server.</p>
<p><span>b)<strong><span>Openfire</span> </strong>: Haven&#8217;t heard of it ,will try to dig deeper into it.</span></p>
<p>c)<strong><span><span>JunitPerf</span></span> </strong>,<strong><span><span>Jmeter</span></span> </strong>,<strong>Jupiter </strong>etc:We are using something else but would like to know more about them especially <span><span>JunitPerf</span></span> and <span><span>Jmeter</span></span>.</p>
<p>After going through couple of Chapter i noticed that this book is written in very simple and clearly <span>demonstrated</span> the rational behind using these technologies .May be its due to the fact that  i was already <span>familiar</span> with most of the technologies mentioned in the book .</p>
<p>In all i would recommend this book to java developer for a <span>reference</span> book for what&#8217;s all tools available for their <span>arsenal</span>.</p>
<p>Few things standout for me :</p>
<p>a) <strong><span><span>TestNG</span></span> </strong>:</p>
<p>Author pointed this as <strong>Next-generation Testing</strong> and in my view this is very apt <span>definition</span> for <span><span>TestNG</span></span>.<span><span>Junit</span></span> has not kept pace with growing demands in testing space and Junit4 is also bit of <span>disappointment</span>.It still lacks on many features and i think way behind <span><span>TestNg</span></span>.</p>
<p>One thing i find missing in <span><span>TestNg</span></span> chapter is migration strategy and examples for Migrating to <span><span>TestNG</span></span> from <span><span>Junit</span></span>.But otherwise other <span>aspects</span> of <span><span>testng</span></span> were well explained like Test <span><span>LifeCyclye</span></span>,managing dependencies in test cases,<span>parallel</span> testing etc.</p>
<p>b) <strong><span>Continuous</span> <span>Integration</span></strong> :</p>
<p>This book cover this topic quite well and give a good overview of various tools available for this like <span><span>hudson</span></span>,cruise-control,continuum etc so well covered topic.</p>
<p>c) <strong>Profiling and Monitoring using Sun <span><span>JDK</span></span> tools</strong>:</p>
<p>Its really good to see that this book pointed out some very handy tools available to developer right under their nose ex: <span><span>Jconsole</span></span> is really good tool for thick client application monitoring.</p>
<p><span>I still don&#8217;t know why the tools which come bundled with <span>JDK</span> are not so popular <span>inspite</span> of such a  great use.</span></p>
<p>What this book missed :</p>
<p>a) <strong>Aspects</strong> :</p>
<p>Aspects is a mainstream concept now and could have been incorporated in this book.<span><span>AspectJ</span></span> have now really matured and now comes with good support in <span><span>IDE</span></span> like eclipse and Idea.</p>
<p>b) <strong>Design analysis tools</strong> :</p>
<p>Some insight about determining health of your current project.Some tools which can be discussed are <a title="CAP" href="http://cap.xore.de/" target="_blank">CAP </a>,<a title="JDepend" href="http://clarkware.com/software/JDepend.html" target="_blank"><span><span>JDepend</span></span> .</a></p>
<p>c)<strong> <span><span>UML</span></span> and Reverse Engineering tools</strong> :</p>
<p>I think this is also a topic worth considering in this book .Their are some good offerings from IBM which integrated well with Eclipse (although paid).</p>
<p><a title="eUML2" href="http://www.soyatec.com/euml2/" target="_blank">eUML2</a> from Soyatech is another good tool for UML and comes with very good eclipse plugin .</p>
<p>In all its a good book for getting a feel of Java landscape.<span id="more-92"></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=92&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/05/23/book-review-of-java-power-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Homegrown Persistence Framework</title>
		<link>http://elope.wordpress.com/2009/05/17/homegrown-persistence-framework/</link>
		<comments>http://elope.wordpress.com/2009/05/17/homegrown-persistence-framework/#comments</comments>
		<pubDate>Sun, 17 May 2009 15:21:13 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=88</guid>
		<description><![CDATA[I now moved to new team in my company and task is to set a team in India which  works with london based team on round the clock model. In process of this migration we inherited existing java code. Functionally this code is in production and is performing quite well.And this project started as small [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=88&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I now moved to new team in my company and task is to set a team in India which  works with london based team on round the clock model.</p>
<p>In process of this migration we inherited existing java code. Functionally this code is in production and is performing quite well.And this project started as small and then grown into a important big project.</p>
<p>Couple of points worth mentioning about this code.</p>
<ul>
<li>Extensive use of Static  : Or Over use of static .Writing Unit tests is big nightmare and now i can fully appreciate how dependency injection is so useful in writing Unit testing.</li>
<li>Extensive use of nested classes : Not sure exact need for this kind of architecture.</li>
<li>Home Grown Persistence framework.</li>
</ul>
<p>After working with Hibernate and JDBC ,this is first time i am working a piece of code which can be dubbed as Home grown Persistence framework.Its really nice from personnel prespective after reading all sorts of problem self written Persistence framework could pose.</p>
<p>So am looking forward to get as much prespective on any design approach and  what prompted to be that way.</p>
<p>Also to compare that with hibernate .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&amp;blog=569605&amp;post=88&amp;subd=elope&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/05/17/homegrown-persistence-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb16ad9d3189453b87f47a5274d998f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
	</channel>
</rss>
