- DO NOT use version numbers with the Spring schema namespaces
- Always use classpath:/ prefix for consist resource referencing
- Always use a single XML config file to bootstrap the application or tests
- Use the XML “id” attribute to identify a bean
- Use Constructor injection to promote thread safety
- Use Properties for configurable resources
No comments:
Post a Comment