<?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 - Semi-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>Sat, 18 May 2013 18:12:40 -0400</pubDate>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[Thanks for your reply....]]></description>
        

        <pubDate>Mon, 09 Jun 2003 07:23:09 -0400</pubDate>

        

        <jf:creationDate>Mon, 09 Jun 2003 07:23:09 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 09 Jun 2003 07:23:09 -0400</jf:modificationDate>
        <jf:date>Jun 9, 2003</jf:date>
        <jf:author>Wolfgang Grinfeld</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[Hey Wolfgang, I didn't notice you said you tested it and it turned out this fast... I'll try to also run a test of my own and post it here.
<br>
<br>Thanks for the info.
<br>Gal]]></description>
        

        <pubDate>Fri, 06 Jun 2003 23:15:26 -0400</pubDate>

        

        <jf:creationDate>Fri, 06 Jun 2003 23:15:26 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 06 Jun 2003 23:15:26 -0400</jf:modificationDate>
        <jf:date>Jun 6, 2003</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[Yes, this strategy is described in William Pugh's page. However last time I checked (on HotSpot 1.3 I think) it didn't improve performance because of ThreadLocal's not-so-efficient implementation. Has anyone checked this on 1.4? They were supposed to...]]></description>
        

        <pubDate>Fri, 06 Jun 2003 20:11:20 -0400</pubDate>

        

        <jf:creationDate>Fri, 06 Jun 2003 20:11:20 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 06 Jun 2003 20:11:20 -0400</jf:modificationDate>
        <jf:date>Jun 6, 2003</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[Indeed, the ThreadLocal class can definitely help, but storage need to be accessed through its get and set methods, as opposed to inheritance of the class. ...]]></description>
        

        <pubDate>Fri, 06 Jun 2003 18:31:31 -0400</pubDate>

        

        <jf:creationDate>Fri, 06 Jun 2003 18:31:31 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 06 Jun 2003 18:31:31 -0400</jf:modificationDate>
        <jf:date>Jun 6, 2003</jf:date>
        <jf:author>Wolfgang Grinfeld</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[How about this solution:...]]></description>
        

        <pubDate>Thu, 05 Jun 2003 10:48:44 -0400</pubDate>

        

        <jf:creationDate>Thu, 05 Jun 2003 10:48:44 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 05 Jun 2003 10:48:44 -0400</jf:modificationDate>
        <jf:date>Jun 5, 2003</jf:date>
        <jf:author>Wolfgang Grinfeld</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Semi Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[PErsonally I use a plain...]]></description>
        

        <pubDate>Fri, 07 Mar 2003 22:54:44 -0500</pubDate>

        

        <jf:creationDate>Fri, 07 Mar 2003 22:54:44 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 07 Mar 2003 22:54:44 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2003</jf:date>
        <jf:author>SAPFAQ1_748</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[Generally these problems are hard to detect, which is why they are elusive enogth to sneak into a lot of code and many popular books....]]></description>
        

        <pubDate>Mon, 11 Nov 2002 09:59:58 -0500</pubDate>

        

        <jf:creationDate>Mon, 11 Nov 2002 09:59:58 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 11 Nov 2002 09:59:58 -0500</jf:modificationDate>
        <jf:date>Nov 11, 2002</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[OK, Can any one point me to code that *tests* the various approaches mentioned ?..So as to illustrate that the pattern actually fails under the right mix of conditions.
<br>Raja]]></description>
        

        <pubDate>Mon, 11 Nov 2002 05:15:08 -0500</pubDate>

        

        <jf:creationDate>Mon, 11 Nov 2002 05:15:08 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 11 Nov 2002 05:15:08 -0500</jf:modificationDate>
        <jf:date>Nov 11, 2002</jf:date>
        <jf:author>Raja Raman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[No, this is not thread safe....]]></description>
        

        <pubDate>Wed, 02 Oct 2002 17:44:16 -0400</pubDate>

        

        <jf:creationDate>Wed, 02 Oct 2002 17:44:16 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 02 Oct 2002 17:44:16 -0400</jf:modificationDate>
        <jf:date>Oct 2, 2002</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>7</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[How about this one:...]]></description>
        

        <pubDate>Wed, 02 Oct 2002 16:25:44 -0400</pubDate>

        

        <jf:creationDate>Wed, 02 Oct 2002 16:25:44 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 02 Oct 2002 16:25:44 -0400</jf:modificationDate>
        <jf:date>Oct 2, 2002</jf:date>
        <jf:author>Satty Singh</jf:author>
        <jf:replyCount>8</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[I guess I forgot to put my question at the end!  Duh!  Does this follow the J2EE spec?  Is the spec ambiguous enough so as to allow such a variance in functionality?]]></description>
        

        <pubDate>Wed, 02 Oct 2002 15:18:24 -0400</pubDate>

        

        <jf:creationDate>Wed, 02 Oct 2002 15:18:24 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 02 Oct 2002 15:18:24 -0400</jf:modificationDate>
        <jf:date>Oct 2, 2002</jf:date>
        <jf:author>James Carman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[This seems like a good place for this question!  :-)  It has to do with the Service Locator pattern.  My implementation closely resembles the implementation prescribed by Sun's J2EE Pattern Catalog.  However, this statically cached naming context causes...]]></description>
        

        <pubDate>Wed, 02 Oct 2002 14:55:49 -0400</pubDate>

        

        <jf:creationDate>Wed, 02 Oct 2002 14:55:49 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 02 Oct 2002 14:55:49 -0400</jf:modificationDate>
        <jf:date>Oct 2, 2002</jf:date>
        <jf:author>James Carman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[The problem occurs in multiple-thread situations. There is a relatively large amount of independency between the order of &quot;logical&quot; operations performed by a thread (which is allways as you described) and the order in which these operation are...]]></description>
        

        <pubDate>Tue, 20 Aug 2002 09:30:19 -0400</pubDate>

        

        <jf:creationDate>Tue, 20 Aug 2002 09:30:19 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 20 Aug 2002 09:30:19 -0400</jf:modificationDate>
        <jf:date>Aug 20, 2002</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[One thing I am not sure or: the argumentation against this pattern is about how allocation is done; it claims that it in:...]]></description>
        

        <pubDate>Sun, 18 Aug 2002 22:38:27 -0400</pubDate>

        

        <jf:creationDate>Sun, 18 Aug 2002 22:38:27 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 18 Aug 2002 22:38:27 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2002</jf:date>
        <jf:author>loic loic</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Semi-Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=13933</link>

        

        
            <description><![CDATA[I am not sure if it is legal to create an InitialContext from outside the context of an EJB method or callback (and expect the EJB environment to be loaded, anyway)....]]></description>
        

        <pubDate>Wed, 31 Jul 2002 19:31:35 -0400</pubDate>

        

        <jf:creationDate>Wed, 31 Jul 2002 19:31:35 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 31 Jul 2002 19:31:35 -0400</jf:modificationDate>
        <jf:date>Jul 31, 2002</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

