Spring IOC/Dependency Injection Flashcards

1
Q

What Is Inversion of Control?

A

Inversion of Control is a principle in software engineering which transfers the control of objects or portions of a program to a container or framework.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are four mechanisms for Inversion of Control ?

A
  1. Strategy Design pattern
  2. Service Locator pattern
  3. Factory pattern
  4. Dependency Injection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly