Working DependencyExample.java