Tagged articles
348 articles
Page 3 of 4
Top Architect
Top Architect
Jun 2, 2022 · Cloud Native

A Beginner's Guide to Designing, Implementing, and Deploying Microservices on Kubernetes

This article walks readers through the complete lifecycle of a microservice system—from architectural design and Java Spring Boot implementation to Kubernetes deployment, high‑availability setup, monitoring with Prometheus/Grafana, tracing with Zipkin, and flow‑control with Sentinel—providing practical code snippets and step‑by‑step instructions.

KubernetesMicroservicescloud-native
0 likes · 21 min read
A Beginner's Guide to Designing, Implementing, and Deploying Microservices on Kubernetes
macrozheng
macrozheng
Jun 1, 2022 · Backend Development

How to Upgrade the mall‑tiny Spring Boot Scaffold to 2.7.0: Tips and Code Changes

This article introduces the open‑source mall‑tiny rapid‑development scaffold, explains its core features and integration with the mall‑admin‑web front‑end, and provides a step‑by‑step guide to upgrading it to Spring Boot 2.7.0, covering Swagger, Spring Security, MyBatis‑Plus, circular‑dependency resolution, and CORS configuration.

BackendSecurityspring-boot
0 likes · 14 min read
How to Upgrade the mall‑tiny Spring Boot Scaffold to 2.7.0: Tips and Code Changes
Programmer DD
Programmer DD
May 31, 2022 · Backend Development

How to Seamlessly Migrate to Spring Boot 3.0 and Java 17

This guide explains the upcoming Spring Boot 3.0 release, the need for Java 17, step‑by‑step upgrade to Spring Boot 2.7, removal of deprecated APIs, configuration file changes, new path‑parsing strategy, Jakarta EE 9 compatibility, and tips for trying Spring 6.

Configurationdeprecationjava-17
0 likes · 9 min read
How to Seamlessly Migrate to Spring Boot 3.0 and Java 17
Top Architect
Top Architect
May 21, 2022 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices, Advanced Features, and Implementation Details

This article provides an in‑depth tutorial on Spring Validation, covering basic usage, dependency configuration, requestBody and requestParam validation, unified exception handling, advanced techniques such as group, nested, and collection validation, custom validators, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms.

BackendHibernate Validatordto
0 likes · 16 min read
Comprehensive Guide to Spring Validation: Best Practices, Advanced Features, and Implementation Details
Alibaba Cloud Native
Alibaba Cloud Native
May 11, 2022 · Cloud Native

Building Precise Metrics & Alerts with Micrometer, Prometheus, and Grafana

This guide explains how to implement observability in cloud‑native Spring Boot applications by collecting business metrics with Micrometer, storing them in Prometheus, visualizing with Grafana, and configuring accurate alerts through custom annotations, ServiceMonitors, and Alibaba Cloud ARMS, while providing code examples and deployment steps.

Micrometercloud-nativespring-boot
0 likes · 15 min read
Building Precise Metrics & Alerts with Micrometer, Prometheus, and Grafana
Top Architect
Top Architect
May 5, 2022 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script

This article demonstrates how to package a Spring Boot application using Maven profiles and the assembly plugin to create a zip distribution, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux environments.

Assembly pluginDeploymentProfiles
0 likes · 14 min read
Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script
Java High-Performance Architecture
Java High-Performance Architecture
Apr 1, 2022 · Backend Development

How to Dynamically Manage Spring Boot Scheduled Tasks with Super‑Scheduled

This article introduces Super‑Scheduled, a Spring Boot starter that enhances native @Scheduled tasks by enabling dynamic runtime management, explains quick integration steps, and details the underlying implementation using configuration components, post‑processors, CGLIB proxies, and a flexible execution chain.

Dynamic ManagementScheduled Taskscglib
0 likes · 15 min read
How to Dynamically Manage Spring Boot Scheduled Tasks with Super‑Scheduled
Java Interview Crash Guide
Java Interview Crash Guide
Mar 8, 2022 · Backend Development

Master Spring Boot Actuator: HTTP & JMX Monitoring, Custom Endpoints, and JMX MBean Registration

Learn how to enable and use Spring Boot Actuator's monitoring features—including HTTP and JMX endpoints—configure built‑in endpoints, expose custom metrics, dynamically adjust log levels, and manually register JMX MBeans, with code examples and integration tips for Prometheus and Grafana.

