Link Details

Link 92268 thumbnail
User 225256 avatar

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.
  • 13
  • 3
  • 1651
  • 298

Comments

Add your comment
User 307836 avatar

weissed replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.