Also, Microsoft recommends against putting objects in ASP's application
scope, since the object is sucking resources the entire time (it's
actually more efficient to instantiate and release multiple times).
However, CF works a bit differently - it typically releases the objects
at the end of each request; I can't see how putting it in the
application scope would make any difference. (I haven't reviewed the
article yet, however)

---
Billy Cravens
 

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 11, 2002 10:52 AM
To: CF-Talk
Subject: RE: CF 5 and CFMX

> Has anyone had a chance to try any of this yet? Do you think 
> this will increase speed on CF 5 also? I'll more than likely 
> try this tonight or tomorrow I was just curious if it was 
> worth the effort for CF 5.

I don't think either will make a positive difference with CF 5. You'll
face
locking issues when putting COM objects in the Application scope in CF
5,
and you don't need to make Java "stubs" with CF 5 since CF 5 doesn't use
Java to call COM objects.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to