So as not to continually add the expense of re-instantiating gateway CFCs, is it safe to store an instance of a gateway CFC for each object in the application scope and just call gateway methods like application.UserGateway.listUsers()?.  I was thinking about having an application initialization routine in my Mach-II application that will instantiate each gateway in the application scope onApplicationStart.  Is there a better way of handling this?

Thanks for any input.

--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to