On Sun, 31 Oct 2004 17:44:33 -0500, Barry L Beattie <[EMAIL PROTECTED]> wrote: > the controller/presenter is a singleton that is decorated by all the services it > needs (and the persist decorates its' service). This makes it one big singleton > which is then stored in either Application or Server scope (depending on install).
Then they must be completely stateless (or only store data for caching purposes). The code you showed did not declare variables with 'var' so it isn't thread-safe. If they are services, then you have no choice but to pass in the per-request data on every method call. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Got Gmail? -- I have 1 invite "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' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
