<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Different ways of creating object in Java</title>
	<atom:link href="http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html</link>
	<description>Techie blog</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:04:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: vinay</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1089</link>
		<dc:creator>vinay</dc:creator>
		<pubDate>Wed, 27 Jan 2010 10:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1089</guid>
		<description>Adding new way of creating through factories.
Full details in -http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html 

Other uses you may think of is with DocumentBuilderFactory when working with XML in Java. A factory helps to hide implementation details from public interfaces and support polymorphism as you only need to know the kinds of behaviours that the object created by the factory adheres to and not how the factory creates it.</description>
		<content:encoded><![CDATA[<p>Adding new way of creating through factories.<br />
Full details in -http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html </p>
<p>Other uses you may think of is with DocumentBuilderFactory when working with XML in Java. A factory helps to hide implementation details from public interfaces and support polymorphism as you only need to know the kinds of behaviours that the object created by the factory adheres to and not how the factory creates it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java bookmark links, Jan 2010 – Week 3 &#124; Bookmark-link</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1088</link>
		<dc:creator>Java bookmark links, Jan 2010 – Week 3 &#124; Bookmark-link</dc:creator>
		<pubDate>Tue, 19 Jan 2010 02:38:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1088</guid>
		<description>[...] 2) 14 Jan 10 &#8211; Vinay, Different ways of creating object in Java [...]</description>
		<content:encoded><![CDATA[<p>[...] 2) 14 Jan 10 &#8211; Vinay, Different ways of creating object in Java [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derrick</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1086</link>
		<dc:creator>Derrick</dc:creator>
		<pubDate>Mon, 18 Jan 2010 11:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1086</guid>
		<description>Both Class.forName() and getClassLoader().loadClass() take strings as parameters.</description>
		<content:encoded><![CDATA[<p>Both Class.forName() and getClassLoader().loadClass() take strings as parameters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pravin</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1084</link>
		<dc:creator>Pravin</dc:creator>
		<pubDate>Mon, 18 Jan 2010 04:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1084</guid>
		<description>2 and 5 above are same.
this.getClass().getClassLoader().loadClass( com.amar.myobject ).newInstance();
is same as 
Class.forName(com.amar.myobject)

And important point about clone() method is that, it would only work for those classes which implement the Cloneable interface.</description>
		<content:encoded><![CDATA[<p>2 and 5 above are same.<br />
this.getClass().getClassLoader().loadClass( com.amar.myobject ).newInstance();<br />
is same as<br />
Class.forName(com.amar.myobject)</p>
<p>And important point about clone() method is that, it would only work for those classes which implement the Cloneable interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Different ways of creating object in Java &#124; TechArtifact -- Topsy.com</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1083</link>
		<dc:creator>Tweets that mention Different ways of creating object in Java &#124; TechArtifact -- Topsy.com</dc:creator>
		<pubDate>Sun, 17 Jan 2010 20:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1083</guid>
		<description>[...] This post was mentioned on Twitter by Richard Laksana, agawish. agawish said: Different ways of creating object in Java #java - it always good to review this information again and again! http://icio.us/qknaqw [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Richard Laksana, agawish. agawish said: Different ways of creating object in Java #java &#8211; it always good to review this information again and again! <a href="http://icio.us/qknaqw" rel="nofollow">http://icio.us/qknaqw</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artur</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1082</link>
		<dc:creator>Artur</dc:creator>
		<pubDate>Sat, 16 Jan 2010 10:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1082</guid>
		<description>What about using Reflection API ? It is still common approach</description>
		<content:encoded><![CDATA[<p>What about using Reflection API ? It is still common approach</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K Boo</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1081</link>
		<dc:creator>K Boo</dc:creator>
		<pubDate>Fri, 15 Jan 2010 22:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1081</guid>
		<description>Not one of those examples will compile.  Interesting and informative topic, but syntax is important!</description>
		<content:encoded><![CDATA[<p>Not one of those examples will compile.  Interesting and informative topic, but syntax is important!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nix</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1080</link>
		<dc:creator>nix</dc:creator>
		<pubDate>Fri, 15 Jan 2010 21:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1080</guid>
		<description>I think java object it&#039;s very interested for newbe. thanks</description>
		<content:encoded><![CDATA[<p>I think java object it&#8217;s very interested for newbe. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PimpThisBlog.com</title>
		<link>http://www.techartifact.com/blogs/2010/01/different-ways-of-creating-object-in-java.html/comment-page-1#comment-1079</link>
		<dc:creator>PimpThisBlog.com</dc:creator>
		<pubDate>Fri, 15 Jan 2010 06:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.techartifact.com/blogs/?p=909#comment-1079</guid>
		<description>&lt;strong&gt;Different ways of creating object in Java &#124; TechArtifact...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from PimpThisBlog.com...</description>
		<content:encoded><![CDATA[<p><strong>Different ways of creating object in Java | TechArtifact&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from PimpThisBlog.com&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
