Skip to content

Demo that provides a full example of Inversion Of Control + Dependency Injection and support to the article 'The Importance of Inversion of Control and the way to Achieve it using Dependency Injection'

Notifications You must be signed in to change notification settings

arielkohan/inversion-of-control-demo

Repository files navigation

Inversion of Control + Dependency Injection Demo

This demo was created to provide a real world example to the article: The Importance of Inversion of Control and the way to Achieve it using Dependency Injection .

Requirements

  • Java 11

Execution

In the root of the project:

./mvnw clean package
java -jar application/target/*.jar

## Project Stages

The article tries to exemplify the evolution of a project from the worst case to a flexible, mainteinable and testeable architecture based on Dependency Injection and Inversion of Control.

  • Worst Case: first version with awful design choices.
  • Improvable Case: improved version with some intents to solve the problems but not enough yet.
  • IoC Version: solution based on Inversion of Control that accomplish all the proposed requirements.

For more context about the project and the topic refer to the article.

About

Demo that provides a full example of Inversion Of Control + Dependency Injection and support to the article 'The Importance of Inversion of Control and the way to Achieve it using Dependency Injection'

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages