Skip to content

Same with SpringMVCHibernate but java configuration will be used instead of xml configuration

Notifications You must be signed in to change notification settings

bzdgn/SpringMVCHibernate2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REF: http://www.journaldev.com/3531/spring-mvc-hibernate-mysql-integration-crud-example-tutorial

  1. Create the project under git folder with maven tool;

mvn archetype:generate -DgroupId=com.journaldev.spring -DartifactId=SpringMVCHibernate -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false

  1. Create a new project on github with name: 'SpringMVCHibernate'

  1. Create the project under git folder with maven tool;

echo # SpringMVCHibernate >> README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:bzdgn/SpringMVCHibernate.git git push -u origin master

  1. Import the project into eclipse workspace as "existing maven project"

  1. Update pom file and execute "mvn clean install"

  1. Update web.xml file as per tutorial

  1. Update all sources as per tutorial

  1. Check deployment assembly on eclipse if Maven Dependencies are ok ( for Tomcat )

  1. Update context-param on web.xml, tutorial using the root-context which is neither needed nor working; &&&********************************* Old value; contextConfigLocation /WEB-INF/spring/root-context.xml

New Value; contextConfigLocation /WEB-INF/spring/appServlet/servlet-context.xml

About

Same with SpringMVCHibernate but java configuration will be used instead of xml configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages