Spring boot java swing reservations
Spring Boot 3 + Java 17 desktop application with Docker Compose and PostgreSQL. Includes static code analysis (PMD, Checkstyle) and CI via GitHub Actions.
Spring Boot Swing Reservations is a desktop application built on Java 17, Spring Boot 3, JPA/Hibernate, Docker, and Java Swing. \ It shows how to integrate the Java Swing library with Spring Boot. The project is written primarily in Java, distributed under the MIT License license, first published in 2016. Key topics include: checkstyle, docker, findbugs, hibernate, java.
Spring Boot Swing Reservations
Spring Boot Swing Reservations is a desktop application built on Java 17, Spring Boot 3, JPA/Hibernate, Docker, and Java Swing.
It shows how to integrate the Java Swing library with Spring Boot.
Documentation
The documentation is divided into several sections:
- Prerequisites
- Libraries
- Running the application
- Database connection parameters
- Video presentation
- Screenshots
Prerequisites
- Java JDK version 17+
- Docker Desktop
Libraries
| Library name | Description |
|---|---|
| Spring Boot 3 | 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. |
| PMD | PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. |
Running the application
On Windows
bash## 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
bash## 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 connection parameters
| JDBC URL | Username | Password |
|---|---|---|
| jdbc:postgresql://localhost:5555/reservations | reservations_user | reservations_psw |
Video presentation
Screenshots






Contributors
Showing top 1 contributor by commit count.


