<?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>Preenu's Weblog</title>
	<atom:link href="http://preenu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://preenu.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 13 Oct 2011 05:19:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='preenu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Preenu's Weblog</title>
		<link>http://preenu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://preenu.wordpress.com/osd.xml" title="Preenu&#039;s Weblog" />
	<atom:link rel='hub' href='http://preenu.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Solr &#8211;  enterprise search platform</title>
		<link>http://preenu.wordpress.com/2011/10/13/solr-enterprise-search-platform/</link>
		<comments>http://preenu.wordpress.com/2011/10/13/solr-enterprise-search-platform/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 05:19:14 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
		
		<guid isPermaLink="false">http://preenu.wordpress.com/?p=64</guid>
		<description><![CDATA[It&#8217;s been long ,quite busy with the schedule and travel. In this post i would like to share by working experience with the solr. Hope it will be usefule for all those who are working on solr and facing some of challenges which i came across during the implementation.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=64&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been long ,quite busy with the schedule and travel. In this post i would like to share by working experience with the solr. Hope it will be usefule for all those who are working on solr and facing some of challenges which i came across during the implementation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=64&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2011/10/13/solr-enterprise-search-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>how to check the class version?</title>
		<link>http://preenu.wordpress.com/2009/02/24/how-to-check-the-class-version/</link>
		<comments>http://preenu.wordpress.com/2009/02/24/how-to-check-the-class-version/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:09:44 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[java crunch(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=55</guid>
		<description><![CDATA[Its really interesting to know what is the version of class file. Let&#8217;s say some time by having a class file we need to find the java version. when we compile java it convert into byte code.In that First 4 bytes CA FE BA BE is the signature of a Java Class file. The next [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=55&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its really interesting to know what is the version of class file.<br />
Let&#8217;s say some time by having a class file we need to find the java version.<br />
when we compile java it convert into byte code.In that<br />
First 4 bytes<strong> CA FE BA BE</strong> is the signature of a Java Class file.<br />
The next 2 bytes show the <strong>mino</strong>r version number and then the<br />
next 2 bytes show the <strong>major</strong> version number.</p>
<p>Convert the hexadecimal to decimal then verify with the below chart.</p>
<p><strong>major  minor Java version</strong><br />
45       3           1.0<br />
45       3           1.1<br />
46       0           1.2<br />
47       0           1.3<br />
48       0           1.4<br />
49       0           1.5<br />
50       0           1.6</p>
<p>Open the class file in Hex editor</p>
<p>if you have find difficulty in above procedure then write the java file to check the class version.</p>
<p>Method to check the class version:-<br />
public void checkClassVersion(String classfile)<br />
{<br />
     DataInputStream in = new DataInputStream<br />
         (new FileInputStream(filename));</p>
<p>        int magic = in.readInt();<br />
        if(magic != 0xcafebabe) {<br />
          System.out.println(filename + &#8221; is not a valid class!&#8221;);;<br />
        }<br />
        int minor = in.readUnsignedShort();<br />
        int major = in.readUnsignedShort();<br />
        System.out.println(filename + &#8220;:- &#8221; + major + &#8221; :- &#8221; + minor);<br />
        in.close();</p>
<p>}</p>
<p>&#8211; Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=55&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/02/24/how-to-check-the-class-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>some of links..</title>
		<link>http://preenu.wordpress.com/2009/01/31/one-of-my-client-visit-in-india/</link>
		<comments>http://preenu.wordpress.com/2009/01/31/one-of-my-client-visit-in-india/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 15:15:27 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=50</guid>
		<description><![CDATA[- one of my client visit in india and he had capture snap. , interesting one to share. - My friend blogs i like it..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=50&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>- one of my client visit in india and he had capture snap.<a href="http://mcpierce.multiply.com/photos/album/141"> , interesting one to share.</p>
<p>- My friend blogs i like it..<a href="http://bearrider.wordpress.com/"></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=50&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/31/one-of-my-client-visit-in-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting about the static keywords in java</title>
		<link>http://preenu.wordpress.com/2009/01/31/interesting-about-the-static-keywords-in-java/</link>
		<comments>http://preenu.wordpress.com/2009/01/31/interesting-about-the-static-keywords-in-java/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 15:06:00 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[java crunch(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=47</guid>
		<description><![CDATA[Let us talk about some example say – we want an utility class which have a method which will return always random number, so it wouldn’t matter which instance of class is invoking this method. Here method job is to return the random number. So why then, do we need an instance to invoke this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=47&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:Verdana; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:536871559 0 0 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1571966078; 	mso-list-type:hybrid; 	mso-list-template-ids:-175869364 1136544588 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-start-at:0; 	mso-level-number-format:bullet; 	mso-level-text:-; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Verdana; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">Let us talk about some example say – we want an utility class which have a method which will return always random number, so it wouldn’t matter which instance of class is invoking this method. Here method job is to return the random number.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">So why then, do we need an instance to invoke this method? Why not just tell the class itself to run this method.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Verdana;"><span>-<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Verdana;">So here what it means – the variable or method which is not be an instance-specific, there we should use the <span style="background:lime none repeat scroll 0 0;">static</span> keyword.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">What it mean that we can use static method and variable without having the instance of class at all.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">Now what it strikes it in my head, usually we use to invoke the method or variable of class with the use of (.) dot operator. </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">So all the non-static variable and method is get invoked with the class instance.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">Can we invoke the static method or variable by the instance of class?</span></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-size:10pt;font-family:Verdana;"><span>-<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><span style="font-size:10pt;font-family:Verdana;">Yes, you can. But the rule’s is not changed here; it’s just the syntax trick to invoke the static method or variable with the instance of class, but the static members is not aware of the particular instance of class to invoke the members.</span></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">Compiler knows that the instance of which class, so it will run the static members with no concerns.</span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"><strong>Bullets point(s):-</strong></span></p>
<ul>
<li><span style="font-size:10pt;font-family:Verdana;"><em>Static method cannot access an instance (non-static) variable.</em></span><em><span style="font-size:10pt;font-family:Verdana;"><span><br />
</span></span></em></li>
<li><em><span style="font-size:10pt;font-family:Verdana;">Static method cannot access an instance (non-static) method.</span></em></li>
<li><em><span style="font-size:10pt;font-family:Verdana;"></span></em><span style="font-size:10pt;font-family:Verdana;"><em>Static method can access a static method and variable.</em></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="background:lime none repeat scroll 0 0;font-size:10pt;font-family:Verdana;">Here comes tricky one? Can we override the static method?</span></strong><span style="font-size:10pt;font-family:Verdana;"></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:10pt;font-family:Verdana;">- NO, static method’s can’t be overridden. This does not mean that they can’t be redefined in subclass but redefining and overloading isn’t the same thing.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=47&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/31/interesting-about-the-static-keywords-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>java crunch(S)</title>
		<link>http://preenu.wordpress.com/2009/01/31/java-crunchs/</link>
		<comments>http://preenu.wordpress.com/2009/01/31/java-crunchs/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 15:01:43 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[java crunch(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=44</guid>
		<description><![CDATA[About the java thoughts and lot more&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=44&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About the java thoughts and lot more&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=44&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/31/java-crunchs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on interface and abstract class</title>
		<link>http://preenu.wordpress.com/2009/01/20/thoughts-on-interface-and-abstract-class/</link>
		<comments>http://preenu.wordpress.com/2009/01/20/thoughts-on-interface-and-abstract-class/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 15:44:30 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=37</guid>
		<description><![CDATA[Inteface Let take an example &#8211; Shave trimmer that have an adapter which is used to connect it to power sockets. Now let us take an ipod which uses the same adapter to connect it to power sockets. so here come two disimilar objects ( shave trimmer and ipod) that are allowed to use the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=37&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Inteface</strong></p>
<p>Let take an example &#8211; Shave trimmer that have an adapter which is used to connect it to power sockets.</p>
<p>Now let us take an ipod which uses the same adapter to connect it to power sockets. so here come two disimilar objects ( shave trimmer and ipod) that are allowed to use  the same adaptar.Interface is like a guideline or making a contract between the class (shave trimmer and ipod) with the kind of adaptar. My making a adaptar as an interface we can implement the mechanism  which is used to handle the voltage and power out put.</p>
<ul>
<li>Basically used to provide the certain functionality to class with no matter what type of object is invoking.</li>
<li>All the class which implement this interface(adapter)  all it knows it should support the type of voltage and power out put.</li>
</ul>
<p><strong>Abstract </strong></p>
<p>Abstract class are purely used for inheritance.</p>
<p>Let take again an example of ipod &#8211; when the first version of ipod release it has the method of changing the song and display the song name on the screen and lot more other method which provide some functionality.</p>
<p>In that case Abstract class should have method where all the child ipod( new version ipod) should inherit .In that case all the new version of ipod default inherit the feature of change the song and display the song name methods.</p>
<p>But there may be chance that all the new version of ipod may have slightly changes in one of the method , but they all inherit the basic functionality from the base class.Now what makes this different from a regular base class is that its abstract meaning that all those child ipods that inherit from the original override the functionality.</p>
<p>Abstract classes are not meant to be directly instantiated, they are primarily used to inherit from. You can pull all the functionality common to all ipods out there in one basic class and then in each child class only override what is new to the child class (aka the improvements).</p>
<ul>
<li>By creating an interface, you can move your implementation to any class that implements your interface.</li>
</ul>
<ul>
<li>By creating an abstract class, you can share implementation for all derived classes in one central place, and avoid lots of bad things like code duplication.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=37&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/20/thoughts-on-interface-and-abstract-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>How module works in flex</title>
		<link>http://preenu.wordpress.com/2009/01/14/how-module-works-in-flex-2/</link>
		<comments>http://preenu.wordpress.com/2009/01/14/how-module-works-in-flex-2/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 03:57:24 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[Flex(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=34</guid>
		<description><![CDATA[click here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=34&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.myot.ca/blog/2007/08/02/module-101-what-is-module-how-it-works">click here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=34&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/14/how-module-works-in-flex-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>clean up objects from memory in flex</title>
		<link>http://preenu.wordpress.com/2009/01/14/clean-up-objects-from-memory-in-flex-2/</link>
		<comments>http://preenu.wordpress.com/2009/01/14/clean-up-objects-from-memory-in-flex-2/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 03:55:03 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[Flex(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=31</guid>
		<description><![CDATA[refer link<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=31&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.startup.gr/blog/_archives/2007/3/13/2800157.html">refer link</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=31&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2009/01/14/clean-up-objects-from-memory-in-flex-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>Binding Data in a Flex</title>
		<link>http://preenu.wordpress.com/2008/07/24/binding-data-in-a-flex/</link>
		<comments>http://preenu.wordpress.com/2008/07/24/binding-data-in-a-flex/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 08:34:06 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[Flex(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=28</guid>
		<description><![CDATA[About binding data in a flex..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=28&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About binding data in a flex..</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/preenu.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/preenu.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=28&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2008/07/24/binding-data-in-a-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
		<item>
		<title>Singleton pattern in flex</title>
		<link>http://preenu.wordpress.com/2008/07/18/singleton-pattern-in-flex/</link>
		<comments>http://preenu.wordpress.com/2008/07/18/singleton-pattern-in-flex/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 10:38:07 +0000</pubDate>
		<dc:creator>preenu</dc:creator>
				<category><![CDATA[Flex(s)]]></category>

		<guid isPermaLink="false">http://preenu.wordpress.com/?p=23</guid>
		<description><![CDATA[Flex 3 does not support private or protected constructors preventing common implementation techniques for the singleton pattern. By using a check in the constructor &#38; static method to instantiate the class , it is possible to ensure only a single instance of a class is created. As constructor is not public we should restrict the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=23&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Flex 3 does not support private or protected constructors preventing common implementation techniques for the singleton pattern. By using a  check in the constructor &amp; static method to instantiate the class , it is possible to ensure only a single instance of a class is created.</p>
<p>As constructor is not public we should restrict the user to invoke the class.</p>
<p>Sample:-</p>
<p>package com.blog.preenu<br />
{<br />
public class SingletonClass<br />
{<br />
private static var s_singletonClass : SingletonClass;</p>
<p>public function SingletonClass(singletonEnforcer:SingletonEnforcer)<br />
{<br />
if ( singletonEnforcer == null )<br />
{<br />
throw new Error( &#8220;Only one SingletonClass instance should be instantiated&#8221; );<br />
}<br />
}</p>
<p>public static function getInstance() : SingletonClass<br />
{<br />
if(s_singletonClass == null)<br />
{<br />
s_singletonClass = new SingletonClass(new SingletonEnforcer());<br />
}</p>
<p>return s_singletonClass;<br />
}<br />
}</p>
<p>}<br />
class SingletonEnforcer {</p>
<p>}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/preenu.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/preenu.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/preenu.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/preenu.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/preenu.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=preenu.wordpress.com&amp;blog=3240829&amp;post=23&amp;subd=preenu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://preenu.wordpress.com/2008/07/18/singleton-pattern-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/df7f466c98d4546b54021113d9e3d3a5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">preenu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
