Spry & multiple nested data sets - Mach-II / ColdSpring

Frameworks , Coldfusion , Spry Add comments

A little while back I created a small app that shows how you can use Spry Datasets with Mach-II. Since then I have made a few modifications to help show ways you can use other frameworks within the app (ColdSpring is used within this example). I strongly suggest reviewing  Chris Scott's example on AOP in ColdSpring if you need to know more about that subject.

I've updated my original example to use/do the following:

  • ColdSpring to hold the gateway/DAO/Factory being used now.
  • ColdSpring AOP is enabled to show simple logging capabilities
  • An optional ColdSpring service injector using its built in createBeanDefinition method:
    • found within lib.com.machii.listeners.BaseListener
    • can be turned on from within the MessageListener (lib.com.machii.MessageListener) Line# 38
      NOTE: Turning this on will keep AOP functionality from working as my current code does not support working with AOP dynamically when working with createBeanDefinition

NOTES:
- I've included the Mach-II framework I am using as well as the Cold Spring framework in case you may need them.
- I have AOP tracing out to my cold fusion console. I recommend running cf in console mode to see the output otherwise change the code to work to log against a file or something else along those lines.

 You can find the newest example here.

0 responses to “Spry & multiple nested data sets - Mach-II / ColdSpring”

Leave a Reply





Powered by Mango Blog. Design and Icons by N.Design Studio