Chapter 2
- Depenency Injection (DI) is software development technology that helps the interaction between the classes, but at the same time keeps the classes independent.
- The easiest way to utilize DI in Spring Boot is to use
@Autowired
annotation.
@Autowired
annotation.