Inversion of Control Containers and the Dependency Injection pattern

Martin Fowler about the Dependency Injection and Service Locator pattern. He gives some examples in this article and writes about when to use which pattern.

(via Instapaper)