<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - difference between the singleto pattern class and static class</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Thu, 20 Jun 2013 05:33:15 -0400</pubDate>


    <item>

        <title>difference between the singleto pattern class and static class</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25937</link>

        

        
            <description><![CDATA[Hi, <br><br>This is a good example.. but i think something is missing.<br><br>public class Example {<br>&nbsp;&nbsp;&nbsp;&nbsp;private static final Example SINGLETON = new Example();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;public Example getInstance() { return...]]></description>
        

        <pubDate>Mon, 04 Oct 2004 23:31:59 -0400</pubDate>

        

        <jf:creationDate>Mon, 04 Oct 2004 23:31:59 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 04 Oct 2004 23:31:59 -0400</jf:modificationDate>
        <jf:date>Oct 4, 2004</jf:date>
        <jf:author>Babu M.S</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>difference between the singleto pattern class and static class</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25937</link>

        

        
            <description><![CDATA[I believe you mean to compare a class with static methods (A) with a singleton implementation with private constructor (B). <br><br>(1) A cannot be extended whereas B can be extended.<br>(2) A can still have instances (unwanted instances) whereas B...]]></description>
        

        <pubDate>Mon, 17 May 2004 07:00:18 -0400</pubDate>

        

        <jf:creationDate>Mon, 17 May 2004 07:00:18 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 17 May 2004 07:00:18 -0400</jf:modificationDate>
        <jf:date>May 17, 2004</jf:date>
        <jf:author>Sanjaya Ganesh</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>difference between the singleto pattern class and static class</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25937</link>

        

        
            <description><![CDATA[The answer to your question depends on what you mean by &quot;static class&quot;. In the context of Java, I'm assuming you mean a class that has only static members (fields and methods). This differs from the Singleton pattern in that a Singleton class...]]></description>
        

        <pubDate>Sun, 16 May 2004 16:49:30 -0400</pubDate>

        

        <jf:creationDate>Sun, 16 May 2004 16:49:30 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 16 May 2004 16:49:30 -0400</jf:modificationDate>
        <jf:date>May 16, 2004</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>difference between the singleto pattern class and static class</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25937</link>

        

        
            <description><![CDATA[It's the difference between a pattern and how the pattern is implemented.<br><br>The Singleton pattern is not tied specifically to the Java language. There may be different ways of making a class into a singleton, depending on the language you use. Many...]]></description>
        

        <pubDate>Sat, 15 May 2004 10:18:56 -0400</pubDate>

        

        <jf:creationDate>Sat, 15 May 2004 10:18:56 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 15 May 2004 10:18:56 -0400</jf:modificationDate>
        <jf:date>May 15, 2004</jf:date>
        <jf:author>Paul Strack</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>difference between the singleto pattern class and static class</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=25937</link>

        

        
            <description><![CDATA[Hi,<br>&nbsp;&nbsp;What is the difference between the singleton pattern class and static class?<br>singleton allows only one instatnce and the static class also.<br>what is the differnece ?<br><br>Can any one explain me.<br><br>Thanks and regards<br>Anna...]]></description>
        

        <pubDate>Sat, 15 May 2004 07:10:36 -0400</pubDate>

        

        <jf:creationDate>Sat, 15 May 2004 07:10:36 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 15 May 2004 07:10:36 -0400</jf:modificationDate>
        <jf:date>May 15, 2004</jf:date>
        <jf:author>Madhusudhanan Anna Natanagopalan</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>



</channel>
</rss>

