Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bzdgn/springmvchibernate
- Owner: bzdgn
- Created: 2015-05-01T20:08:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-01T21:36:43.000Z (almost 10 years ago)
- Last Synced: 2024-12-08T16:09:44.330Z (2 months ago)
- Topics: hibernate, java, jpa, spring, spring-mvc
- Language: Java
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=false1) 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 master3) 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