Spring Annotations

Spring’s most common means of configuration has been XML-based. Annotations since Spring 2.5┬áprovide a lot of context in their declaration, leading to shorter and more concise configuration. However, XML excels at wiring up components without touching their source code or recompiling them. Some developers prefer having the wiring close to the source while others argue…