Custom EndpointPrometheushttp-endpoints
0 likes · 11 min read
Master Spring Boot Actuator: HTTP & JMX Monitoring, Custom Endpoints, and JMX MBean Registration
Top Architect
Top Architect
Mar 6, 2022 · Backend Development

Resolving Duplicate Access‑Control‑Allow‑Origin Header Issues in Spring Cloud Gateway

This article explains why Spring Cloud Gateway can return duplicate Access‑Control‑Allow‑Origin and Vary headers during CORS handling, analyzes the underlying processing flow, and provides two practical solutions—using DedupeResponseHeader configuration or implementing a custom GlobalFilter—to ensure a single, correct header is sent to the client.

BackendCORSduplicate-header
0 likes · 10 min read
Resolving Duplicate Access‑Control‑Allow‑Origin Header Issues in Spring Cloud Gateway
Programmer DD
Programmer DD
Feb 25, 2022 · Backend Development

Do ApplicationStartedEvent and ContextStartedEvent Differ in Spring Boot?

This article explains the differences between ApplicationStartedEvent and ContextStartedEvent in Spring Boot, clarifies their inheritance hierarchy, and lists the key events provided by Spring Boot, highlighting that ContextStartedEvent is not used in the framework.

ApplicationStartedEventEventscontextstartevent
0 likes · 3 min read
Do ApplicationStartedEvent and ContextStartedEvent Differ in Spring Boot?
Programmer DD
Programmer DD
Feb 15, 2022 · Information Security

Keycloak Deprecates Most Adapters – Impact on Spring Security and Boot

On February 14, the Keycloak team announced the deprecation of most adapters—including Spring Security and Spring Boot integrations—detailing which adapters will be discontinued, which will remain, and a timeline for the phase‑out, while noting the rise of Spring Authorization Server as a replacement.

KeycloakOIDCadapters
0 likes · 4 min read
Keycloak Deprecates Most Adapters – Impact on Spring Security and Boot
IT Services Circle
IT Services Circle
Feb 1, 2022 · Backend Development

Design and Implementation of a Centralized Swagger Documentation Registration Center with Knife4j Integration

This article explains how to replace the default Swagger‑UI with Knife4j, outlines the problems of using Swagger in a microservice environment, and presents two documentation aggregation patterns—gateway aggregation and a centralized registration mode—detailing the architecture, database schema, and Spring Boot starter implementation for a reusable Swagger registration server.

Knife4jSwaggerapi-docs
0 likes · 15 min read
Design and Implementation of a Centralized Swagger Documentation Registration Center with Knife4j Integration
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2022 · Backend Development

Key Changes in Spring Boot 3.0.0 M1 Release

The article outlines the major updates in Spring Boot 3.0.0 M1, including the shift to Java 17, migration from Java EE to Jakarta EE, removed and upgraded dependencies, and the roadmap for upcoming milestone releases.

Spring Frameworkdependency-upgradejakarta-ee
0 likes · 6 min read
Key Changes in Spring Boot 3.0.0 M1 Release
Selected Java Interview Questions
Selected Java Interview Questions
Jan 15, 2022 · Backend Development

Key New Features in Spring Boot 2.6.0 Release

Spring Boot 2.6.0 introduces several important backend enhancements, including mandatory circular‑dependency detection, custom sanitizing rules, default Redis connection‑pool activation, WebTestClient MVC testing support, a new path‑matching strategy, enriched /info endpoint data, and various other improvements.

circular-dependencysanitizingspring-boot
0 likes · 7 min read
Key New Features in Spring Boot 2.6.0 Release
Java Architect Essentials
Java Architect Essentials
Jan 13, 2022 · Backend Development

Encrypting Spring Boot Configuration Files with Jasypt

This article explains how to secure sensitive Spring Boot configuration properties such as database credentials by integrating the Jasypt library, adding the Maven dependency, configuring an encryption password, generating encrypted values via tests, and applying them in YAML files with optional runtime salt handling.

ConfigurationJasyptencryption
0 likes · 5 min read
Encrypting Spring Boot Configuration Files with Jasypt
Programmer DD
Programmer DD
Jan 6, 2022 · Backend Development

Boost Spring Boot Performance with Asynchronous Logback Logging

This article explains how to configure Logback in Spring Boot to separate logs by level, use asynchronous appenders to reduce I/O latency, and demonstrates a performance test showing a ten‑fold throughput increase, while also detailing the underlying async logging mechanism.

