Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bzdgn/springmvchibernate

An hello world for Spring Mvc Hibernate
https://github.com/bzdgn/springmvchibernate

hibernate java jpa spring spring-mvc

Last synced: 8 days ago
JSON representation

An hello world for Spring Mvc Hibernate

Awesome Lists containing this project

README

        

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

0) 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'
*****************************************************************

2) 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 [email protected]:bzdgn/SpringMVCHibernate.git
git push -u origin master

3) Import the project into eclipse workspace as "existing maven project"
************************************************************************

4) Update pom file and execute "mvn clean install"
**************************************************

5) Update web.xml file as per tutorial
**************************************

6) Update all sources as per tutorial
*************************************

7) Check deployment assembly on eclipse if Maven Dependencies are ok ( for Tomcat )
***********************************************************************************

8) 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