ok you coldspringers!  Say I'm using ColdSpring and have it all setup and running.  I have the CFC foo.cfc registerd as a bean in teh coldspring.xml file.  Now I create a new CFC called say MyUberCFC.cfc.  Inside this CFC I need to create a instance of foo.cfc.  Is it best practise to use the coldspring factory here?  ie should I use

<cfset myInstance =  application.serviceFactory.getBean('foo') />

or just use

<cfset myInstance = CreateObject('component',' path.to.foo') />

or maybe I should have a application facade CFC in use?

--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

Reply via email to