# hansonwang99/spring-boot-in-action

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hansonwang99-spring-boot-in-action).**

4,678 stars · 1,459 forks · Java

## Links

- GitHub: https://github.com/hansonwang99/Spring-Boot-In-Action
- Homepage: https://www.codesheep.cn
- awesome-repositories: https://awesome-repositories.com/repository/hansonwang99-spring-boot-in-action.md

## Topics

`java` `jwt` `mybatis` `spring` `spring-boot` `spring-security` `spring-security-jwt` `springboot` `springcloud` `springframework`

## Description

This project is a collection of reference implementations and practical guides for building enterprise Java applications using the Spring Boot framework. It serves as a backend project gallery and implementation guide, providing a set of architectures for common server patterns.

The repository distinguishes itself through a focus on distributed system design, offering examples for global unique identifier generation, distributed caching, and full-text search. It also includes templates and examples for creating custom Spring Boot starters to encapsulate shared dependencies and configurations into reusable modules.

The project covers a broad range of capability areas, including application security via token-based authentication and authorization, system observability using health and performance monitoring, and relational database integration. Additional coverage includes containerized application deployment and the processing of media and natural language data.

## Tags

### Software Engineering & Architecture

- [Distributed Systems Architectures](https://awesome-repositories.com/f/software-engineering-architecture/distributed-systems-architectures.md) — Provides reference architectures for distributed systems, including global ID generation and caching.
- [Reference Implementation Patterns](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/backend-enterprise-systems/enterprise-backend-architectures/reference-implementation-patterns.md) — Provides concrete reference implementations of common backend architectural patterns for enterprise Java systems.
- [Java Implementations](https://awesome-repositories.com/f/software-engineering-architecture/application-frameworks/general-purpose-frameworks/java-frameworks/backend-architectures/java-implementations.md) — Implements common Java backend architectures such as relational mapping and distributed ID generation.
- [Spring Boot Integrations](https://awesome-repositories.com/f/software-engineering-architecture/spring-boot-integrations.md) — Implements a set of reference architectures for enterprise Java applications using the Spring Boot framework.
- [General Auto-Configuration Starters](https://awesome-repositories.com/f/software-engineering-architecture/spring-boot-integrations/auto-configuration-mechanisms/ai-starter-configurations/general-auto-configuration-starters.md) — Implements auto-configuration mechanisms to bootstrap dependencies automatically based on the classpath and environment.
- [Custom Starter Development](https://awesome-repositories.com/f/software-engineering-architecture/spring-boot-integrations/auto-configuration-mechanisms/ai-starter-configurations/general-auto-configuration-starters/custom-starter-development.md) — Provides a guide and implementation for developing custom auto-configuration starters for reusable modules. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Aspect-Oriented Programming](https://awesome-repositories.com/f/software-engineering-architecture/architectural-design-patterns/aspect-oriented-programming.md) — Implements aspect-oriented programming to decouple cross-cutting concerns like logging and security from business logic.
- [Distributed System Patterns](https://awesome-repositories.com/f/software-engineering-architecture/distributed-system-patterns.md) — Provides practical code examples of distributed system patterns like global unique identifiers.
- [Security Implementations](https://awesome-repositories.com/f/software-engineering-architecture/spring-boot-integrations/security-implementations.md) — Implements standard security protocols for authentication and authorization to protect system resources.

### Data & Databases

- [Distributed Caches](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/caching-performance/caching/distributed-caches.md) — Demonstrates distributed caching architectures to ensure scalability across multiple server nodes. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Relational Persistence Layers](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage-layers/relational-persistence-layers.md) — Provides a relational mapping layer to automate translation between object-oriented code and SQL database tables.
- [Unique Identifier Generators](https://awesome-repositories.com/f/data-databases/data-management/unique-identifier-generators.md) — Implements global unique identifier generation to ensure primary key uniqueness across distributed systems. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Database Integration Layers](https://awesome-repositories.com/f/data-databases/database-integration-layers.md) — Implements database integration layers to connect applications to persistent data stores using standardized patterns. ([source](https://www.codesheep.cn/))
- [Distributed Caching](https://awesome-repositories.com/f/data-databases/distributed-caching.md) — Implements distributed caching to reduce latency and database load across multiple nodes.
- [Full Text Search](https://awesome-repositories.com/f/data-databases/full-text-search.md) — Provides reference implementations for scalable full-text search capabilities and indexing. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Distributed Memory Caches](https://awesome-repositories.com/f/data-databases/in-memory-caches/distributed-memory-caches.md) — Implements in-memory distributed caching to reduce database load and improve system performance across multiple nodes.
- [Relational Database Integrations](https://awesome-repositories.com/f/data-databases/relational-database-integrations.md) — Integrates relational databases to automate data layer code generation and persistence using SQL servers. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Application Data Caches](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/caching-performance/caching/memcached/application-data-caches.md) — Implements application-level caching to reduce database load and improve response times. ([source](https://www.codesheep.cn))
- [In-Memory Caches](https://awesome-repositories.com/f/data-databases/in-memory-caches.md) — Provides implementations of in-memory caches to accelerate data access. ([source](https://www.codesheep.cn/))

### DevOps & Infrastructure

- [Starter Modules](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/version-compatibility-management/starter-dependency-boms/starter-modules.md) — Provides templates and examples for creating custom Spring Boot starters to encapsulate shared dependencies.
- [Container Image Packaging](https://awesome-repositories.com/f/devops-infrastructure/container-image-packaging.md) — Provides examples for bundling applications into container images for consistent deployment across environments.
- [Containerized Application Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-application-deployments.md) — Demonstrates the deployment of full application environments using portable container images. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))

### Education & Learning Resources

- [Java Practice Projects](https://awesome-repositories.com/f/education-learning-resources/java-practice-projects.md) — Serves as a project gallery of reference implementations for Java backend architecture.
- [Spring Boot Development Guides](https://awesome-repositories.com/f/education-learning-resources/spring-boot-development-guides.md) — Offers practical examples and technical walkthroughs for building enterprise applications using the Spring Boot framework.
- [Security Implementation Guides](https://awesome-repositories.com/f/education-learning-resources/security-implementation-guides.md) — Provides step-by-step guides for implementing token-based authentication and authorization to secure application endpoints.

### Security & Cryptography

- [Request Token Validators](https://awesome-repositories.com/f/security-cryptography/access-control/panel-access-controls/token-access-restrictions/request-token-validators.md) — Secures application endpoints by validating tokens on every request to enforce authentication and authorization.
- [Application Access Controls](https://awesome-repositories.com/f/security-cryptography/application-access-controls.md) — Provides application-level access controls to verify user identities and protect resources. ([source](https://www.codesheep.cn))
- [Application Security Mechanisms](https://awesome-repositories.com/f/security-cryptography/authentication-security/application-security-mechanisms.md) — Implements application security mechanisms including endpoint protection and role-based access control.
- [Security and Access Control](https://awesome-repositories.com/f/security-cryptography/security-and-access-control.md) — Implements security and access control mechanisms to protect application endpoints. ([source](https://www.codesheep.cn/))
- [Token-Based Authentication](https://awesome-repositories.com/f/security-cryptography/security-and-access-control/token-based-authentication.md) — Secures application access using token-based authentication and authorization protocols. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))

### Web Development

- [Spring Boot Backend Development](https://awesome-repositories.com/f/web-development/spring-boot-backend-development.md) — Provides a comprehensive guide to developing enterprise server-side applications using Spring Boot.

### Operating Systems & Systems Programming

- [Application Method Interceptors](https://awesome-repositories.com/f/operating-systems-systems-programming/system-call-interception/dynamic-proxy-interceptions/application-method-interceptors.md) — Uses dynamic proxies and interceptors to separate cross-cutting concerns from core business logic.

### System Administration & Monitoring

- [Application Performance Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/application-performance-monitoring/application-performance-monitoring.md) — Monitors application runtime performance to track errors and identify bottlenecks in distributed software. ([source](https://cdn.jsdelivr.net/gh/hansonwang99/spring-boot-in-action@master/README.md))
- [Monitoring and Observability](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability.md) — Implements system observability and monitoring using Spring Boot Actuator for telemetry.
- [Metric and Performance Monitors](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors.md) — Collects and visualizes numerical performance data and system health metrics for operational monitoring. ([source](https://www.codesheep.cn/))
- [Health Monitoring Endpoints](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/operational-health-alerting/health-monitoring-endpoints.md) — Provides standardized health monitoring endpoints via Spring Boot Actuator for real-time observability.
- [Application Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/operational-health-alerting/health-monitoring-endpoints/application-health-monitors.md) — Tracks operational health and performance metrics to ensure service reliability and identify bottlenecks. ([source](https://www.codesheep.cn))
