nTo use Spring Dependency Injection all you need is…
nPOJO with correct constructor (or setter)
nSpring bean defined in spring-config.xml
nAccess the Bean through the Spring context bean
factory.
nPOJOs
nConstructor
nSetter
nDeclarative Dependency Injection with Spring Beans
nConstructor Injection
nSetter Injection
nLookup Method Injection