<?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: Java Singleton design pattern tutorial.</title> <atom:link href="http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Thu, 09 Feb 2012 07:08:35 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Mahesh Agrwal</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-15748</link> <dc:creator>Mahesh Agrwal</dc:creator> <pubDate>Sun, 21 Aug 2011 19:15:09 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-15748</guid> <description>No it ll not</description> <content:encoded><![CDATA[<p>No it ll not</p> ]]></content:encoded> </item> <item><title>By: Muhammed Nuzli</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-14711</link> <dc:creator>Muhammed Nuzli</dc:creator> <pubDate>Thu, 12 May 2011 04:43:09 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-14711</guid> <description>Hello Perna! do you mean can a singleton class can be inherit or not? yes Perna. you can inherit the singleton class because it is public ok. if it is final you cannot inherit the singleton class ok. Thanking you.</description> <content:encoded><![CDATA[<p>Hello Perna!<br /> do you mean can a singleton class can be inherit or not?<br /> yes Perna. you can inherit the singleton class because it is public ok.<br /> if it is final you cannot inherit the singleton class ok.<br /> Thanking you.</p> ]]></content:encoded> </item> <item><title>By: Muhammed Nuzli</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-14710</link> <dc:creator>Muhammed Nuzli</dc:creator> <pubDate>Thu, 12 May 2011 04:39:27 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-14710</guid> <description>yes Himanshu, you can inherit the singleton class because the class is public. if it is final you cannot inherit any classes ok. Thanking you.</description> <content:encoded><![CDATA[<p>yes Himanshu, you can inherit the singleton class because the class is public. if it is final you cannot inherit any classes ok.<br /> Thanking you.</p> ]]></content:encoded> </item> <item><title>By: Prerna Sancheti</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-14686</link> <dc:creator>Prerna Sancheti</dc:creator> <pubDate>Mon, 09 May 2011 13:48:51 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-14686</guid> <description>can one singleton class inherit other singleton class?</description> <content:encoded><![CDATA[<p>can one singleton class inherit other singleton class?</p> ]]></content:encoded> </item> <item><title>By: Abinash</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-14489</link> <dc:creator>Abinash</dc:creator> <pubDate>Wed, 06 Apr 2011 06:40:16 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-14489</guid> <description>how i write singleton class is run.</description> <content:encoded><![CDATA[<p>how i write singleton class is run.</p> ]]></content:encoded> </item> <item><title>By: abhijit</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-14462</link> <dc:creator>abhijit</dc:creator> <pubDate>Thu, 31 Mar 2011 04:31:20 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-14462</guid> <description>Hi,Small correction needed in the given example. The non-static variable can not be used in the static context.</description> <content:encoded><![CDATA[<p>Hi,</p><p>Small correction needed in the given example. The non-static variable can not be used in the static context.</p> ]]></content:encoded> </item> <item><title>By: dereke</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-5759</link> <dc:creator>dereke</dc:creator> <pubDate>Thu, 30 Apr 2009 21:32:20 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-5759</guid> <description>Hi I am trying to draw a singleton class diagram but do not understand uml too well. The singleton is to serve/ collaborate with a couple of other classes. Do I draw these other two classes next to the singleton class (and point an arrow towards each)?I&#039;m a bit confused.Thanks for your help.</description> <content:encoded><![CDATA[<p>Hi<br /> I am trying to draw a singleton class diagram but do not understand uml too well. The singleton is to serve/ collaborate with a couple of other classes. Do I draw these other two classes next to the singleton class (and point an arrow towards each)?</p><p>I&#8217;m a bit confused.</p><p>Thanks for your help.</p> ]]></content:encoded> </item> <item><title>By: Viral Patel</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-1826</link> <dc:creator>Viral Patel</dc:creator> <pubDate>Wed, 04 Mar 2009 08:04:35 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-1826</guid> <description>Hi Himanshu, I believe singleton design pattern doesn&#039;t disallow inheritance. Singleton guarantees single instance of a type and since derived class *is* its base type then inheritance is allowed as long as there is only one instance of the base (singleton) type. In other words only one instance of the singleton class or any of its derived classes can exist.</description> <content:encoded><![CDATA[<p>Hi Himanshu,<br /> I believe singleton design pattern doesn&#8217;t disallow inheritance. Singleton guarantees single instance of a type and since derived class *is* its base type then inheritance is allowed as long as there is only one instance of the base (singleton) type. In other words only<br /> one instance of the singleton class or any of its derived classes can exist.</p> ]]></content:encoded> </item> <item><title>By: Himanshu</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-1824</link> <dc:creator>Himanshu</dc:creator> <pubDate>Wed, 04 Mar 2009 06:59:00 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-1824</guid> <description>is it advisable to inherit a SingleTon Class..?</description> <content:encoded><![CDATA[<p>is it advisable to inherit a SingleTon Class..?</p> ]]></content:encoded> </item> <item><title>By: Java Singleton - Design Pattern -- rtauchnitz.de</title><link>http://viralpatel.net/blogs/2009/01/java-singleton-design-pattern-tutorial-example-singleton-j2ee-design-pattern.html/comment-page-1#comment-388</link> <dc:creator>Java Singleton - Design Pattern -- rtauchnitz.de</dc:creator> <pubDate>Thu, 15 Jan 2009 20:40:10 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=632#comment-388</guid> <description>[...] sollte. Wer doch nochmal eine kleine Einführung samt Codebeispiele braucht, der wird in diesem Beitrag fündig. Interessant auch der Abschnitt mit dem Problemen, die auftreten können.     &#171; Wenn [...]</description> <content:encoded><![CDATA[<p>[...] sollte. Wer doch nochmal eine kleine Einführung samt Codebeispiele braucht, der wird in diesem Beitrag fündig. Interessant auch der Abschnitt mit dem Problemen, die auftreten können.     &laquo; Wenn [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 14:24:37 -->
