An in-depth piece exploring building a modular event-driven microservices architecture, using Spring and Orkes Conductor for orchestration:
Spring Dependency Injection
Last updated: February 22, 2024
Dependency Injection is a fundamental aspect of the Spring framework, through which the Spring container “injects” objects into other objects or “dependencies”.
Simply put, this allows for loose coupling of components and moves the responsibility of managing components onto the container.
Let’s explore DI with Spring further here.
DI Basics
- Intro to Inversion of Control and Dependency Injection with Spring
- Constructor Dependency Injection in Spring
- Guide to Spring @Autowired (popular)
- Wiring in Spring: @Autowired, @Resource and @Inject
- Spring @Primary Annotation
- @Order in Spring
- XML-Based Injection in Spring
- Quick Guide to Spring Bean Scopes
- Spring @Component Annotation
- Spring Component Scanning
- @Component vs @Repository and @Service in Spring