asynchronous logginglogbackperformance
0 likes · 9 min read
Boost Spring Boot Performance with Asynchronous Logback Logging
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2022 · Backend Development

Enabling Startup Parameter Validation in Spring Boot Using Java Validation

This article explains how to use Spring's Java Validation to check configuration properties at application startup, demonstrates the required annotations, lists supported validation constraints, and shows how to implement and register custom validators to enforce business rules early in the boot process.

backend-developmentconfiguration-propertiesspring-boot
0 likes · 7 min read
Enabling Startup Parameter Validation in Spring Boot Using Java Validation
Programmer DD
Programmer DD
Dec 29, 2021 · Backend Development

Master Spring Boot Logging with SLF4J: Configuration, Levels, and Best Practices

This guide explains how Spring Boot handles logging through Commons Logging, recommends using SLF4J as a facade, shows code examples, details log elements, demonstrates how to enable DEBUG, configure console colors, file output, rolling policies, level control, and custom formats for effective backend logging.

Configurationdebugfile-output
0 likes · 11 min read
Master Spring Boot Logging with SLF4J: Configuration, Levels, and Best Practices
Top Architect
Top Architect
Dec 24, 2021 · Backend Development

Token, Timestamp, and Sign: Implementing Secure API Authentication with Spring Boot and Redis

This article explains the concepts of token, timestamp, and sign, describes how they are used together to secure API calls, shows how to prevent duplicate submissions, and provides complete Spring Boot code examples—including Redis configuration, interceptors, utilities, and ThreadLocal handling—for building a robust backend authentication system.

AuthenticationTokenapi-security
0 likes · 23 min read
Token, Timestamp, and Sign: Implementing Secure API Authentication with Spring Boot and Redis
Java Captain
Java Captain
Dec 17, 2021 · Backend Development

Jeepay: Open‑Source Payment System Overview and Architecture

Jeepay is an open‑source, Spring Boot‑based payment platform that supports multiple channels such as WeChat Pay, Alipay, and UnionPay, offering distributed deployment, high concurrency, secure signing, and a modular front‑back separation with comprehensive management and merchant interfaces.

MicroservicesSecurityopen-source
0 likes · 6 min read
Jeepay: Open‑Source Payment System Overview and Architecture
Java Architecture Diary
Java Architecture Diary
Dec 17, 2021 · Backend Development

What’s New in Spring Cloud 2020.0.5? Detailed Release Notes and Component Versions

Spring Cloud 2020.0.5, a bug‑fix release compatible with Spring Boot 2.4.x and 2.5.x, introduces updated components such as Netflix/Eureka 1.10.17, new Config support for HTTPS proxy and AWS/Redis/CredHub, enhanced Gateway metrics, Kubernetes client proxy, OpenFeign pagination, and Vault token handling, with a full component version list.

backend-developmentcloud-nativerelease-notes
0 likes · 4 min read
What’s New in Spring Cloud 2020.0.5? Detailed Release Notes and Component Versions
Programmer DD
Programmer DD
Dec 10, 2021 · Backend Development

How to Quickly Fix the Log4j2 Vulnerability in Spring Boot

This article explains the recent Log4j2 critical vulnerability, shows the official patch, and provides the simplest Spring Boot configuration change—adding a property in pom.xml—to upgrade Log4j2 safely while highlighting why the default logging component is Logback and offering advice on avoiding unnecessary third‑party replacements.

Securityspring-boot
0 likes · 4 min read
How to Quickly Fix the Log4j2 Vulnerability in Spring Boot
Programmer DD
Programmer DD
Dec 5, 2021 · Backend Development

What’s New in Spring Boot 3.0? Key Changes and Migration Tips

The article outlines the upcoming Spring Boot 3.0 milestone, highlighting major changes such as removal of deprecated APIs, a minimum Java 17 requirement, migration to Jakarta EE 9, discontinued support for several libraries, and offers practical advice for developers planning the upgrade.

jakarta-eejava-17migration
0 likes · 5 min read
What’s New in Spring Boot 3.0? Key Changes and Migration Tips
Selected Java Interview Questions
Selected Java Interview Questions
Nov 23, 2021 · Backend Development

Integrating Knife4j with Spring Boot for Enhanced Swagger API Documentation

This article introduces Knife4j, a lightweight Java MVC Swagger enhancement, explains its core features and UI improvements, and provides a step‑by‑step guide with Maven dependencies, configuration classes, model definitions, and controller code to quickly set up interactive API documentation in a Spring Boot project.

