Skip to content

Repository files navigation

Spring MVC and Hibernate template application

This is a template for a web application that uses Spring MVC and Hibernate. The sample code is a simple CRUD page that manipulates records for a single model object.

Running the application locally

First build with:

$mvn clean install

Then run it with:

# Default in-memory data store and webapp with root context
# http://localhost:8080/
$java -jar target/dependency/webapp-runner.jar target/*.war

# JPA and Postgres data store hosted with jetty; change port within runlocal-jetty.sh. 
# http://localhost:<port>/timetrackr 
./runlocal-jetty.sh <your-password-for-postgres>

# JPA and Postgres data store hosted with tomcat7; change port within runlocal-tomcat.sh. 
# http://localhost:<port>/timetrackr 
./runlocal-tomcat.sh <your-password-for-postgres>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages