Tagged articles

spring-boot

366 articles · Page 3 of 4
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Designing Modular Backend Services and API Management with Spring Cloud

This article explains how to build a highly extensible, modular backend service using Spring Cloud, demonstrates practical module composition and separation, discusses RESTful API design principles, presents concrete Java code examples for commands, controllers and pagination, and reviews popular API documentation tools such as Swagger, SpringDoc and Knife4j.

RESTfulapi-designbackend
0 likes · 17 min read
Designing Modular Backend Services and API Management with Spring Cloud
Top Architect
Top Architect
Sep 29, 2022 · Backend Development

Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions

This article explains the causes of duplicate message consumption in RabbitMQ, demonstrates how to reproduce the issue with a 10,000‑message test, and provides three practical solutions using unique IDs stored in Redis to ensure idempotent processing in Java Spring applications.

backendduplicate-consumptionmessage-queue
0 likes · 9 min read
Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions
dbaplus Community
dbaplus Community
Sep 25, 2022 · Operations

How to Achieve Zero‑Downtime Application Deployments with Spring Boot and Eureka

This article explains why zero‑downtime releases are essential for modern services, defines three maturity levels, compares common release patterns, outlines the required technical components, and provides step‑by‑step Spring Boot/Eureka procedures—including configuration and graceful‑shutdown scripts—to keep applications available during deployment.

EurekaOperationsdeployment
0 likes · 20 min read
How to Achieve Zero‑Downtime Application Deployments with Spring Boot and Eureka
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 20, 2022 · Cloud Native

Build a High‑Availability Microservices System on Kubernetes: Step‑by‑Step Guide

This comprehensive tutorial walks you through designing a simple front‑back separation microservice project, implementing it with Spring Boot, deploying it on a Kubernetes cluster using K8seasy, and adding essential features such as service registration, multi‑instance high availability, monitoring with Prometheus and Grafana, logging via Kafka, tracing with Zipkin, and flow control with Sentinel, all verified through dashboards and tracing tools.

KubernetesMonitoringSentinel
0 likes · 21 min read
Build a High‑Availability Microservices System on Kubernetes: Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2022 · Backend Development

Understanding Spring Boot Auto‑Configuration Mechanism

This article explains how Spring Boot’s auto‑configuration works, covering the role of application properties, the @EnableAutoConfiguration annotation, condition annotations, the spring.factories mechanism, and how configuration properties are bound to beans such as ServerProperties to make settings like server.port effective.

auto-configurationbackendconfiguration-properties
0 likes · 7 min read
Understanding Spring Boot Auto‑Configuration Mechanism
Code Ape Tech Column
Code Ape Tech Column
Sep 2, 2022 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Microservices

This article shares sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOMs and automatic configuration to clean controller design, constructor injection, externalized configuration, and comprehensive testing—to help developers create maintainable, scalable Java microservices.

Dependency Managementbest practicesspring-boot
0 likes · 13 min read
Spring Boot Best Practices: 16 Tips for Building Robust Microservices
Top Architect
Top Architect
Aug 27, 2022 · Backend Development

Spring Retry and Guava Retry Frameworks: Concepts, Configuration, and Practical Code Examples

This article provides a comprehensive guide to using Spring Retry and Guava Retry in Java applications, covering dependency setup, basic and annotation-based usage, various retry and back‑off policies, code examples, and a comparison of both frameworks to help developers implement robust retry mechanisms.

backoff-policyexception-handlingretry
0 likes · 15 min read
Spring Retry and Guava Retry Frameworks: Concepts, Configuration, and Practical Code Examples
Senior Brother's Insights
Senior Brother's Insights
Aug 25, 2022 · Backend Development

Mastering Spring Transaction Management: From Basics to Propagation Types

This article explains the fundamentals of Spring transactions, demonstrates how to set up a Spring Boot project with MySQL and MyBatis, walks through declarative transaction usage, compares REQUIRED, REQUIRES_NEW, and NESTED propagation behaviors with code examples, and highlights common pitfalls and best‑practice steps.

propagationspring-boot
0 likes · 18 min read
Mastering Spring Transaction Management: From Basics to Propagation Types
Wukong Talks Architecture
Wukong Talks Architecture
Aug 8, 2022 · Backend Development

Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket

This article explains various web message‑push techniques—including short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket—detailing their principles, advantages, drawbacks, and providing complete Spring Boot and JavaScript code examples for real‑time notification badges.

MQTTMessage PushSSE
0 likes · 18 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousEventapplication-event
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Java Architect Essentials
Java Architect Essentials
Jul 10, 2022 · Backend Development

Why @Configuration + @Bean Overrides @Component in Spring Boot and How Bean Definition Overriding Evolved

This article explains why, in Spring Boot 2.0.3, a bean defined with @Configuration + @Bean replaces a @Component‑annotated bean of the same type, shows how to verify which bean is instantiated, and describes the framework’s evolution—including the allowBeanDefinitionOverriding setting—that gives developers control over bean overriding behavior.

Bean OverridingComponentjava
0 likes · 7 min read
Why @Configuration + @Bean Overrides @Component in Spring Boot and How Bean Definition Overriding Evolved
Programmer DD
Programmer DD
Jun 15, 2022 · Backend Development

Boost Spring Boot Performance: Master Logback Async Logging & File Segmentation

Learn how to configure Logback in Spring Boot to separate logs by level, implement asynchronous logging for reduced I/O latency, and verify performance gains—up to tenfold throughput improvement—using JMeter tests on a six‑core, 8 GB server, with detailed XML snippets and code explanations.

Performance Testingasynchronous loggingspring-boot
0 likes · 11 min read
Boost Spring Boot Performance: Master Logback Async Logging & File Segmentation
Java Backend Technology
Java Backend Technology
Jun 15, 2022 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication

This comprehensive guide explains the most commonly used Spring Boot annotations—including MVC mapping, bean definitions, dependency injection, scope management, container configuration, and bootstrapping—providing clear examples and visual diagrams to help developers write cleaner, more efficient Java code.

annotationsdependency-injectionrest-controller
0 likes · 16 min read
Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication
Top Architect
Top Architect
Jun 7, 2022 · Backend Development

Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article compares three request‑merging approaches—Hystrix Collapser, a custom BatchCollapser implementation, and Guava’s ConcurrentHashMultiset—explaining their configurations, code examples, and suitable scenarios for reducing downstream load and improving system throughput while also highlighting performance trade‑offs and practical tips for integration in Spring‑Boot services.

Hystrixbackendbatch-processing
0 likes · 14 min read
Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
macrozheng
macrozheng
Jun 7, 2022 · Backend Development

How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide

This guide walks you through upgrading to Spring Boot 3.0 by adopting Java 17, moving to Spring Boot 2.7 first, cleaning deprecated APIs, adjusting configuration files, handling profile activation, and addressing compatibility and performance changes such as the new PathPatternParser.

ConfigurationMigrationbackend
0 likes · 9 min read
How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide
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.

KubernetesMonitoringcloud-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.

DTOHibernate ValidatorSpring
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.

cloud-nativemicrometerspring-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 pluginProfilesShell script
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.

CGLIBDynamic ManagementScheduled Tasks
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.

CORSbackendduplicate-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.

Jakarta EEJava 17dependency-upgrade
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.

api-securityauthenticationspring-boot
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.

microservicesopen-sourcepayment
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.

Migrationjakarta-eejava-17
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 loginspring-bootwebsocket
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.

architecturedistributed-systemsservice mesh
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.

Prometheusmicroservicesspring-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.

Configuration Encryptionbackendspring-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.

ElasticJobNamespacejob-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.

CORSConfigurationbackend
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.

Redisanti‑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.

GitHubVulnerabilityexploit
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.

auto-configurationdependency-injectionspring-boot
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.

DevOpsNginxarchitecture
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.

Monitoringcloud-nativespring-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.

Profilesspring-bootspring-config
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.

Springauthorization-serversecurity
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.

ActuatorThread.interruptgraceful-shutdown
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 clientRetrofitcircuit-breaker
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.

Resilience4jdistributed systemsmicroservices
0 likes · 7 min read
Implementing Retry Patterns in Microservices with Resilience4j