资 源 简 介
Requirements
Provide deployers of our web apps (war files) with an external config file.
Existing Java code is unaware of configuration issues. Specifically Spring beans are injected with config information in a way that is transparent to them.
Config file location is specified by deployer, ie not hard coded.
Use a rich, extensible format for the Config, but not Spring itself because that would expose too much internal information to the configurer.
Include some smart bean factories for loading XML and XSL files and injecting them.
---
You can use properties files with Spring for smaller projects but properties are not as flexible as this.
See the MaduraSoftware page to see how the Madura products fit together.