On 10/25/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> Single instance per DAO, and getMH() returns a _reference_ to that
> per-DAO instance.  So the concurrency issue is there in all it's
> potentially catastrophic glory.

I wasn't entirely sure that was what he really meant but his code confirms it.

Ryan, if your message handler is a service CFC and its methods are
thread-safe, then having a single instance (per DAO) is OK. But it
really depends on what your message handler does. If it stores data in
variables scope it could well be a problem...
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to