Skip to content

levrun/spring-di-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency injection in Spring - 0.0-RC1

The example above shows the basic concept of dependency injection, the MessagePrinter is decoupled from the MessageService implementation, with Spring Framework wiring everything together.

This is example from http://projects.spring.io/spring-framework/ and my article in russian https://smartcoderteam.github.io/what-is-spring-framework-and-example-of-di/

How to run

  • Run Application.java from your favorite IDE

Libraries

  • Spring Framework 4.3.3 For DI
  • Maven for build

Design

Just 3 classes

About

example of dependency injection with spring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages