By mswatcher
via developer.com
Published: Jul 03 2008 / 14:22
The Spring framework is a popular choice for Java developers due to its combination of power and simplicity. Spring is many things, but at its core, Spring is an IOC (Inversion of Control) container. It lets developers build applications that express object dependencies through configuration files. This enables you to, for example, switch implementations of a Java interface without modifying code. To achieve this, Spring developers configure dependencies in an 'applicationContext.xml' file.
Comments
weissed replied ago:
didn't know that you can autowire just some beans, and I think it's good to know.
once you are aware of the problems with autowiring, you can use this tip wisely.
I think the dao-manager example is just perfect for this kind of auto-wiring use.
Voters For This Link (13)
Voters Against This Link (3)