<?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 - Prefer Static methods to Singleton</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>Tue, 21 May 2013 17:56:10 -0400</pubDate>


    <item>

        <title>fix the problem</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29511</link>

        

        
            <description><![CDATA[The problem is not singletons. The problem is you need to define your strategy to release or cleanup resources. If you write a cache thats implementated as a singleton it can grow into a huge memory leak. Or you can choose to evict data from the cache...]]></description>
        

        <pubDate>Fri, 22 Oct 2004 09:06:14 -0400</pubDate>

        

        <jf:creationDate>Fri, 22 Oct 2004 09:06:14 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 22 Oct 2004 09:06:14 -0400</jf:modificationDate>
        <jf:date>Oct 22, 2004</jf:date>
        <jf:author>bruce goldstein</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Prefer Static methods to Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29511</link>

        

        
            <description><![CDATA[<blockquote>As Singletons may have object level variables which may never get cleaned up and may cause memory leaks.Hence, I would suggest having all the methods static in the class.Input would be appreciated.-Jam</blockquote><br>A static has exactly the...]]></description>
        

        <pubDate>Tue, 19 Oct 2004 04:17:30 -0400</pubDate>

        

        <jf:creationDate>Tue, 19 Oct 2004 04:17:30 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 19 Oct 2004 04:17:30 -0400</jf:modificationDate>
        <jf:date>Oct 19, 2004</jf:date>
        <jf:author>Sanjaya Ganesh</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Prefer Static methods to Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29511</link>

        

        
            <description><![CDATA[Static methods can access static fields that could still cause problems.]]></description>
        

        <pubDate>Mon, 18 Oct 2004 15:10:55 -0400</pubDate>

        

        <jf:creationDate>Mon, 18 Oct 2004 15:10:55 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 18 Oct 2004 15:10:55 -0400</jf:modificationDate>
        <jf:date>Oct 18, 2004</jf:date>
        <jf:author>josef betancourt</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Prefer Static methods to Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29511</link>

        

        
            <description><![CDATA[As Singletons may have object level variables which may never get cleaned up and may cause memory leaks.<br>Hence, I would suggest having all the methods static in the class.<br><br>Input would be appreciated.<br><br>-Jam]]></description>
        

        <pubDate>Mon, 18 Oct 2004 12:56:43 -0400</pubDate>

        

        <jf:creationDate>Mon, 18 Oct 2004 12:56:43 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 18 Oct 2004 12:56:43 -0400</jf:modificationDate>
        <jf:date>Oct 18, 2004</jf:date>
        <jf:author>Ram Jam</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>



</channel>
</rss>

