Reputation: 1482
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?
Upvotes: 0
Views: 405
Reputation: 837
Another option to consider is to use Java based configuration. It is more readable, and is easier than annotations.
Simple Example using Java based configuration
Upvotes: 1
Reputation: 2473
Spring Framework references are comprehensive. Refer to the Spring reference material, 3.11 Java-based container configuration.
Upvotes: 2