API documentationKnife4jSwagger
0 likes · 8 min read
Integrating Knife4j with Spring Boot for Enhanced Swagger API Documentation
Java Interview Crash Guide
Java Interview Crash Guide
Nov 18, 2021 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter

This article reviews four Spring‑Boot techniques—traditional AOP, HandlerInterceptor, custom ArgumentResolver, and Servlet Filter—to implement a reusable app‑key whitelist authentication, provides complete code examples for each, and explains their execution order within the request processing chain.

ArgumentResolverInterceptorauth
0 likes · 11 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter
Programmer DD
Programmer DD
Sep 30, 2021 · Backend Development

How to Build QR Code Login with WebSocket in Spring Boot

This tutorial walks through designing a QR‑code login flow using Spring Boot, detailing the required database schema, roles, API endpoints, server‑side WebSocket setup, and front‑end JavaScript to fetch the QR image, extract the UUID, and establish a real‑time connection for authentication.

QR loginWebSocketspring-boot
0 likes · 12 min read
How to Build QR Code Login with WebSocket in Spring Boot
Java Architect Essentials
Java Architect Essentials
Sep 29, 2021 · Cloud Native

A Comprehensive Guide to Microservice Architecture and Implementation

This article provides an in‑depth overview of microservice concepts, motivations, architectural principles, design patterns, service splitting strategies, essential infrastructure, popular frameworks such as Spring Boot, Spring Cloud, Dubbo, and Service Mesh, and practical recommendations for adopting microservices in real‑world projects.

Service Mesharchitecturedistributed-systems
0 likes · 18 min read
A Comprehensive Guide to Microservice Architecture and Implementation
Architecture Digest
Architecture Digest
Sep 4, 2021 · Backend Development

Jeepay: An Open‑Source Enterprise‑Level Payment System Overview

Jeepay is an enterprise‑grade open‑source payment platform built with Spring Boot, Ant Design Vue and Spring Security, supporting multiple channels such as WeChat Pay, Alipay and UnionPay, and offering distributed deployment, high concurrency, secure transaction signing, and comprehensive operation and merchant modules.

open-sourcepaymentspring-boot
0 likes · 7 min read
Jeepay: An Open‑Source Enterprise‑Level Payment System Overview
Top Architect
Top Architect
Sep 2, 2021 · Backend Development

Spring Boot Packaging with Maven and Shell Deployment Script Guide

This article explains how to package a Spring Boot application using Maven profiles and the maven‑assembly‑plugin, generate a zip deployment package, and manage the deployment with a custom shell script that supports unzip, start, stop, and restart operations across different environments.

mavenpackagingshell script
0 likes · 13 min read
Spring Boot Packaging with Maven and Shell Deployment Script Guide
Java Architecture Diary
Java Architecture Diary
Aug 23, 2021 · Backend Development

Master Mica Microservice Suite: Versions, Prometheus Integration & Code Samples

This article introduces the Mica microservice component suite, outlines its latest versions and compatibility with Spring Boot and Spring Cloud, details recent updates—including Prometheus support, Swagger enhancements, and dependency upgrades—and provides Maven, Gradle, and configuration examples for integrating Mica-prometheus, alert webhooks, and custom event handling.

MicroservicesPrometheusspring-boot
0 likes · 6 min read
Master Mica Microservice Suite: Versions, Prometheus Integration & Code Samples
Programmer DD
Programmer DD
Aug 16, 2021 · Backend Development

Secure Spring Boot Configurations: Encrypt Sensitive Properties with Jasypt

This tutorial explains how to protect sensitive Spring Boot configuration values—such as database passwords and service keys—by encrypting them using the Jasypt library, covering setup, Maven integration, encryption/decryption commands, and best security practices.

BackendConfiguration Encryptionspring-boot
0 likes · 8 min read
Secure Spring Boot Configurations: Encrypt Sensitive Properties with Jasypt
Programmer DD
Programmer DD
Jul 29, 2021 · Backend Development

Avoid Elastic Job Name Conflicts with Namespace Isolation

This article explains why Elastic Job tasks can clash in ZooKeeper when they share the same name but different classes, and shows how using the namespace property—especially tying it to the Spring Boot application name—effectively isolates jobs and prevents such conflicts.

