A simple Spring Core project demonstrating Dependency Injection (DI) techniques, including:
Field Injection – Inject dependencies directly into fields using @Autowired. Setter Injection – Inject dependencies through setter methods using @Autowired. Constructor Injection – Inject dependencies via constructors using @Autowired.
This project includes example beans like Car and Engine to illustrate how Spring manages object dependencies.
✅ Technologies used: Spring Core, Spring Boot, Lombok
📌 Key features:
--> Automatic bean detection using @Component --> Bean retrieval from the Spring ApplicationContext --> Demonstrates best practices for dependency injection --> Manual and automated value assignment (via setters or properties)