Dependency injection and Spring -


http://projects.spring.io/spring-framework/

at end of example have line , quote

the example above shows basic concept of dependency injection, messageprinter decoupled messageservice implementation, spring framework wiring together.

the article makes inference @ end messageprinter decoupled messageservice.

i not understand how come using annotations messageprinter has been decoupled messageservice. please care explain?


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

html - Not able to access next element of an array javascript -