https://github.com/agilecreativity/spring-hsqldb-hibernate-example
https://github.com/agilecreativity/spring-hsqldb-hibernate-example
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/agilecreativity/spring-hsqldb-hibernate-example
- Owner: agilecreativity
- Created: 2014-01-26T13:42:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-26T13:43:54.000Z (over 12 years ago)
- Last Synced: 2025-03-30T05:01:58.665Z (over 1 year ago)
- Language: Java
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Simple project using Spring MVC (using annotation), hsqldb, maven application
## Installation
#### Build project and import into Eclipse
```
$mvn clean package
```
Then import to your favourite IDE (mine is Eclipse)
```
$mvn eclipse:eclipse
```
then from Eclipse, File->Import
#### Build and deploy using Maven to Apache Tomcat
To actually run it just use the supplied script
```
build-and-deploy.sh
```
Start Tomcat, then point your browser to [http://localhost:8080/springmvc-hsqldb-hibernate-example/](http://localhost:8080/springmvc-hsqldb-hibernate-example/)
#!/bin/bash
mvn clean package
# NOTE: edit this to suite your deployment environment
export DEPLOYMENT_DIR=$TOMCAT_HOME/webapps
cp target/springmvc-hsqldb-hibernate-example.war $DEPLOYMENT_DIR
## Author
[Burin Choomnuan](https://github.com/agilecoders)