Yeah this is the way I knew to do it as well. I was thinking that it would be neat to have all the object definitions, M2 framework or otherwise, in the CS bean defs instead of in the M2 xml. No biggie tho.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Woodward Sent: Wednesday, July 11, 2007 3:41 PM To: Dallas/Fort Worth ColdFusion User Group Mailing List Subject: Re: [DFW CFUG] Example Mach-II/ColdSpring application You still have to refer to them in your Mach-II xml config file, but if for example your listener has dependencies, and those dependencies have dependencies (etc.), then ColdSpring will handle that for you. What you *don't* have to do is refer to your M2 objects in your CS XML config file. On 7/11/07, Eric Knipp <[EMAIL PROTECTED]> wrote: > Dave, I thought there was a way to get ColdSpring to wire your Mach-II > framework objects for you. Basically so you don't even have to refer to > them in the Mach-II XML in the listeners, filters, plugins areas of your > config file. I never saw this in action but heard it could be done. I > noticed in your example that you are still defining this framework objects > in your config XML. Am I misinformed? > > Eric > > On 7/11/07, Dave Shuck <[EMAIL PROTECTED]> wrote: > > Sorry for the cross-post for those of you on the Mach-II email list, but I > wanted you guys to be aware that I shared an example application today. For > those that came to the meeting last night and entered your info into my > laptop to register a virtual raffle ticket for the December drawing, you saw > the very rough version of the app. It is still no amazing piece of beauty > even after prettying it up a bit after the meeting, but it is an example of > a Mach-II/ColdSpring application that talks to concrete data objects through > a service layer. This topic seems to be coming up a lot on the email lists > lately so I figured I would make this one public as a real-life code > example. > > > > If you are interested, you can download it here: > > > http://daveshuck.instantspot.com/blog/index.cfm/2007/7/11/Example-MachII-15C oldSpring-application > > > > -- > > ~Dave Shuck > > [EMAIL PROTECTED] > > http://daveshuck.instantspot.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.instantspot.com/ > > www.teksystems.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.instantspot.com/ > www.teksystems.com/ > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.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.instantspot.com/ www.teksystems.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.instantspot.com/ www.teksystems.com/
