Ravi Jain
Ravi Jain

Reputation: 1482

Spring configuration using Java annotations

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

Answers (2)

Anand Rajasekar
Anand Rajasekar

Reputation: 837

Another option to consider is to use Java based configuration. It is more readable, and is easier than annotations.

Spring Documentation

Simple Example using Java based configuration

Upvotes: 1

Morteza Adi
Morteza Adi

Reputation: 2473

Spring Framework references are comprehensive. Refer to the Spring reference material, 3.11 Java-based container configuration.

Upvotes: 2

Related Questions