Skip to content

spring configuration

Eric F. Alsheimer edited this page Jan 12, 2018 · 4 revisions

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.

Clone this wiki locally