<?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 - Hard Core Java: ThreadLocal</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 01:58:39 -0400</pubDate>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[I love discussions that actually come to a tidy conclusion.  All-in-all, good article, though.  It introduced me to some approaches I hadn't considered.]]></description>
        

        <pubDate>Thu, 03 Aug 2006 11:01:50 -0400</pubDate>

        

        <jf:creationDate>Thu, 03 Aug 2006 11:01:50 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 03 Aug 2006 11:01:50 -0400</jf:modificationDate>
        <jf:date>Aug 3, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>I guess the only part of your article that bugged me was, the first sentence "Use a thread local variable (where each thread has a separate value) when you want to carry a value along without explicitly passing it from method to method down...]]></description>
        

        <pubDate>Thu, 03 Aug 2006 00:25:46 -0400</pubDate>

        

        <jf:creationDate>Thu, 03 Aug 2006 00:25:46 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 03 Aug 2006 00:25:46 -0400</jf:modificationDate>
        <jf:date>Aug 3, 2006</jf:date>
        <jf:author>Bob Lee</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>FWIW, I wasn't arguing for ThreadLocals or even addressing when they should be used. I just said, if you're going to use them, here are some patterns for cleaning up after yourself and improving performance.</blockquote>...]]></description>
        

        <pubDate>Tue, 01 Aug 2006 10:00:24 -0400</pubDate>

        

        <jf:creationDate>Tue, 01 Aug 2006 10:00:24 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 01 Aug 2006 10:00:24 -0400</jf:modificationDate>
        <jf:date>Aug 1, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[FWIW, I wasn't arguing for ThreadLocals or even addressing when they should be used. I just said, if you're going to use them, here are some patterns for cleaning up after yourself and improving performance....]]></description>
        

        <pubDate>Sat, 29 Jul 2006 00:40:54 -0400</pubDate>

        

        <jf:creationDate>Sat, 29 Jul 2006 00:40:54 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 29 Jul 2006 00:40:54 -0400</jf:modificationDate>
        <jf:date>Jul 29, 2006</jf:date>
        <jf:author>Bob Lee</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote><blockquote>When I read this from the blog article "Use a thread local variable (where each thread has a separate value) when you want to carry a value along without explicitly passing it from method to method down the call stack" it appears...]]></description>
        

        <pubDate>Fri, 28 Jul 2006 12:27:37 -0400</pubDate>

        

        <jf:creationDate>Fri, 28 Jul 2006 12:27:37 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 28 Jul 2006 12:27:37 -0400</jf:modificationDate>
        <jf:date>Jul 28, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>When I read this from the blog article "Use a thread local variable (where each thread has a separate value) when you want to carry a value along without explicitly passing it from method to method down the call stack" it appears that the...]]></description>
        

        <pubDate>Fri, 28 Jul 2006 12:03:32 -0400</pubDate>

        

        <jf:creationDate>Fri, 28 Jul 2006 12:03:32 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 28 Jul 2006 12:03:32 -0400</jf:modificationDate>
        <jf:date>Jul 28, 2006</jf:date>
        <jf:author>Bob Lee</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote><blockquote>If I can start from sratch with a new Servlet spec, surely.  Define the spec such that you can get the current request at any point just as you can get the current thread at any point.  Can you explain why you think this would not...]]></description>
        

        <pubDate>Fri, 28 Jul 2006 11:04:47 -0400</pubDate>

        

        <jf:creationDate>Fri, 28 Jul 2006 11:04:47 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 28 Jul 2006 11:04:47 -0400</jf:modificationDate>
        <jf:date>Jul 28, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>If I can start from sratch with a new Servlet spec, surely.  Define the spec such that you can get the current request at any point just as you can get the current thread at any point.  Can you explain why you think this would not be...]]></description>
        

        <pubDate>Fri, 28 Jul 2006 03:57:07 -0400</pubDate>

        

        <jf:creationDate>Fri, 28 Jul 2006 03:57:07 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 28 Jul 2006 03:57:07 -0400</jf:modificationDate>
        <jf:date>Jul 28, 2006</jf:date>
        <jf:author>John Brand</jf:author>
        <jf:replyCount>7</jf:replyCount>
    </item>


    <item>

        <title>Re: Are ThreadLocal's just globals by another name?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[I agree completely.  ThreadLocal is generally only appropriate for highly optimized multithreaded applications, such as app servers.  It allows shared data access (within a single-thread of execution) without synchronizion.  The potential performance...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 18:01:04 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 18:01:04 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 18:01:04 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>Keats Kirsch</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote><blockquote>So are you suggesting that this is the only solution to the context propagation problem?  Couldn't foresight have avoided the need to use ThreadLocals?</blockquote><br><br>Can you outline a solution that (a) doesnt require...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 16:07:55 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 16:07:55 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 16:07:55 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>8</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>So are you suggesting that this is the only solution to the context propagation problem?  Couldn't foresight have avoided the need to use ThreadLocals?</blockquote>...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 15:55:09 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 15:55:09 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 15:55:09 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>John Brand</jf:author>
        <jf:replyCount>9</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>... in a recent discussion that I've had about ThreadLocal's someone said that it breaks OOP principles. ... well that's debatable but still so what? OOP does not provide allthe times the most ellegant and efficient solutions. This is one of...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 11:22:43 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 11:22:43 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 11:22:43 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>10</jf:replyCount>
    </item>


    <item>

        <title>Re: ThreadGlobal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote><blockquote>Using ThreadLocal would only make sense if you can't control what threads are being started [...]</blockquote><br><br>Which is the case whenever you code something that runs in an application server.<br><br></blockquote>...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 11:02:08 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 11:02:08 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 11:02:08 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: ThreadGlobal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[<blockquote>Using ThreadLocal would only make sense if you can't control what threads are being started [...]</blockquote>...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 10:01:35 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 10:01:35 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 10:01:35 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>John Brand</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Hard Core Java: ThreadLocal</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=41473</link>

        

        
            <description><![CDATA[... in a recent discussion that I've had about ThreadLocal's someone said that it breaks OOP principles. ... well that's debatable but still so what? OOP does not provide allthe times the most ellegant and efficient solutions. This is one of the reason...]]></description>
        

        <pubDate>Thu, 27 Jul 2006 09:07:39 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Jul 2006 09:07:39 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jul 2006 09:07:39 -0400</jf:modificationDate>
        <jf:date>Jul 27, 2006</jf:date>
        <jf:author>Marius Danciu</jf:author>
        <jf:replyCount>11</jf:replyCount>
    </item>



</channel>
</rss>

