Alternative to XML style objects in Spring configurations?

Spring IoC framework is pretty elegant. Writing configuration objects in XML is not.

Are there alternatives to loading complex objects and embedding them in your beans in Spring? Property files are too simple (they contain only key-value pairs). I am interested in creating lists, maps, etc. I thought something like a JSON object.

+5
source share

All Articles