Luis Majano Forums Notification: Post to Session Objects

Title: RE: Session Objects
Thread: Session Objects
Forum: Discussions
Conference: ColdBox
User: lmajano

Like I said,

I like the idea of creating a proxy factory that could generate
the domain objects pre-configured to your needs. This proxy factory then becomes
part of your domain model and it does not rely on coldbox. Coldbox relies on it
to get what it needs and you could still configure it via coldspring. The only
difference is that you let every object be created via a proxy factory. In the
coldspring docs, you will find the proxyfactory bean technique. This way, your
proxy factory is the one producing the objects, but still coldspring is doing
your dependency injections. Your factory should then be smart enough to know
what kind of objects to produce and do extra dependency injections.

Luis

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=BEB27E3C-123F-6116-4285F36CDF3F54A8