Based on SpringMvcStepByStep. Developed as Spring Boot application, added a Postgres DB and Hibernate for JPA, tested using Unit and Integration tests, monitored by application and performance logs using log4j and AspectJ and deployed to a docker.
Use mvn clean package to package the application in a war file (or mvn clean package -DskipTests if the db is not installed locally).
Use docker-compose up -d command to run the app and docker-compose stop to terminate it.
patschris/SpringMVCExample
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|