Auto component scan in Spring using @ComponentScan annotation
In the previous post, I showed you how to auto component scan using the configuration in the XML file. In this tutorial, I show you how to do this with Java code using the @ComponentScan annotation. First, I will create a new Maven project as… Read More