Namespaceelasticjobjob-conflict
0 likes · 7 min read
Avoid Elastic Job Name Conflicts with Namespace Isolation
ITPUB
ITPUB
Jul 2, 2021 · Backend Development

How to Solve CORS Issues in Spring Boot: Three Practical Configuration Methods

This article explains why CORS problems arise in front‑end/back‑end separation, introduces the CORS standard and request types, details the required response headers, and provides three concrete Spring Boot solutions—including global configuration, filter‑based handling, and the @CrossOrigin annotation—complete with code examples and migration notes.

BackendCORSConfiguration
0 likes · 10 min read
How to Solve CORS Issues in Spring Boot: Three Practical Configuration Methods
Programmer DD
Programmer DD
Jun 26, 2021 · Backend Development

Implementing a Spring Boot Anti‑Crawler Filter with kk‑anti‑reptile

This article explains how to integrate the kk‑anti‑reptile anti‑crawler component into a Spring Boot application, covering system requirements, filter workflow, rule configuration, Maven setup, Redis and Apollo settings, as well as front‑end handling of the 509 response and captcha verification.

Captchaanti‑crawleraxios
0 likes · 7 min read
Implementing a Spring Boot Anti‑Crawler Filter with kk‑anti‑reptile
Code Ape Tech Column
Code Ape Tech Column
Jun 24, 2021 · Backend Development

Dynamic Configuration in Spring Boot: Comparing Nacos, Config+Bus, and Apollo

This article explains why dynamic configuration is needed for Spring Boot applications, compares three mainstream microservice configuration centers (Nacos, Config+Bus, Apollo), and provides step‑by‑step tutorials for two Spring Boot‑specific solutions with complete code examples.

Dynamic ConfigurationMicroservicesspring-boot
0 likes · 9 min read
Dynamic Configuration in Spring Boot: Comparing Nacos, Config+Bus, and Apollo
Java Captain
Java Captain
Jun 19, 2021 · Information Security

Spring Boot Vulnerability Exploitation Resources (GitHub Project)

This article introduces a GitHub repository that documents 16 Spring Boot vulnerabilities, detailing information leakage and remote code execution cases, providing step‑by‑step exploitation guides, underlying principles, and analysis for security research and authorized testing.

ExploitGitHubSecurity
0 likes · 1 min read
Spring Boot Vulnerability Exploitation Resources (GitHub Project)
Architecture Digest
Architecture Digest
Jun 11, 2021 · Backend Development

Understanding Spring Boot’s @SpringBootApplication and Auto‑Configuration Mechanism

This article explains how Spring Boot’s @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration is loaded from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat server and custom starter creation.

Starterauto-configurationdependency-injection
0 likes · 13 min read
Understanding Spring Boot’s @SpringBootApplication and Auto‑Configuration Mechanism
Programmer DD
Programmer DD
Jun 6, 2021 · Backend Development

How to Retrieve Spring Boot Project Version via API and Build Info

This article explains several ways to obtain a Spring Boot application's version number at runtime, including reading the MANIFEST.MF, loading pom.properties, using configuration files, and leveraging Spring Boot's built‑in BuildProperties via the spring‑boot‑maven‑plugin.

build-infospring-bootversion
0 likes · 7 min read
How to Retrieve Spring Boot Project Version via API and Build Info
Programmer DD
Programmer DD
May 30, 2021 · Backend Development

Why CommandLineRunner Can Halt Your Spring Boot Startup—and How to Fix It

This article explains the differences between Spring Boot’s CommandLineRunner and ApplicationRunner, illustrates common pitfalls when using CommandLineRunner—such as blocking startup and causing exceptions—and shows how to run tasks in a separate thread to avoid startup failures.

ApplicationRunnerCommandLineRunnermultithreading
0 likes · 9 min read
Why CommandLineRunner Can Halt Your Spring Boot Startup—and How to Fix It
Top Architect
Top Architect
May 29, 2021 · Backend Development

Optimizing Spring Boot Jar Packaging: Reducing Deployment Size with Dependency Separation

This article explains how to shrink large Spring Boot fat JARs and microservice deployment packages by separating dependencies into a shared lib directory, using Maven plugins and manifest configuration across four progressive levels, ultimately achieving kilobyte‑scale business JARs and faster deployments.

Deploymentjar-optimizationspring-boot
0 likes · 19 min read
Optimizing Spring Boot Jar Packaging: Reducing Deployment Size with Dependency Separation
IT Architects Alliance
IT Architects Alliance
May 12, 2021 · Backend Development

