I have started working on an inventory management system (web application) using Spring Framework 3.1.1** and would like to configure Spring Framework using Java annotations. I searched Google, but I could not find a suitable example showing how to configure Spring Framework using Java annotations in a web application. Where is there a proper example or tutorial?
2 Answers
Spring Framework references are comprehensive. Refer to the Spring reference material, 3.11 Java-based container configuration.
Comments
Another option to consider is to use Java based configuration. It is more readable, and is easier than annotations.