jabalsad
jabalsad

Reputation: 2421

Alternative to XML-style objects in Spring configurations?

Spring's IoC framework is pretty nifty. Writing configuration objects in XML is not.

Are there any alternatives to loading complex objects and injecting them into your beans in Spring? Property files are too simple (they contain only key-value pairs). I'm interested in building lists, maps, etc. I was thinking something along the lines of a JSON object.

Upvotes: 5

Views: 1893

Answers (1)

Related Questions