creating spring project structure in eclipse

this spring project structure is for creating spring and ibatis and restful webservices
open eclipse editor

click on file ----->new ---------->Dyanmic web project
creating a dynamic web project in eclipse for spring
Add caption

 in the project name write as SpringCrud and click on next
   click on src and remove src folder
spring project structure is for creating spring and ibatis and restful webservices


then click on add folder and create
src/java
src/config
src/resources
spring project structure is for creating spring and ibatis and restful webservices


in the same panel at the bottom
there will be default output folder
change build\classes to web\WEB-INF\classes

spring project structure is for creating spring and ibatis and restful webservices

in the next panel change the content directory change the WebContent to web
and tick on deployment desriptor and then click finish.
spring project structure is for creating spring and ibatis and restful webservices
right click on project and create a file name as build.xml and save and click on finish.
this will create a ant like structure on the file.
spring project structure is for creating spring and ibatis and restful webservices

now click on the project then go deep into the structure
click on java resources
click on src/java then right click and create new package and click finish
spring project structure is for creating spring and ibatis and restful webservices

create the following packages similarly
com.javatospring.controller
com.javatospring.service
com.javatospring.dao
com.javatospring.model
spring project structure is for creating spring and ibatis and restful webservices
right click on src/config and create a xml file and save as 
springContext.xml 


spring project structure is for creating spring and ibatis and restful webservices

right click on src/resources and create a sqlMapConfig.xml
spring project structure is for creating spring and ibatis and restful webservices

spring project structure is for creating spring and ibatis and restful webservices
spring project structure is for creating spring and ibatis and restful webservices

right click on src/resources and create a package name 
com.javatospring.security.model

right click on 
com.javatospring.security.model
and create a new xml file and save it as User-MyBatis.xml 
you can see in the above image.
spring crud


go to the web/WEB-INF folder and  create new xml 
applicationContext.xml

spring project structure is for creating spring and ibatis and restful webservices

spring project structure is for creating spring and ibatis and restful webservices

thats is you have created a basic spring project structure