spring configuration - technoangel/java GitHub Wiki

Spring Configuration

XML vs. Annotation

In Annotations, @Component is exactly the same as XML <bean /> definition.

Using @Configuration, we can use both Annotation and XML configuration.

⚠️ **GitHub.com Fallback** ⚠️