Chapter 2 : Dependency resolution sample