Key Components and Practical Setup of a Spring Cloud + Nginx Microservice Architecture

This article explains the main components of a Spring Cloud‑Nginx architecture, version compatibility between Spring Cloud and Spring Boot, essential middleware such as Eureka, Nacos, Zuul and Redis, environment preparation on CentOS, and the structure of the crazy‑springcloud scaffolding used for a high‑performance seckill demo.

DevOpsMicroservicesNginx
0 likes · 20 min read
Key Components and Practical Setup of a Spring Cloud + Nginx Microservice Architecture
Ops Development Stories
Ops Development Stories
May 7, 2021 · Backend Development

Mastering Sentinel: Traffic Control, Circuit Breaking, and System Protection for Microservices

This article introduces Sentinel, a Java‑based library that safeguards microservice stability through traffic shaping, circuit breaking, and system‑level protection, compares it with Hystrix and resilience4j, explains core concepts, usage patterns, annotation support, and dashboard monitoring, and provides practical code examples.

Circuit Breakingspring-boottraffic control
0 likes · 17 min read
Mastering Sentinel: Traffic Control, Circuit Breaking, and System Protection for Microservices
Architect
Architect
Apr 10, 2021 · Cloud Native

A Beginner’s Guide to Building High‑Availability Microservices on Kubernetes

This article walks readers through the complete lifecycle of designing, implementing, deploying, and validating a simple Java Spring‑Boot microservice system on Kubernetes, covering service design, registration, monitoring, tracing, traffic control, high‑availability deployment, and practical verification steps.

cloud-nativemonitoringspring-boot
0 likes · 20 min read
A Beginner’s Guide to Building High‑Availability Microservices on Kubernetes
Senior Brother's Insights
Senior Brother's Insights
Apr 8, 2021 · Backend Development

Master Spring Boot 2.4+ Multi‑Environment Config: From Deprecated Profiles to spring.config.activate.on-profile

This guide explains how Spring Boot 2.4 and later deprecates the traditional spring.profiles.active property, introduces the new spring.config.activate.on-profile mechanism, and shows step‑by‑step YAML and command‑line examples for single‑file, multi‑file, and legacy configuration styles.

ProfilesYAMLspring-boot
0 likes · 7 min read
Master Spring Boot 2.4+ Multi‑Environment Config: From Deprecated Profiles to spring.config.activate.on-profile
Programmer DD
Programmer DD
Mar 30, 2021 · Backend Development

How a Java‑Vue Open‑Source Exam System Simplifies Online Testing

The XueZhiSi online exam system is a Java + Vue full‑stack solution offering easy deployment, friendly UI, clear code structure, and features for both students and administrators across web and WeChat mini‑program platforms, with detailed technology stacks and setup instructions.

Web Developmenteducationonline exam
0 likes · 7 min read
How a Java‑Vue Open‑Source Exam System Simplifies Online Testing
macrozheng
macrozheng
Mar 1, 2021 · Information Security

Build an OAuth2 Authorization Server with Spring Authorization Server 0.1.0

This guide walks you through setting up Spring Authorization Server 0.1.0 on Spring Boot 2.4.2, covering Maven dependencies, bean configurations, token customization, and testing with curl commands for authorization code flow, token issuance, refresh, and revocation.

Authorization ServerSecurityspring
0 likes · 7 min read
Build an OAuth2 Authorization Server with Spring Authorization Server 0.1.0
Code Ape Tech Column
Code Ape Tech Column
Feb 9, 2021 · Backend Development

Graceful Shutdown of Spring Boot Services: Why kill -9 Is Dangerous and How to Stop Applications Properly

This article explains the risks of using the Linux kill -9 command to terminate Spring Boot applications, demonstrates how it can cause data inconsistency and thread interruptions, and provides several graceful shutdown techniques—including SIGTERM, Spring's ConfigurableApplicationContext, Actuator endpoints, and custom Tomcat shutdown hooks—to safely stop services and optionally perform data backup.

ActuatorGraceful ShutdownThread.interrupt
0 likes · 19 min read
Graceful Shutdown of Spring Boot Services: Why kill -9 Is Dangerous and How to Stop Applications Properly
IT Xianyu
IT Xianyu
Jan 18, 2021 · Backend Development

FastDFS Overview, Docker Installation, and Spring Boot Integration Guide

