Tuesday, February 16, 2016

Spring context:annotation-config v.s. context:component-scan

<context:annotation-config> : auto-wiring beans
<context:component-scan> : auto-discovering and auto-wiring beans

ref:http://stackoverflow.com/questions/7414794/difference-between-contextannotation-config-vs-contextcomponent-scan

No comments:

Post a Comment