<?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 - J2EE 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>Fri, 24 May 2013 15:18:26 -0400</pubDate>


    <item>

        <title>Rod Johnson's J2EE book</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[<blockquote>Rod Johnson discusses Singletons and J2EE in his book &quot;J2EE Design <br>and Development&quot;.<br>It is definitely worth reading.</blockquote>It&#x2019;s indeed worth reading, but you rather get 101 reason to do not use singleton in J2EE...]]></description>
        

        <pubDate>Mon, 19 Dec 2005 18:33:22 -0500</pubDate>

        

        <jf:creationDate>Mon, 19 Dec 2005 18:33:22 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 19 Dec 2005 18:33:22 -0500</jf:modificationDate>
        <jf:date>Dec 19, 2005</jf:date>
        <jf:author>Sergey Pomytkin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

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

        

        
            <description><![CDATA[We can persist the Singleton Class into the database in bytes and use it as a global]]></description>
        

        <pubDate>Tue, 24 May 2005 05:36:17 -0400</pubDate>

        

        <jf:creationDate>Tue, 24 May 2005 05:36:17 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 24 May 2005 05:36:17 -0400</jf:modificationDate>
        <jf:date>May 24, 2005</jf:date>
        <jf:author>vijay kumar</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>binding handle at server startup</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[The solution which suggested creating a bean at startup and bind it to jndi, works only because the bean is created at startup :(. Unfortunately, this solution would not work if the &quot;luxury&quot; for creating the bean at startup time is not...]]></description>
        

        <pubDate>Wed, 20 Oct 2004 12:51:18 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Oct 2004 12:51:18 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Oct 2004 12:51:18 -0400</jf:modificationDate>
        <jf:date>Oct 20, 2004</jf:date>
        <jf:author>maninder batth</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>MDB usage</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[I am highly skeptical of MDB solution to act as an singleton or maybe i did not understand the solution :-|<br>The mdb solution sounds more like read mostly pattern where create/update/delete operations are propogated to all clusters to keep their copies...]]></description>
        

        <pubDate>Wed, 20 Oct 2004 12:44:15 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Oct 2004 12:44:15 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Oct 2004 12:44:15 -0400</jf:modificationDate>
        <jf:date>Oct 20, 2004</jf:date>
        <jf:author>maninder batth</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>RE: J2EE Singleton and Failover in Bea WLS</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[It looks that the solution Timo described is suitable to our situation as well. Dit it work, finally? Is there any final conclusion to this thread after your implementation, Timo?]]></description>
        

        <pubDate>Thu, 22 Jul 2004 05:12:29 -0400</pubDate>

        

        <jf:creationDate>Thu, 22 Jul 2004 05:12:29 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 22 Jul 2004 05:12:29 -0400</jf:modificationDate>
        <jf:date>Jul 22, 2004</jf:date>
        <jf:author>Gabor Kertes</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Digression: Avoid using singleton for pooling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[I came across a situation once where in I had to design a scheduler (running on a App Server) that should read a bunch of DB tables and invoke an EJB. Leaving the details asidem, the design requirement (limitation??) was to have only one instance of the...]]></description>
        

        <pubDate>Tue, 25 May 2004 08:48:22 -0400</pubDate>

        

        <jf:creationDate>Tue, 25 May 2004 08:48:22 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 25 May 2004 08:48:22 -0400</jf:modificationDate>
        <jf:date>May 25, 2004</jf:date>
        <jf:author>Swami Chandra</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Digression: Avoid using singleton for pooling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[This is no answer if there is a genuine need for a singleton such as the one described above by Timo. But in reply to &quot;what alternatives to singletons are there for sharing resources?&quot;:<br><br>However, if all you want is pooling of some...]]></description>
        

        <pubDate>Wed, 12 May 2004 01:13:04 -0400</pubDate>

        

        <jf:creationDate>Wed, 12 May 2004 01:13:04 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 12 May 2004 01:13:04 -0400</jf:modificationDate>
        <jf:date>May 12, 2004</jf:date>
        <jf:author>nick sheen</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>h</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[h]]></description>
        

        <pubDate>Wed, 21 Jan 2004 22:12:12 -0500</pubDate>

        

        <jf:creationDate>Wed, 21 Jan 2004 22:12:12 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 21 Jan 2004 22:12:12 -0500</jf:modificationDate>
        <jf:date>Jan 21, 2004</jf:date>
        <jf:author>Dosu Mahat</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>JBoss Clustered Singleton</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[JBoss 3.x offers support for a &quot;Clustered Singleton&quot;...]]></description>
        

        <pubDate>Thu, 15 Jan 2004 13:37:45 -0500</pubDate>

        

        <jf:creationDate>Thu, 15 Jan 2004 13:37:45 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 15 Jan 2004 13:37:45 -0500</jf:modificationDate>
        <jf:date>Jan 15, 2004</jf:date>
        <jf:author>Sean Sullivan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>True Singletons</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[We usually use the singletons to hold configuration data. It's pretty easy to gurantee a single instnace in one application, such as when one EAR file is deployed. This is a packaging issue. Different app server will have different class loading...]]></description>
        

        <pubDate>Tue, 13 Jan 2004 15:14:23 -0500</pubDate>

        

        <jf:creationDate>Tue, 13 Jan 2004 15:14:23 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 13 Jan 2004 15:14:23 -0500</jf:modificationDate>
        <jf:date>Jan 13, 2004</jf:date>
        <jf:author>TOny Xue</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Agreed!</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[Singletons inherently don't support scaling an clustering. So if you need to develop a clustered solution, don't use singletons as they are violating the very rule of a reliable/clusterable/failover architecture!]]></description>
        

        <pubDate>Fri, 12 Dec 2003 10:55:45 -0500</pubDate>

        

        <jf:creationDate>Fri, 12 Dec 2003 10:55:45 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 12 Dec 2003 10:55:45 -0500</jf:modificationDate>
        <jf:date>Dec 12, 2003</jf:date>
        <jf:author>Janek Claus</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>J2EE Singleton and Failover in Bea WLS</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[<div class="jive-quote">Hi Timo Weber,</div>...]]></description>
        

        <pubDate>Fri, 24 Oct 2003 15:11:30 -0400</pubDate>

        

        <jf:creationDate>Fri, 24 Oct 2003 15:11:30 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 24 Oct 2003 15:11:30 -0400</jf:modificationDate>
        <jf:date>Oct 24, 2003</jf:date>
        <jf:author>Mikhail Shnayderman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>J2EE Singleton and Failover in Bea WLS</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[Hi Timo Weber,...]]></description>
        

        <pubDate>Tue, 21 Oct 2003 04:41:47 -0400</pubDate>

        

        <jf:creationDate>Tue, 21 Oct 2003 04:41:47 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 21 Oct 2003 04:41:47 -0400</jf:modificationDate>
        <jf:date>Oct 21, 2003</jf:date>
        <jf:author>Ajay Amrite</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Do you really need it?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[<div class="jive-quote">and stateless session beans for shared resources like socket connection.</div>
<br>It's impossible in clustered environment.
]]></description>
        

        <pubDate>Fri, 19 Sep 2003 10:36:11 -0400</pubDate>

        

        <jf:creationDate>Fri, 19 Sep 2003 10:36:11 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 19 Sep 2003 10:36:11 -0400</jf:modificationDate>
        <jf:date>Sep 19, 2003</jf:date>
        <jf:author>Vadim Gurov</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Do you really need it?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=20819</link>

        

        
            <description><![CDATA[Hello,
<br>&gt;In most cases you can and should use Entity beans for 'singleton data' 
<br>How did you do this?
<br>Br
<br>VR]]></description>
        

        <pubDate>Tue, 16 Sep 2003 15:03:48 -0400</pubDate>

        

        <jf:creationDate>Tue, 16 Sep 2003 15:03:48 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 16 Sep 2003 15:03:48 -0400</jf:modificationDate>
        <jf:date>Sep 16, 2003</jf:date>
        <jf:author>maria veera</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