This article introduces FastDFS as a lightweight distributed file system, explains its tracker and storage components, provides step‑by‑step Docker installation commands, demonstrates how to integrate FastDFS with Spring Boot using Maven dependencies and configuration, and includes sample code for uploading, downloading, and deleting files.

FastDFSbackend-developmentdistributed storage
0 likes · 7 min read
FastDFS Overview, Docker Installation, and Spring Boot Integration Guide
Top Architect
Top Architect
Dec 21, 2020 · Backend Development

retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot

The retrofit-spring-boot-starter library provides a Spring Boot‑compatible, type‑safe HTTP client built on Retrofit, offering easy integration, customizable OkHttpClient injection, annotation‑based interceptors, connection‑pool management, logging, retry, error decoding, circuit‑breaker support, and flexible call adapters and converters for modern Java backend development.

HTTP clientMicroservicesRetrofit
0 likes · 23 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Java Architecture Diary
Java Architecture Diary
Dec 9, 2020 · Backend Development

Implementing Retry Patterns in Microservices with Resilience4j

Learn how to design resilient microservices by implementing retry mechanisms using Resilience4j, including configuration, code examples for order and product services, handling exceptions, and testing the automatic retry behavior to improve system availability while noting limitations for non‑idempotent APIs.

Distributed SystemsMicroservicesRetry
0 likes · 7 min read
Implementing Retry Patterns in Microservices with Resilience4j
Java Architecture Diary
Java Architecture Diary
Dec 7, 2020 · Backend Development

Speed Up Spring Boot Startup with Actuator’s Startup Endpoint

This article explains how to use Spring Boot 2.4's actuator startup endpoint to monitor and analyze application initialization time, offering practical steps, configuration examples, code snippets, and a test case to identify and optimize slow components such as database pools and custom beans.

performancespring-bootstartup-monitoring
0 likes · 6 min read
Speed Up Spring Boot Startup with Actuator’s Startup Endpoint
Java Architecture Diary
Java Architecture Diary
Nov 10, 2020 · Backend Development

Ensuring Idempotency in Spring Boot: Token-Based Approach with Redis

This article explains the concept of idempotency, its importance in distributed systems, and demonstrates a practical implementation in Spring Boot using a token-based annotation, Redis configuration, and sample code, along with testing results that show only one successful response among concurrent requests.

Idempotencyspring-boot
0 likes · 6 min read
Ensuring Idempotency in Spring Boot: Token-Based Approach with Redis
Top Architect
Top Architect
Nov 2, 2020 · Backend Development

Spring Boot Packaging with Maven Profiles and Shell Deployment Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin to create a zip deployment package, and employ a custom shell script (shenniu_publish.sh) to unzip, start, stop, and restart a Spring Boot jar on Linux, streamlining the build‑and‑deploy workflow.

Assembly pluginBackendDeployment
0 likes · 13 min read
Spring Boot Packaging with Maven Profiles and Shell Deployment Script
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 30, 2020 · Backend Development

Comprehensive Guide to Creating and Using Maven Projects

This article explains why Maven is essential for Java projects, describes its lifecycle and standard directory layout, shows how to install and configure Maven, create a project in IntelliJ, manage dependencies, use plugins, build multi‑module projects, and package Spring Boot applications.

Build Automationcontinuous integrationdependency management
0 likes · 9 min read
Comprehensive Guide to Creating and Using Maven Projects
Java Captain
Java Captain
Oct 18, 2020 · Backend Development

Common Spring Boot Annotations and Their Usage

This article provides a comprehensive overview of common Spring Boot annotations, including @SpringBootApplication, @RestController, @RequestMapping, and JPA annotations, explaining their purposes, usage, and example code snippets for building Java backend applications effectively.

jpaspring-bootspring-mvc
0 likes · 9 min read
Common Spring Boot Annotations and Their Usage
Selected Java Interview Questions
Selected Java Interview Questions
Oct 1, 2020 · Cloud Native

A Comprehensive Guide to Microservices Architecture and Adoption

This article explains the origins, principles, advantages, disadvantages, adoption criteria, architectural stages, required infrastructure, design patterns, service splitting methods, and popular frameworks for building cloud‑native microservices, helping engineers decide when and how to transition from monoliths to microservice‑based systems.

Service Mesharchitecturecloud-native
0 likes · 16 min read
A Comprehensive Guide to Microservices Architecture and Adoption
Architecture Digest
Architecture Digest
Sep 9, 2020 · Backend Development

