I'm creating several different kinds of proxies via CFCDynamicProxy:
CFCDynamicProxy =
application.javaloader.create("com.compoundtheory.coldfusion.cfc.CFCDynamicProxy");
And then using CFCDynamicProxy.createInstance(...);
My question is: is there any reason why I *wouldn't* want to create
that as an app-scoped object, and use that singleton instance to
create all my proxy objects?
Or is it intended to have a 1:1 between the CFCDP object and the
proxied objects being created?
Thanks.
Marc
My question is: is there any reason why I *wouldn't* want to create
that as an app-scoped object, and use that singleton instance to
create all my proxy objects?
Yeah, it's used when we need a context and we're not on a ColdFusion request - so err just use the one from when the proxy was generated.
Mark
Sent from my mobile doohickey.