When STC is opened then click on
FileànewàSpring Project
Give any name, for example I’m giving application 1
Now Right click on
application 1à propertiesà Java Build Path
Click on adds external JARs and first adds all jar files
inside spring-framework-4.0.0.M1/libs
Again click on adds external JARs and add all jar files inside commons-logging-1.1.3
Right Click on src (inside
application 1)ànewàSpring bean
configuration file
Give any name like I’m giving config.xml
Contents already exist inside config.xml
<?xml version="1.0"
encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
</beans>
Now write your first spring program
No comments:
Post a Comment