Spring Tips

Dependency Injection

Also known as autowiring, the recommended way to do this is with constructor injection and not field injection, see Spring Constructor Injection: Why is it the recommended approach to Dependency Injection? - YouTube for an explanation.

Paths

Ant Matchers are the old way and should not be used.