You might find that using a framework like Spring can help with the dependency problems - at my workplace, we've found we can easily add some Spring dependency injection to nasty legacy code, making...