• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    Java
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The project aims to present how to connect Spring Boot 3 and Java 17 Swing GUI widget toolkit. All application dependencies are provided by Docker Compose. There are also static code analysis tools like PMD and Checkstyle.

Spring Boot Swing Reservations

Build Status CodeQL License: MIT

This project aims to present how to create and configure a Spring Boot + JPA/Hibernate Java Swing application. The project is built using Java, Spring Boot and Swing libraries.

Table of Contents

Prerequisites

Libraries

Library name Description
Spring Boot 2 Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
Spring Data Repositories The JPA module of Spring Data contains a custom namespace that allows defining repository beans.
JPA (Hibernate) Hibernate ORM enables developers to more easily write applications whose data outlives the application process.
Swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Liquibase Liquibase Community is an open source project that helps millions of developers rapidly manage database schema changes.
Lombok Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Docker Compose Compose is a tool for defining and running multi-container Docker applications.
Checkstyle Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard.
FindBugs FindBugs is a development tool which uses static analysis to look for bugs in Java code.

Running the application

On Windows

## Run PostgreSQL database on Docker
docker-compose up -d

## Build application using Maven Wrapper
mvnw.cmd clean install

## Run Spring boot application using Maven Wrapper or simply run Application class
mvnw.cmd spring-boot:run

On MacOS/ Linux

## Run PostgreSQL database on Docker
docker-compose up -d

## Build application using Maven Wrapper
./mvnw clean install

## Run Spring boot application using Maven Wrapper or simply run Application class
./mvnw spring-boot:run

Database user

JDBC URL Username Password
jdbc:postgresql://localhost:5555/reservations reservations_user reservations_psw

Video

Spring Boot Swing Reservations

Screens

alt text

alt text

alt text

alt text

alt text

alt text

More Repositories

1

spring-web-rss-channels

A Full Stack RSS Reader web application built with Spring MVC and JSP. It uses libraries like Spring, JPA, Bootstrap, Apache Tiles, JSP etc. There is also a static code analysis tool called Checkstyle.
Java
44
star
2

responsive-personal-website

This is my personal website built with libraries like Bootstrap 4, jQuery, Particles.js, Aos.js and many more. The workflow is configured to automatically deploy a package to the server after every push. You can easily run a web server with php using prepared Docker Compose configuration.
HTML
18
star
3

responsive-bootstrap-sites

This is a web application built with Spring MVC and JSP. It uses libraries like Spring, Apache Tiles, Bootstrap, JQuery, Log4j etc. There is also a Maven Tomcat plugin which allows you to easily run the application.
Java
17
star
4

spring-boot-rest-example

A RESTful application using Spring Boot, Spring MVC, Spring Data and JPA.
Java
12
star
5

spring-webflow-jsf-integration

Quick tutorial on how to integrate Spring WebFlow and JSF.
CSS
9
star
6

kotlin-spring-boot-2-angular-10-webshop

A Full Stack application built with Kotlin, Spring Boot 2 and Angular 10. You can run this project like a standard Spring Boot and Angular application or using Docker Compose to launch the whole application with one command.
TypeScript
9
star
7

algorithms-and-data-structures-in-kotlin

A Kotlin project with solutions for common algorithms and with their time and memory complexity. Tests are written in Spock.
Kotlin
7
star
8

angularjs-and-spring-boot-tutorial

AngularJS + Spring Boot examples
HTML
7
star
9

jquery-validation-plugin-example

JQuery validation plugin example
HTML
6
star
10

web-crm-angularjs-and-spring-boot

Spring Boot + AngularJS Web CRM project
HTML
5
star
11

spring-boot-rabbitmq-integration

The project aims to present how to connect Spring Boot 2 and RabbitMQ. All application dependencies are provided by Docker Compose.
Java
4
star
12

intellij-idea-swing-creator

Java
3
star
13

spring-utils

Java Brains Spring applications
Java
2
star
14

spring-recipe

Codes from Spring Recipe
Java
2
star
15

spring-modules

Spring schooling from devcastzone platform
Java
2
star
16

danielmichalski

Repository with README.md used on the main page.
2
star
17

jar-building-using-maven

Java
2
star
18

otomoto-crawler

Otomoto crawler
Java
2
star
19

client-server-applications

Client Server Applications
Java
2
star
20

snake-client-server

Java 2D client-server game
Java
2
star
21

spring-in-practice

Codes from Spring in practice
Java
2
star
22

work-utils

Codes unsing in work
Java
2
star
23

online-testing-platform

Spring REST + AngularJS + JPA/Hibernate + Bootstrap + JQuery
Java
2
star
24

spring-jsf-jpa-webflow

Spring JSF JPA WebFlow Project
Java
2
star
25

design-patterns

Most common desing patterns
Java
2
star
26

spring-boot-angular2-starter

TypeScript
2
star
27

java-mail

sending mails using java
Java
1
star
28

spring-in-action

Spring examples
Java
1
star
29

altkom-spring-mvc

Java
1
star
30

webshop-spring-mvc-webflow

Webshop Spring Project
Java
1
star
31

asco-webshop

Spring MVC + JPA/Hibernate + Tiles + Bootstrap
Java
1
star
32

spring-and-hibernate-web-app

Spring and Hibernate Web App aplication
Java
1
star
33

spring-boot-survey-js

The project aims to present how to validate SureveyJS form on backend
Java
1
star
34

e-license-cat-b

This is a Java Swing application that allows candidates to prepare for the Driving License test. It contains lessons and exams that end with a PDF report.
Java
1
star
35

spring-boot-booking-service

The project aims to present how to build a Java API with Spring Boot, MyBatis, Lombok, and H2.
Java
1
star
36

hibernate-utils

Hibernate Java Brains applications
Java
1
star
37

java-8-codes

Java 8 code examples
Java
1
star
38

react-form-generator

React Form Generator is a React application that generates the HTML form from the requirements provided in text area.
TypeScript
1
star
39

angular2-and-spring-boot-tutorial

Angular 2 + Spring Boot examples
HTML
1
star
40

angular-2-tutorials

Angular 2 examples
TypeScript
1
star
41

SpringScaffoldApplication

Spring MVC + JPA + ftl
Java
1
star
42

codility-algorithms

Algorithms from codility
Java
1
star