The container takes care of the majority of threading issues for you;
only when multiple requests access the same data (i.e. session or
application scope) does threading matter to the application developer.
 If you have request-level data, concurrency isn't be a concern unless
you're explicitly multithreading your request.

Note that instance variables of shared-scope CFC's count as
cross-request data, but local variables inside CFC methods (including
arguments) do not.

cheers,
barneyb

On 10/1/06, Mark Mandel <[EMAIL PROTECTED]> wrote:
> Your probably better off with a java.util.Hashtable, as it is already
> syncronised (thread safe), and more often than not, where are using
> Hashtables in a web environment, they need to be thread safe.
>
> That being said, java.util.Collections gives you some easy to use
> utilities to create synchronised Maps very easily.
>
> HTH
>
> Mark

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255015
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to