Spring Boot Best Practices for Building Robust Microservices

This article presents a comprehensive collection of Spring Boot best practices—ranging from custom BOM dependency management and auto‑configuration to project initialization, code organization, controller and service design, database isolation, concurrency handling, externalized configuration, logging, and testing—to help developers create maintainable, high‑quality microservice applications.

auto-configurationbest-practicesdependency management
0 likes · 12 min read
Spring Boot Best Practices for Building Robust Microservices
Java Architect Essentials
Java Architect Essentials
Aug 23, 2020 · Backend Development

Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components

This article introduces Spring Cloud as a Spring Boot‑based microservice framework, explains the fundamentals of service architecture through an illustrative story, and details essential components such as service registry, discovery, load balancing, circuit breaking, configuration management, messaging bus, and tracing, accompanied by practical code examples.

BackendMicroservicescircuit-breaker
0 likes · 12 min read
Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components
Senior Brother's Insights
Senior Brother's Insights
Aug 21, 2020 · Backend Development

What’s New in Spring Boot 2.3.3? Features, Bug Fixes & Dependency Upgrades

Spring Boot 2.3.3 stable release brings 67 improvements including HTTP/2 support without mandatory Jetty/Conscrypt, numerous bug fixes such as handling null values in SPRING_APPLICATION_JSON, endpoint ID migration, Reactor debug issues, OCI image build failures, and upgraded dependencies, with full details on the GitHub release page.

BugFixesnew-featuresrelease
0 likes · 4 min read
What’s New in Spring Boot 2.3.3? Features, Bug Fixes & Dependency Upgrades
Java Architecture Diary
Java Architecture Diary
Aug 19, 2020 · Backend Development

What Changed in Spring Boot 2.4 Config File Processing?

Spring Boot 2.4 introduces a major overhaul of how application.properties and application.yml files are processed, adding deterministic document ordering, new profile activation keys, support for multi‑document properties, profile groups, import of external configuration, and Kubernetes‑aware volume mounts, while preserving backward compatibility through a legacy mode.

ConfigurationKubernetesYAML
0 likes · 12 min read
What Changed in Spring Boot 2.4 Config File Processing?
Top Architect
Top Architect
Aug 15, 2020 · Backend Development

Integrating Retrofit with Spring Boot via retrofit-spring-boot-starter

This article explains how to use the retrofit‑spring‑boot‑starter library to seamlessly combine Square's Retrofit HTTP client with Spring Boot, covering dependency setup, annotation configuration, interface definition, injection, annotation‑based interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors.

HTTP clientRetrofitspring-boot
0 likes · 14 min read
Integrating Retrofit with Spring Boot via retrofit-spring-boot-starter
Programmer DD
Programmer DD
Aug 14, 2020 · Backend Development

Switching Spring Boot Cache from EhCache to Redis for Strong Consistency

This tutorial explains why in‑process caches like EhCache can cause consistency problems in clustered environments and demonstrates step‑by‑step how to replace EhCache with Redis in a Spring Boot 2.x application, including dependency setup, configuration, and a unit test that verifies caching behavior.

EhcacheJavaSpring Data Redis
0 likes · 7 min read
Switching Spring Boot Cache from EhCache to Redis for Strong Consistency
Java Architecture Diary
Java Architecture Diary
Aug 11, 2020 · Backend Development

What’s New in Spring Boot Admin 2.3.0? Key Features and Upgrade Guide

Spring Boot Admin 2.3.0, built on Spring Boot 2.3.x and Spring Cloud Hoxton.SR7, introduces i18n support, metadata configuration, request‑body caching, a new ApplicationRegistrator interface, MBean name display improvements, and enhanced alarm notifications, with full dependency details and demo screenshots provided.

i18nrelease-notesspring-boot
0 likes · 2 min read
What’s New in Spring Boot Admin 2.3.0? Key Features and Upgrade Guide
Programmer DD
Programmer DD
Aug 7, 2020 · Backend Development

Mastering Spring’s Event System: From Events to Listeners and Broadcasters

This article explains Spring's event mechanism, covering the ApplicationEvent API, built‑in events, listener registration via @EventListener, the internal processing flow, SimpleApplicationEventMulticaster broadcasting, and the specific event types and listeners used in Spring Boot.

EventJavaspring-boot
0 likes · 10 min read
Mastering Spring’s Event System: From Events to Listeners and Broadcasters