bookmark

Action executed in 0.000
●●●●●○○○

Inversion of Control Containers and the Dependency Injection pattern

Figure 3 service locator, assembler

In the Java community there's been a rush of lightweight containers that help to assemble components from different projects into a cohesive application. Underlying these containers is a common pattern to how they perform the wiring, a concept they refer under the very generic name of "Inversion of Control". In this article I dig into how this pattern works, under the more specific name of "Dependency Injection", and contrast it with the Service Locator alternative.

url: https://martinfowler.com/articles/injection.html

type: none, format: none

Comments

none yet

Post a Comment

* indicates a required field
anonymous (If you want to identify yourself, please sign in first.)
required This field is required.

Max size is 2 MB, aspect ratio 3:4 width:height
required This field is required.
Please include a short description.
required This field is required.

480 characters remaining.
is public

(Use this field if you have to. 3000 characters remaining.)
1 dime, 1 penny + 100

Trackback URL

http://derocher.org/~brian//trackback.php?ParentId=105532

form