DEV Community

Igor Rudel
Igor Rudel

Posted on

Inversão de Controle x Injeção de Dependência

Inversão de Controle (IoC)
Princípio D do SOLID.

Injeção de Dependência (DI)
É a implementação prática do conceito de inversão de controle. O Spring faz de três formas: @Autowired, construtor e método;

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more