spring configuration - technoangel/java GitHub Wiki
In Annotations, @Component is exactly the same as XML <bean /> definition.
Using @Configuration, we can use both Annotation and XML configuration.
In Annotations, @Component is exactly the same as XML <bean /> definition.
Using @Configuration, we can use both Annotation and XML configuration.