<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://java.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>Javalobby - Comments for &quot;Intro to Design Patterns: Prototype Pattern&quot;</title>
 <link>http://java.dzone.com/articles/intro-design-patterns-prototype</link>
 <description>Comments for &quot;Intro to Design Patterns: Prototype Pattern&quot;</description>
 <language>en</language>
<item>
 <title>This is an interesting</title>
 <link>http://java.dzone.com/articles/intro-design-patterns-prototype#comment-3154</link>
 <description>&lt;!--paging_filter--&gt;This is an interesting pattern. I am unsure though in what circumstances this pattern should be applied. Clone is almost always more complicated to implement then a constructor. The only time I&#039;ve even applied this was when a 3rd party object did file I/O in it&#039;s constructor. I had to create a dozens of these objects so I went the cloning route to avoid all the file I/O. Anyone have any other good circumstances for this pattern?</description>
 <pubDate>Fri, 09 May 2008 07:15:00 -0400</pubDate>
 <dc:creator>cfagan</dc:creator>
 <guid isPermaLink="false">comment 3154 at http://java.dzone.com</guid>
</item>
<item>
 <title>Good article. It could be</title>
 <link>http://java.dzone.com/articles/intro-design-patterns-prototype#comment-3125</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Good article.&lt;/p&gt;&lt;p&gt; It could be more helpful if it can address waht is the limitation of this pattern. Say for an example, can we use the prototype pattern all the times for creating objects instead of using the new constructor().&lt;/p&gt;&lt;p&gt;Eagerly looking for reply exclusively for this.  &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 00:33:40 -0400</pubDate>
 <dc:creator>ns115156</dc:creator>
 <guid isPermaLink="false">comment 3125 at http://java.dzone.com</guid>
</item>
<item>
 <title>Very good explanation. The</title>
 <link>http://java.dzone.com/articles/intro-design-patterns-prototype#comment-3124</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Very good explanation. The key point is this:&lt;/p&gt;&lt;pre class=&quot;java&quot;&gt;clonedAnimal = (Animal) super.clone(); &lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;which can be mimic using constructor-like objects creation like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class=&quot;java&quot;&gt;Object objA = new Object(&amp;quot;chicken&amp;quot;);&lt;br /&gt;&lt;br /&gt;Object objB = new Object(&amp;quot;sheep&amp;quot;);&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;but of course it serve a different purpose though. Nice one! &lt;/p&gt;</description>
 <pubDate>Wed, 07 May 2008 22:26:16 -0400</pubDate>
 <dc:creator>davidv00</dc:creator>
 <guid isPermaLink="false">comment 3124 at http://java.dzone.com</guid>
</item>
<item>
 <title>Nice read thanks. I really</title>
 <link>http://java.dzone.com/articles/intro-design-patterns-prototype#comment-3119</link>
 <description>&lt;!--paging_filter--&gt;Nice read thanks. I really like and appreciate these kinds of articles. Perfect for reading and browsing and refreshing one&#039;s memory when in a incredibly boring demo meeting. :)</description>
 <pubDate>Wed, 07 May 2008 15:38:59 -0400</pubDate>
 <dc:creator>suryad</dc:creator>
 <guid isPermaLink="false">comment 3119 at http://java.dzone.com</guid>
</item>
</channel>
</rss>
