Article:
  Twelve Best Practices For Spring XML Configurations
Subject:   Good Citizen
Date:   2006-02-08 10:43:49
From:   wpoitras
Response to: Good Citizen

If you don't want to use InitializingBean you can always use an init-method in the bean definition.


Setter injection makes your XML more readable because you know what properties you are setting without consulting the source. But for simple cases, constructor injection can make your classes more concise and not require an init-method.