KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm learning Spring 3 and I don't seem to grasp the functionality behind <context:annotation-config> and <context:component-scan> . From what I've read they seem to handle different annotations ( @Required , @Autowired etc vs @Component , @Repository , @Service etc), but also from what I've read, they register the same bean post processor classes. To confuse me even more, there is an annotation-config attribute on <context:component-scan> . Can someone shed some light on these tags? What's similar and what's different, is one superseded by the other, do they complete each other, do I need one of them or both?
Tags (comma-separated)
Save Edits
Cancel