<?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: Prototype Design Pattern</title>
	<atom:link href="http://javapapers.com/design-patterns/prototype-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/design-patterns/prototype-pattern/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 04 Jun 2012 02:04:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: fahim javed</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-11589</link>
		<dc:creator>fahim javed</dc:creator>
		<pubDate>Sat, 28 Apr 2012 07:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-11589</guid>
		<description>thank u !!
i learned alot from this 
good work</description>
		<content:encoded><![CDATA[<p>thank u !!<br />
i learned alot from this<br />
good work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chetan</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-10987</link>
		<dc:creator>Chetan</dc:creator>
		<pubDate>Fri, 30 Mar 2012 06:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-10987</guid>
		<description>I didn&#039;t get this idea..So if you don&#039;t have much time to create new object then how you will manage time by writing workshop class? and also you are just changing the value of the properties and not the actual object? Also you have a authority to modify already written class(for making object). Because in some big org you cant not just modify code of your super classes of framework.?</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t get this idea..So if you don&#8217;t have much time to create new object then how you will manage time by writing workshop class? and also you are just changing the value of the properties and not the actual object? Also you have a authority to modify already written class(for making object). Because in some big org you cant not just modify code of your super classes of framework.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Shrivastava</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-10935</link>
		<dc:creator>Amit Shrivastava</dc:creator>
		<pubDate>Wed, 28 Mar 2012 05:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-10935</guid>
		<description>Hey Joe, I guess all the above discussion over  using new operator to clone is because people not understanding that you tried using deep cloning. If I understand correctly when you did 
public Bike clone() {
/* This is deep clone of Bike Object*/
return new Bike();
}

but if you call super.clone then only shallow cloning takes place.

Its purely a design choice..I doubt anything wrong here

Amit</description>
		<content:encoded><![CDATA[<p>Hey Joe, I guess all the above discussion over  using new operator to clone is because people not understanding that you tried using deep cloning. If I understand correctly when you did<br />
public Bike clone() {<br />
/* This is deep clone of Bike Object*/<br />
return new Bike();<br />
}</p>
<p>but if you call super.clone then only shallow cloning takes place.</p>
<p>Its purely a design choice..I doubt anything wrong here</p>
<p>Amit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pavan k</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-10834</link>
		<dc:creator>pavan k</dc:creator>
		<pubDate>Mon, 26 Mar 2012 06:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-10834</guid>
		<description>yes you have to use shallow copy or deep copy for cloning</description>
		<content:encoded><![CDATA[<p>yes you have to use shallow copy or deep copy for cloning</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daedlus</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-10724</link>
		<dc:creator>daedlus</dc:creator>
		<pubDate>Tue, 20 Mar 2012 17:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-10724</guid>
		<description>Where is this used ? any example scenarios or incase used in java api?

Thanks!</description>
		<content:encoded><![CDATA[<p>Where is this used ? any example scenarios or incase used in java api?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PL</title>
		<link>http://javapapers.com/design-patterns/prototype-pattern/#comment-10551</link>
		<dc:creator>PL</dc:creator>
		<pubDate>Tue, 13 Mar 2012 06:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=371#comment-10551</guid>
		<description>I like your explanation,Thanks for your effort.</description>
		<content:encoded><![CDATA[<p>I like your explanation,Thanks for your effort.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

