<?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>[semaj]</title>
	<atom:link href="http://semaj.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://semaj.wordpress.com</link>
	<description>Personal Learning Landscape</description>
	<lastBuildDate>Thu, 22 Jul 2010 02:37:58 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='semaj.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>[semaj]</title>
		<link>http://semaj.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://semaj.wordpress.com/osd.xml" title="[semaj]" />
	<atom:link rel='hub' href='http://semaj.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to copy .VDI image</title>
		<link>http://semaj.wordpress.com/2010/07/22/how-to-copy-vdi-image/</link>
		<comments>http://semaj.wordpress.com/2010/07/22/how-to-copy-vdi-image/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 02:37:58 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/?p=60</guid>
		<description><![CDATA[The following steps show you how to make a copy of virtual box hard disk: Shut down the virtual machine you would like to copy. From File -&#62; Virtual Media Manager&#8230;, select the virtual machine you would like to copy and click &#8220;Release&#8221; from the Action toolbar. It will ask you to confirm release. Click &#8220;Release&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=60&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following steps show you how to make a copy of virtual box hard disk:</p>
<ol>
<li>Shut down the virtual machine you would like to copy.</li>
<li>From File -&gt; Virtual Media Manager&#8230;, select the virtual machine you would like to copy and click &#8220;Release&#8221; from the Action toolbar.</li>
<li>It will ask you to confirm release. Click &#8220;Release&#8221; to release it.</li>
<li>In your command prompt, run the following command to set the new UUID for the newly created hard disk.C:\Users\Public\VirtualBox&gt;&#8221;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&#8221; internalcommands sethduuid &#8220;Windows XP Professional &#8211; Clean.vdi&#8221;
<p>Click the below image to see the screenshot:</p>
<p><a href="http://semaj.files.wordpress.com/2010/07/untitled.jpg" target="_blank"><img class="alignnone size-medium wp-image-62" title="Command Prompt showing how to set UUID" src="http://semaj.files.wordpress.com/2010/07/untitled.jpg?w=300&#038;h=168" alt="" width="300" height="168" /></a></li>
<li>In the File -&gt; Virtual Media Manager&#8230;, add the new image you have created in step 4.</li>
<li>Press the New button to create a new virtual machine and link to the one created in step 4.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=60&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2010/07/22/how-to-copy-vdi-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>

		<media:content url="http://semaj.files.wordpress.com/2010/07/untitled.jpg?w=300" medium="image">
			<media:title type="html">Command Prompt showing how to set UUID</media:title>
		</media:content>
	</item>
		<item>
		<title>Concurrent Remote Users in Windows 7 Professional 64 bit</title>
		<link>http://semaj.wordpress.com/2010/07/22/allow-concurrent-remote-users-in-windows-7-professional-64-bit/</link>
		<comments>http://semaj.wordpress.com/2010/07/22/allow-concurrent-remote-users-in-windows-7-professional-64-bit/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 04:42:37 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/?p=54</guid>
		<description><![CDATA[Download appropriate files from http://www.missingremote.com/images/stories/Win7RDP/Win7RDP.zip Extract the files from the zip folder. Back up your termsrv.dll under C:\Windows\System32. Right click install.cmd and select &#8220;Run as Administrator&#8221; from the extracted folder. Boom.. login to your computer locally using one user and remote desktop to same computer using another user.   Acknowledgement: http://www.missingremote.com/index.php?option=com_content&#38;task=view&#38;id=3692&#38;Itemid=232<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=54&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>Download appropriate files from <a href="http://www.missingremote.com/images/stories/Win7RDP/Win7RDP.zip">http://www.missingremote.com/images/stories/Win7RDP/Win7RDP.zip</a></li>
<li>Extract the files from the zip folder.</li>
<li>Back up your termsrv.dll under C:\Windows\System32.</li>
<li>Right click install.cmd and select &#8220;Run as Administrator&#8221; from the extracted folder.</li>
<li>Boom.. login to your computer locally using one user and remote desktop to same computer using another user.</li>
</ol>
<p> </p>
<p>Acknowledgement:<br />
<a href="http://www.missingremote.com/index.php?option=com_content&amp;task=view&amp;id=3692&amp;Itemid=232">http://www.missingremote.com/index.php?option=com_content&amp;task=view&amp;id=3692&amp;Itemid=232</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=54&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2010/07/22/allow-concurrent-remote-users-in-windows-7-professional-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>The J2EE 1.4 Tutorial from Sun</title>
		<link>http://semaj.wordpress.com/2006/10/13/the-j2ee-14-tutorial-from-sun/</link>
		<comments>http://semaj.wordpress.com/2006/10/13/the-j2ee-14-tutorial-from-sun/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 17:51:45 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[J2EE]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/10/13/the-j2ee-14-tutorial-from-sun/</guid>
		<description><![CDATA[Sun has a valuable J2EE 1.4 tutorial. This is really good for newbies who want to study J2EE Architecture. Click here to view the tutorial.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=52&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sun has a valuable J2EE 1.4 tutorial. This is really good for newbies who want to study J2EE Architecture. <a href="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/">Click here</a> to view the tutorial.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=52&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/10/13/the-j2ee-14-tutorial-from-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Enterprise JavaBeans</title>
		<link>http://semaj.wordpress.com/2006/10/08/enterprise-javabeans/</link>
		<comments>http://semaj.wordpress.com/2006/10/08/enterprise-javabeans/#comments</comments>
		<pubDate>Sat, 07 Oct 2006 07:18:05 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[J2EE]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/10/08/enterprise-javabeans/</guid>
		<description><![CDATA[Difference between JavaBeans and Enterprise JavaBeans * JavaBeans are components built in Java that can be used on any tier in an application. They often thought of in relationship to servlets, and as GUI components. * Enterprise JavaBeans are specials, server-side components used for building the business logic and data access functionality of an application. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=51&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><u>Difference between JavaBeans and Enterprise JavaBeans<br />
</u>* JavaBeans are components built in Java that can be used on any tier in an application. They often thought of in relationship to servlets, and as GUI components.<br />
* Enterprise JavaBeans are specials, server-side components used for building the business logic and data access functionality of an application.</p>
<p><u>Why use EJBs</u>?<br />
Even though EJBs are difficult to understand for novice, it is a powerful technology. It is scalable and flexible. The EJBs share the following tasks:<br />
* Client Communication<br />
* Session State Management<br />
* Transaction Management<br />
* Database Connection Management<br />
* User Authentication and Role-based Authorization<br />
* Asynchronous Messaging<br />
* Application Server Administration</p>
<p><u>Types of EJBs</u><br />
1. Session Bean (Stateless and Stateful)<br />
2. Entity Bean<br />
3. Message-Driven Bean</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/51/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/51/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=51&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/10/08/enterprise-javabeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Native JDBC Java Programming Steps</title>
		<link>http://semaj.wordpress.com/2006/10/08/native-jdbc-java-programming-steps/</link>
		<comments>http://semaj.wordpress.com/2006/10/08/native-jdbc-java-programming-steps/#comments</comments>
		<pubDate>Sat, 07 Oct 2006 07:08:38 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/10/08/native-jdbc-java-programming-steps/</guid>
		<description><![CDATA[Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;); Connection con = DriverManager.getConnection( &#8220;jdbc:mysql://localhost/nepatalk&#8221;, &#8220;root&#8221;, &#8220;password&#8221;); Statement st = con.createStatement(); ResultSet rs = st.executeQuery(&#8220;SELECT &#8230;sql query&#8221;); if (rs.next()) System.out.println(&#8220;ok&#8221;); st.close(); con.close();<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=50&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>Class.forName(&#8220;com.mysql.jdbc.Driver&#8221;);</li>
<li>Connection con = DriverManager.getConnection( &#8220;jdbc:mysql://localhost/nepatalk&#8221;, &#8220;root&#8221;,  &#8220;password&#8221;);</li>
<li>Statement st = con.createStatement();</li>
<li>ResultSet rs =  st.executeQuery(&#8220;SELECT &#8230;sql query&#8221;);<br />
if (rs.next())<br />
System.out.println(&#8220;ok&#8221;);</li>
<li>st.close();<br />
con.close();</li>
</ol>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=50&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/10/08/native-jdbc-java-programming-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Singleton in Java</title>
		<link>http://semaj.wordpress.com/2006/10/08/singleton-in-java/</link>
		<comments>http://semaj.wordpress.com/2006/10/08/singleton-in-java/#comments</comments>
		<pubDate>Sat, 07 Oct 2006 05:43:40 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/10/08/singleton-in-java/</guid>
		<description><![CDATA[A singleton is a class that can be instantiated once and only once. But, why do you need them? If you are creating a class for a set up configuration and use the old fashioned class constrution, you may end up creating numerous configuration objects while you need only one copy. This singleton design pattern [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=49&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A singleton is a class that can be instantiated once and only once. But, why do you need them? If you are creating a class for a set up configuration and use the old fashioned class constrution, you may end up creating numerous configuration objects while you need only one copy. This singleton design pattern comes handy in this situation. You should also use Singleton when creating RMI lookup and creating JDBC connection.</p>
<p><u>How to create Singleton object</u>?<br />
1. Block off accessing to all constructors by making access modifier of default construtor as private.<br />
2. Provide static method for getting an instance of the singleton.<br />
3. Prevent cloning (usually developers forget to do; as every object inherits clone() method)</p>
<p><u>Implementation</u>:<br />
public class SingletonObject {</p>
<p>&nbsp;&nbsp;private static SingletonObject ref;</p>
<p>&nbsp;&nbsp;private SingletonObject() {<br />
&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;public static SingletonObject getSingletonObject() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (ref == null)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ref = new SingletonObject();<br />
&nbsp;&nbsp;&nbsp;&nbsp;return ref;<br />
&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;public Object clone() throws CloneNotSupportedException {<br />
&nbsp;&nbsp;&nbsp;&nbsp;throw new CloneNotSupportedException();<br />
&nbsp;&nbsp;}</p>
<p>}</p>
<p><u>Reference</u>: http://www.javacoffeebreak.com/articles/designpatterns/index.html</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=49&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/10/08/singleton-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Practices for Developing and Deploying Web Parts for SharePoint Sites</title>
		<link>http://semaj.wordpress.com/2006/09/27/best-practices-for-developing-and-deploying-web-parts-for-sharepoint-sites/</link>
		<comments>http://semaj.wordpress.com/2006/09/27/best-practices-for-developing-and-deploying-web-parts-for-sharepoint-sites/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 21:32:15 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/09/27/best-practices-for-developing-and-deploying-web-parts-for-sharepoint-sites/</guid>
		<description><![CDATA[Link for webcast<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=48&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032269616&amp;EventCategory=5&amp;culture=en-US&amp;CountryCode=US">Link for webcast</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=48&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/09/27/best-practices-for-developing-and-deploying-web-parts-for-sharepoint-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Study Guide for SCJP 5.0 (Tiger) Certification</title>
		<link>http://semaj.wordpress.com/2006/09/15/study-guide-for-scjp-50-tiger/</link>
		<comments>http://semaj.wordpress.com/2006/09/15/study-guide-for-scjp-50-tiger/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 06:44:52 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://semaj.wordpress.com/2006/09/15/study-guide-for-scjp-50-tiger/</guid>
		<description><![CDATA[http://java.boot.by/scjp-tiger/index.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=47&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://java.boot.by/scjp-tiger/index.html">http://java.boot.by/scjp-tiger/index.html</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=47&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/09/15/study-guide-for-scjp-50-tiger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding a Custom Application to Microsoft CRM: Duplicate Checking Sample</title>
		<link>http://semaj.wordpress.com/2006/09/01/adding-a-custom-application-to-microsoft-crm-duplicate-checking-sample/</link>
		<comments>http://semaj.wordpress.com/2006/09/01/adding-a-custom-application-to-microsoft-crm-duplicate-checking-sample/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 03:25:05 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Microsoft CRM]]></category>

		<guid isPermaLink="false">https://semaj.wordpress.com/2006/09/01/adding-a-custom-application-to-microsoft-crm-duplicate-checking-sample/</guid>
		<description><![CDATA[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmbscrm/html/mbs_crmappdup.asp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=46&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmbscrm/html/mbs_crmappdup.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmbscrm/html/mbs_crmappdup.asp</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=46&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/09/01/adding-a-custom-application-to-microsoft-crm-duplicate-checking-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX, Jscript and Microsoft CRM</title>
		<link>http://semaj.wordpress.com/2006/09/01/ajax-jscript-and-microsoft-crm/</link>
		<comments>http://semaj.wordpress.com/2006/09/01/ajax-jscript-and-microsoft-crm/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 02:27:37 +0000</pubDate>
		<dc:creator>semaj</dc:creator>
				<category><![CDATA[Microsoft CRM]]></category>

		<guid isPermaLink="false">https://semaj.wordpress.com/2006/09/01/ajax-jscript-and-microsoft-crm/</guid>
		<description><![CDATA[http://blogs.msdn.com/joris_kalz/archive/2006/07/14/666225.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=45&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.msdn.com/joris_kalz/archive/2006/07/14/666225.aspx">http://blogs.msdn.com/joris_kalz/archive/2006/07/14/666225.aspx</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/semaj.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/semaj.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/semaj.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/semaj.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/semaj.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=semaj.wordpress.com&amp;blog=163738&amp;post=45&amp;subd=semaj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://semaj.wordpress.com/2006/09/01/ajax-jscript-and-microsoft-crm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/04953646686759463d6a14685ff8d11d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">semaj</media:title>
		</media:content>
	</item>
	</channel>
</rss>
