I'm currently in the process of doing a Proof of Technology using Spring, Ibatis and JAX-WS.
I really like springs features, and have started to get familiar with the various other features, including aop intercepts, and more.
Right now I'm trying to figure out what the best practice is for the placement of my struts-context.xml files. My setup is very similar to the one found here: http://www.springframework.org/docs/...ryLocator.html
I have a DAO.jar which has some DI for Ibatis (or another framework).
I have a BusinessUnit.jar which does some business logic, and has some DI for the DAO.
And finally I have a Service.war file which depends on the BusinessUnit.jar.
I've already managed to make everything work using one single applicationContext.xml file.
However, I was wondering what the best practice was. Should I be putting a spring-context in each JAR specifying it's dependencies, and use beanRefFactory.xml? I've tried this approach but for some reason my aop:config section seems to be ignored.
Thanks for the help!


Reply With Quote