Jul 21
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.
5-16-2008
4-13-2008
4-13-2008
4-13-2008
4-11-2008