Spring Component Scanning

Tip
The use of <context:component-scan> implicitly enables the functionality of
<context:annotation-config>. There is usually no need to include the
<context:annotation-config> element when using <context:component-scan>.