<?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>Thu, 29 Oct 2009 08:45:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='elope.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/dc245c25b231f1c5c9b629aef6f02144?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Khangharoth</title>
		<link>http://elope.wordpress.com</link>
	</image>
			<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 everything [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=118&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=118&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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[JEE]]></category>
		<category><![CDATA[Java]]></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 words [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=102&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=102&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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&blog=569605&post=113&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=113&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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 applications : We can have mutiple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=109&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=109&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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[JEE]]></category>
		<category><![CDATA[Java]]></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 end up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=103&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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?w=770&#038;h=501" 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://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  which can be deployed.</p>
  <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/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&blog=569605&post=103&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/Elope/LOCALS%7E1/Temp/moz-screenshot-1.jpg" medium="image" />

		<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>Why I didn&#8217;t tried Maven before</title>
		<link>http://elope.wordpress.com/2009/07/08/why-i-didnt-tried-maven-before/</link>
		<comments>http://elope.wordpress.com/2009/07/08/why-i-didnt-tried-maven-before/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 09:54:42 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=98</guid>
		<description><![CDATA[I am or now should I say was happy with Ant.
It was doing all the things i wanted it to do and support in terms of documentation and other compatablity was also their.So from my prespective ,i felt absolutely no need to change to another build tool.But readin so much about maven on discussion forums [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=98&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am or now should I say was happy with Ant.</p>
<p>It was doing all the things i wanted it to do and support in terms of documentation and other compatablity was also their.So from my prespective ,i felt absolutely no need to change to another build tool.But readin so much about maven on discussion forums and its idea about Convention over Configuration is something i always wished for.</p>
<p>Whenever we move to another project , its structure is the single most annoying thing.You are used to some way and now these guys are doing same thing another way.Their is no right or wrong but just diffrent and this really should be done away with.</p>
<p>Plus the fact that in ant you need to specify where is the &#8217;src&#8217; ,how to compile java file ,where test classes are ,how to generate test-reports seems bit too much.So the fact is Iwas aware of benefits maven gives but still found no compeling reason to make a switch.</p>
<p>This monday I needed to set up a new project and so just thought of giving maven a try.And I was able to set up a maven based project whith test-reports,PMD reports,Findbugs-reports,Coverage reports,Java-Docs etc in less than 15 min.This was awesome ,I can do all this is ant quite easily but nothing like this.</p>
<p>So in my opinion &#8216;Transitive dependencies&#8217; is really great in Maven but its their emphasis on &#8216;Convention over Configuration&#8217; ,which makes maven such a great tool to use.</p>
<p>Personally i am feeling bit sad as Ant used to be so cool and now it think i need some compelling reason to use ant!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=98&subd=elope&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/07/08/why-i-didnt-tried-maven-before/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</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 and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=96&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=96&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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 a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=92&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=92&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
		<item>
		<title>Life With Mock Objects</title>
		<link>http://elope.wordpress.com/2009/05/20/life-with-mock-objects/</link>
		<comments>http://elope.wordpress.com/2009/05/20/life-with-mock-objects/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:31:09 +0000</pubDate>
		<dc:creator>khangharoth</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://elope.wordpress.com/?p=90</guid>
		<description><![CDATA[In my current project ,it seems impossible to write a Unit test case without using Mocks.And i don&#8217;t know why but i don&#8217;t like mock objects per se.I don&#8217;t know why but writing a test case with all those Mocks flying around gives me feeling that  i am not  actually testing the code but just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=90&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In my current project ,it seems impossible to write a Unit test case without using Mocks.And i don&#8217;t know why but i don&#8217;t like mock objects per se.I don&#8217;t know why but writing a test case with all those Mocks flying around gives me feeling that  i am not  actually testing the code but just the call hierarcy.</p>
<p>Their are places where mocks find their use but for me they are very few .So if you find yourself using lot&#8217;s of Mock objects and its difficult to test classes then its time you start looking at dependency injection (Spring).It really helps in making your system modular and certainly testing friendly.</p>
<p>Coming back to the work at hand , here ojbects dependency is specified in code and if you just need to test one method you have added then Jmock and PowerMock are your friends.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/elope.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/elope.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/elope.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/elope.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/elope.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/elope.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/elope.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/elope.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/elope.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/elope.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=90&subd=elope&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://elope.wordpress.com/2009/05/20/life-with-mock-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?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 and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=elope.wordpress.com&blog=569605&post=88&subd=elope&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <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/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&blog=569605&post=88&subd=elope&ref=&feed=1" /></div>]]></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://0.gravatar.com/avatar/298becea2e6a689703730a39cf2bb6ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">khangharoth</media:title>
		</media:content>
	</item>
	</channel>
</rss>