context:component- scan
context:component- scan element helps to identify the java classes which can be registered as a spring beans. Let us understand how context:component- scan works ? step 1 All the java classes that need to register as a spring bean must be annotated with at least one of the below annotation a) @Component b) @Controller c) […]