From 372f54cf989b67a684e316f3d2ff7d2d94428afa Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Tue, 29 Jun 2010 10:22:49 +0000 Subject: [PATCH] fixed typos (SPR-7332) git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3469 50f2f4bb-b051-0410-bef5-90022cba6387 --- spring-framework-reference/src/beans.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index fab3b338f70..9c0c5c43ee3 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -4518,19 +4518,19 @@ dataSource.url=jdbc:mysql:mydb Annotation-based container configuration - Are annotations better then XML for configuring Spring? + Are annotations better than XML for configuring Spring? - The introduction of annotation based configurations raised the - question of whether this approach is better or not then XML. The short - answer is it depends.. The long answer is that each - approach has it's pros and cons and usually it's up to the developer to + The introduction of annotation-based configurations raised the + question of whether this approach is 'better' than XML. The short + answer is it depends. The long answer is that each + approach has its pros and cons, and usually it is up to the developer to decide which strategy suits her better. Due to the way they are defined, - annotations provide a lot of context in their declaration leading to - shorter, more concise configurations. However XML excels at wiring up - components without touching their source code or recompile them. Some - prefer having the wiring close to the source while others argue that - annotated classes are no longer POJOs and further more that the - configuration becomes decentralized and harder to control. + annotations 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 that annotated classes are no longer POJOs and, furthermore, that + the configuration becomes decentralized and harder to control. No matter the choice, Spring can accommodate both styles and even mix them together. It's worth pointing out that through its