Spring 3 hello world using annotation

Posted on Updated on

This tutorial shows you how to create a simple hello world example in Spring 3.0 using annotation.

Technologies used :

  1. Spring 3.0.5.RELEASE
  2. Maven
  3. Eclipse
  4. JDK 1.5 or higher

1) Create maven project in Eclipse.

2) Add Spring 3.0 dependency

3) Spring Bean (HelloWorld.java file)

4) Spring Configuration file

beans.xml file

5) Folder Structure of the project.

6) Run App.java file.

7) Output

Hello Code2Succeed

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.