Dependency Injection Example implemented ad-hoc, with Spring, and with Java EE