Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naxa777/dummy-web-app
Play around with Hibernate 4.3, Spring Core and Spring MVC, Lombok. RDBMS: MySQL, build system: Gradle.
https://github.com/naxa777/dummy-web-app
hibernate java spring-core spring-mvc
Last synced: 10 days ago
JSON representation
Play around with Hibernate 4.3, Spring Core and Spring MVC, Lombok. RDBMS: MySQL, build system: Gradle.
- Host: GitHub
- URL: https://github.com/naxa777/dummy-web-app
- Owner: naXa777
- Created: 2014-12-09T15:53:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T21:34:47.000Z (about 6 years ago)
- Last Synced: 2024-10-06T20:41:17.532Z (about 1 month ago)
- Topics: hibernate, java, spring-core, spring-mvc
- Language: Java
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dummy Web app
[![Codeship Status for naXa777/dummy-web-app](https://app.codeship.com/projects/303171c0-98fc-0136-b15a-3601fc6081f4/status?branch=master)](https://app.codeship.com/projects/305391)A primitive web application developed in Java 7.
## Dependencies
* Spring MVC
* Spring Core
* Hibernate 4.3 / JPA 2.1
* Lombok**RDBMS**: MySQL;
**Build system**: Gradle 4;
**Servlet container**: Tomcat 6+;
**View technologies**: JSP / JSTL;
**Logging utility**: Slf4j.## How to build & run?
* Make sure that MySQL service is up & running.
* Configure connection properties in /resources/db.properties and /resources/hibernate.cfg.xml files.
* Create DB schema manually executing /resources/import.sql script.
* Install Gradle if you don't have it yet.### Using command line
1. Package app
In the root project directory rungradle war
2. Deploy university.war to Tomcat
Just copy the war file (located in build\libs) to webapps folder and launch Tomcat via bin\catalina.bat or bin/catalina.shbin\catalina.bat start
bin/catalina.sh start
3. Navigate to http://localhost:8080/university/list in your favourite browser
### Using IntelliJ IDEA
Make sure that you have Lombok support plugin installed & enabled in your IDE.
1. Import project in IDEA
2. Create new Run/Debug configuration (Tomcat Server > Local) and configure your application server (specify path to Tomcat in your environment).
3. Run this configuration## Screenshots
![Home page](/screenshots/homepage.png)
![Students list](/screenshots/students.png)