This post originated from an RSS feed registered with Java Buzz
by Peter Karich.
Original Post: Spring DI via Java configuration. No XML!
Feed Title: Java and more ...
Feed URL: https://karussell.wordpress.com/category/java/feed/
Feed Description: Just another weblog. Its about my developer experiences with Java in general. In detail I will blog about NetBeans, Eclipse, Design Patterns, News, Web Frameworks and other tools. My focus will be open source tools, which make the life of a Java developer easier.
In picocontainer you have only one option: configure your beans with pure Java code. Thats what I want. Because it is type safe and all major IDE will easily refactor this code later if necessary.
Then, with nanocontainer, it is even possible to write the configuration code in scripting languages.
In Spring you normally hook up [...]