Tagged articles

Spring Boot

4358 articles · Page 26 of 44
Programmer DD
Programmer DD
Jul 7, 2023 · Backend Development

Master Spring Boot’s Built‑In Utility Classes for Faster Development

This article introduces the most useful Spring Boot utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AOP helpers—explaining their purpose, key methods, and code examples to help Java developers write cleaner, more efficient backend code.

Spring BootUtility Classesbackend development
0 likes · 14 min read
Master Spring Boot’s Built‑In Utility Classes for Faster Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 6, 2023 · Databases

Master Spring Boot 2.3 with Elasticsearch 7.8: Full CRUD and Advanced Queries

This guide demonstrates how to integrate Spring Boot 2.3.10 with Elasticsearch 7.8 using the high‑level REST client, covering required Maven dependencies, index creation, retrieval, deletion, document CRUD operations, bulk processing, and a variety of advanced search techniques such as paging, sorting, filtering, range, highlighting, aggregations, and grouping.

CRUDElasticsearchSpring Boot
0 likes · 12 min read
Master Spring Boot 2.3 with Elasticsearch 7.8: Full CRUD and Advanced Queries
Su San Talks Tech
Su San Talks Tech
Jul 6, 2023 · Databases

Master ShardingSphere: Quick Sharding with Spring Boot and YML

This tutorial walks through the fundamentals and architecture of ShardingSphere, compares it with other sharding tools, and demonstrates how to implement database sharding in a Spring Boot project using both YML configuration and pure Java code, including detailed code snippets and deployment tips.

ShardingShardingSphereSpring Boot
0 likes · 22 min read
Master ShardingSphere: Quick Sharding with Spring Boot and YML
Top Architect
Top Architect
Jul 5, 2023 · Backend Development

Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)

This article explains how to integrate IP geolocation into a Spring Boot application by using the ip2region library for offline lookups and an online API for real‑time address resolution, providing code samples, dependency setup, caching strategies, and an interceptor to attach IP information to every request.

IP GeolocationInterceptorSpring Boot
0 likes · 12 min read
Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)
Code Ape Tech Column
Code Ape Tech Column
Jul 4, 2023 · Backend Development

Guide to Using Apache Pulsar Java Client with Spring Boot

This tutorial explains how to deploy a single‑node Pulsar cluster with Docker, configure the Java client in a Spring Boot application, and create producers and consumers with detailed code examples and parameter explanations.

Apache PulsarProducerSpring Boot
0 likes · 11 min read
Guide to Using Apache Pulsar Java Client with Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Jul 4, 2023 · Backend Development

Implement Distributed Log Tracing in Spring Boot with MDC and traceId

This guide explains how to add a unique traceId to each request in a Spring Boot application, configure Logback/MDC to record it, propagate the ID across microservice calls and asynchronous threads using OpenFeign, RestTemplate, and TransmittableThreadLocal, enabling complete distributed log tracing.

MDCOpenFeignSpring Boot
0 likes · 18 min read
Implement Distributed Log Tracing in Spring Boot with MDC and traceId
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 3, 2023 · Backend Development

Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide

This guide demonstrates how to integrate Spring Boot 2.3.10 with Elasticsearch 7.8, covering Maven dependencies, application configuration, data model annotations, repository interfaces, custom query methods, and comprehensive JUnit tests using both repository and ElasticsearchRestTemplate approaches.

ElasticsearchSpring Bootbackend development
0 likes · 6 min read
Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide
Architecture Digest
Architecture Digest
Jun 30, 2023 · Backend Development

Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article explains why rate limiting is critical for microservice architectures, reviews common limiting algorithms, and provides step‑by‑step implementations using Dubbo, Spring Cloud, Guava token‑bucket, Sentinel, Redis+Lua, and a reusable Spring Boot starter with custom annotations and AOP.

AOPGuavaRedis
0 likes · 27 min read
Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 27, 2023 · Backend Development

Implementing Distributed Locks in Spring Boot with Redisson

This article explains how Redisson extends Redis to provide a rich set of distributed Java objects and services, walks through integrating Redisson into a Spring Boot project, demonstrates various lock types (reentrant, read‑write, semaphore, latch) with code examples, and details the internal watchdog mechanism that guarantees atomic lock acquisition and automatic renewal.

RedisRedissonSemaphore
0 likes · 19 min read
Implementing Distributed Locks in Spring Boot with Redisson
Java Architecture Diary
Java Architecture Diary
Jun 27, 2023 · Backend Development

What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x

This article reviews the latest Mica releases, highlighting version compatibility with Spring Boot, new Redis and XSS features, core utility enhancements, bug fixes, and upcoming support for Spring Boot 3.1.x, providing developers with a concise overview of the library’s recent advancements.

RedisSpring Bootbackend development
0 likes · 4 min read
What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x
MaGe Linux Operations
MaGe Linux Operations
Jun 23, 2023 · Backend Development

Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully

This article explains the dangers of using the Linux kill -9 command on Java services, especially Spring Boot applications, and demonstrates several graceful shutdown techniques—including using SIGTERM, Tomcat's shutdown hooks, Spring Actuator, and custom shutdown configurations—to avoid data loss and ensure clean termination.

ActuatorLinux killProcess Management
0 likes · 20 min read
Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully
Top Architect
Top Architect
Jun 21, 2023 · Backend Development

Introduction to Spring WebFlux and Reactive Programming

This article explains the fundamentals of Spring WebFlux, its reactive programming model with Mono and Flux, compares it to Spring MVC, and provides practical code examples for building non‑blocking backend services using Spring Boot.

FluxReactive ProgrammingSpring Boot
0 likes · 9 min read
Introduction to Spring WebFlux and Reactive Programming
Architecture Digest
Architecture Digest
Jun 21, 2023 · Operations

One-Click Automated Deployment of Spring Boot with Jenkins and Docker

This tutorial provides a complete, step‑by‑step guide to set up a one‑click automated deployment pipeline for a Spring Boot application using Docker, Jenkins, Maven, and shell scripts on a CentOS 7 host, covering installation, configuration, job creation, testing, and execution.

AutomationCI/CDDevOps
0 likes · 7 min read
One-Click Automated Deployment of Spring Boot with Jenkins and Docker
Java Architecture Diary
Java Architecture Diary
Jun 21, 2023 · Backend Development

Boost Java Concurrency with Project Loom: A Hands‑On Guide to Virtual Threads

Learn how Project Loom’s virtual threads can replace heavyweight OS threads in Java Spring Boot applications, enabling one‑thread‑per‑request models, improving throughput under high concurrency, with step‑by‑step setup, code samples, and performance comparisons across 100‑, 300‑ and 500‑thread tests.

Java concurrencyPerformance TestingProject Loom
0 likes · 7 min read
Boost Java Concurrency with Project Loom: A Hands‑On Guide to Virtual Threads
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 19, 2023 · Backend Development

Elegant Unified Response and Global Exception Handling in Spring Boot

The article explains how Spring Boot projects can adopt a standard JSON response structure using a generic ResponseVO class and achieve automatic wrapping and global exception handling through a custom @ResponseResultBody annotation combined with ResponseBodyAdvice and @ControllerAdvice, reducing repetitive code and improving robustness.

ResponseBodyAdviceResponseVORestControllerAdvice
0 likes · 14 min read
Elegant Unified Response and Global Exception Handling in Spring Boot
Java Architect Essentials
Java Architect Essentials
Jun 15, 2023 · Backend Development

Mastering Java Plugin Architecture: From SPI to Spring Factories

This article explains why and how to use plugin mechanisms in Java, covering the benefits of modular decoupling, common implementation patterns such as ServiceLoader, custom configuration loading, and Spring Boot's spring.factories, and provides step‑by‑step code examples and practical case studies.

SPISpring Bootarchitecture
0 likes · 22 min read
Mastering Java Plugin Architecture: From SPI to Spring Factories
Architecture Digest
Architecture Digest
Jun 15, 2023 · Backend Development

How to Package Spring Boot Projects as JAR and WAR

This article explains the differences between JAR and WAR packaging for Spring Boot applications, shows why embedded Tomcat behaves differently from external Tomcat, and provides step‑by‑step instructions with Maven commands and pom.xml modifications to build both JAR and WAR artifacts.

MavenPackagingServlet
0 likes · 13 min read
How to Package Spring Boot Projects as JAR and WAR
Programmer DD
Programmer DD
Jun 15, 2023 · Backend Development

Mastering Java Plugin Architecture: From SPI to Spring Factories

This article explains the concept and advantages of plugin-based development, outlines common implementation strategies in Java, demonstrates practical SPI and custom configuration approaches, and shows how Spring Boot’s spring.factories mechanism can be used to build extensible backend systems.

Plugin architectureSPISpring Boot
0 likes · 23 min read
Mastering Java Plugin Architecture: From SPI to Spring Factories
Java Architect Essentials
Java Architect Essentials
Jun 15, 2023 · Backend Development

Introduction to Spring WebFlux and Reactive Programming

This article introduces Spring WebFlux, a reactive web framework introduced in Spring 5, explains the concept of reactive programming, compares it with Spring MVC, describes its concurrency model, and provides practical code examples for building a WebFlux application with Spring Boot.

Reactive ProgrammingReactorSpring Boot
0 likes · 8 min read
Introduction to Spring WebFlux and Reactive Programming
Sohu Tech Products
Sohu Tech Products
Jun 14, 2023 · Backend Development

Easy-Trans: A Spring Boot Plugin for Automatic Data Translation Across Services

Easy-Trans is a Spring Boot starter that leverages ORM frameworks like MyBatis‑Plus, JPA, and BeetlSQL to automatically translate IDs, dictionary codes, and enum values into human‑readable data, supporting caching, multi‑data‑source, micro‑service RPC, and flexible configuration for backend developers.

Data TranslationEasy-TransMicroservices
0 likes · 6 min read
Easy-Trans: A Spring Boot Plugin for Automatic Data Translation Across Services
Architecture Digest
Architecture Digest
Jun 14, 2023 · Backend Development

Understanding Spring WebFlux: Reactive Web Development with Spring

This article introduces Spring WebFlux as a reactive, non‑blocking web framework for Java, explains the concepts of reactive programming, compares it with Spring MVC, and provides practical code examples—including Mono/Flux usage, routing, and handlers—to help developers build and run a WebFlux application with Spring Boot.

Reactive ProgrammingReactorSpring Boot
0 likes · 8 min read
Understanding Spring WebFlux: Reactive Web Development with Spring
Selected Java Interview Questions
Selected Java Interview Questions
Jun 14, 2023 · Backend Development

Understanding MyBatis First‑Level and Second‑Level Cache and Their Integration with Spring Boot

The article explains MyBatis first‑level and second‑level caching mechanisms, their activation conditions, integration pitfalls with Spring Boot, and how to enable and use them safely, including configuration steps, code examples, and warnings about hidden risks of second‑level cache.

First-Level CacheMyBatisSecond-Level Cache
0 likes · 12 min read
Understanding MyBatis First‑Level and Second‑Level Cache and Their Integration with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jun 12, 2023 · Backend Development

Integrating MinIO Object Storage with Spring Boot: Configuration, Code Samples, and API Endpoints

This guide introduces MinIO as an S3‑compatible object storage service and walks through its installation, Maven dependencies, Spring Boot configuration, Java client setup, REST controller implementation for file upload, preview, download, and deletion, and includes debugging screenshots.

MinIOSpring Bootbackend development
0 likes · 5 min read
Integrating MinIO Object Storage with Spring Boot: Configuration, Code Samples, and API Endpoints
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 12, 2023 · Backend Development

Step‑by‑Step: Configure, Deploy, and Run a Camunda BPM Workflow with Spring Boot

This guide walks through setting up Camunda BPM 7.18 with Spring Boot 2.6.14, configuring dependencies and application properties, designing a two‑step approval workflow, deploying it via custom REST endpoints, and managing process start and task approval using Camunda’s services and APIs.

CamundaProcess AutomationREST API
0 likes · 12 min read
Step‑by‑Step: Configure, Deploy, and Run a Camunda BPM Workflow with Spring Boot
Su San Talks Tech
Su San Talks Tech
Jun 10, 2023 · Information Security

How to Secure Your Public APIs: Anti‑Tampering and Anti‑Replay Strategies in Spring Boot

This article explains why publicly exposed APIs are vulnerable, describes the concepts of anti‑tampering and anti‑replay protection, and provides a complete Spring Boot implementation—including request signing, timestamp and nonce validation, and Redis‑based replay detection—to safeguard API endpoints.

API securityAnti-replayRedis
0 likes · 15 min read
How to Secure Your Public APIs: Anti‑Tampering and Anti‑Replay Strategies in Spring Boot
Java Architect Essentials
Java Architect Essentials
Jun 8, 2023 · Backend Development

How to Build a MinIO Object Storage Service with Docker, Spring Boot, and Vue

This article demonstrates step‑by‑step how to set up a high‑performance MinIO object storage service using Docker, configure it in a Spring Boot application, and integrate file upload functionality with a Vue/Element‑UI front‑end, including code snippets for Docker commands, Java client setup, and UI implementation.

DockerMinIOSpring Boot
0 likes · 12 min read
How to Build a MinIO Object Storage Service with Docker, Spring Boot, and Vue
JD Cloud Developers
JD Cloud Developers
Jun 8, 2023 · Backend Development

How to Build a Maven Archetype Scaffold for Spring Boot Projects

This guide explains what a scaffolding tool is, why it’s essential for micro‑service development, and provides step‑by‑step instructions for creating, publishing, and using a Maven archetype scaffold with Spring Boot, including Maven configuration, version handling, and repository deployment.

ArchetypeMavenProject Generation
0 likes · 7 min read
How to Build a Maven Archetype Scaffold for Spring Boot Projects
Open Source Linux
Open Source Linux
Jun 6, 2023 · Backend Development

Explore a Lightweight Redis GUI with Full CRUD for All Data Types

This guide introduces a lightweight Redis graphical management tool that offers full CRUD support for all Redis data types, outlines its Spring Boot backend and Vue frontend stack, provides step‑by‑step installation and Docker deployment instructions, and details current features, UI screenshots, and future development plans.

CRUDDockerRedis
0 likes · 4 min read
Explore a Lightweight Redis GUI with Full CRUD for All Data Types
Java High-Performance Architecture
Java High-Performance Architecture
Jun 3, 2023 · Backend Development

Boost Java Backend Productivity with MyBatis-Plus Generator UI

This article introduces the MyBatis-Plus Generator UI, a web‑based tool that wraps MyBatis‑Plus code generation to quickly produce Spring Boot compatible entities, mappers, services and controllers, explains how to integrate it via Maven and a main class, and demonstrates its rich customization and UI features.

Spring Bootcode generationgenerator UI
0 likes · 13 min read
Boost Java Backend Productivity with MyBatis-Plus Generator UI
JD Cloud Developers
JD Cloud Developers
Jun 1, 2023 · Backend Development

How to Build a DDD‑Based Maven Archetype for a Scalable CMS

This article guides you through refining a classic three‑layer architecture into a domain‑driven design, structuring the project with Maven Archetype, and implementing a simple CMS with both backend (Spring Boot) and frontend (Vue) components, complete with step‑by‑step setup instructions.

ArchetypeDDDMaven
0 likes · 15 min read
How to Build a DDD‑Based Maven Archetype for a Scalable CMS
MaGe Linux Operations
MaGe Linux Operations
May 30, 2023 · Databases

Explore a Lightweight Redis GUI: Features, Setup, and Future Plans

This article introduces a lightweight Redis graphical management tool, outlines its backend (Spring Boot) and frontend (Vue) architecture, provides step‑by‑step installation instructions including Docker usage, describes current features like multi‑user management and permission control, and shares future development plans with screenshots and the project repository link.

Admin ToolDatabase ManagementGUI
0 likes · 4 min read
Explore a Lightweight Redis GUI: Features, Setup, and Future Plans
Architecture Digest
Architecture Digest
May 30, 2023 · Backend Development

Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans

This document introduces a lightweight Redis graphical management tool, outlines its Spring Boot backend and Vue frontend architecture, provides step‑by‑step installation instructions including Docker deployment, details recent feature enhancements such as multi‑user support and permission control, and mentions future plans for clustering and sentinel modes.

DatabaseRedisSpring Boot
0 likes · 3 min read
Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans
Code Ape Tech Column
Code Ape Tech Column
May 30, 2023 · Backend Development

TLog: A Lightweight Log Tracing Framework for Java Microservices

TLog is a near‑zero‑intrusion logging framework that automatically tags logs with traceId and other context information, enabling fast end‑to‑end request tracing across microservices, supporting various integration methods, async threads, RPC, HTTP clients, gateways, MQ, and common task schedulers.

MicroservicesSpring BootTLog
0 likes · 12 min read
TLog: A Lightweight Log Tracing Framework for Java Microservices
macrozheng
macrozheng
May 29, 2023 · Backend Development

10 Essential Spring Boot Parameter Validation Techniques You Must Know

This guide explains ten practical ways to enforce robust parameter validation in Spring Boot applications, covering built‑in annotations, custom constraints, server‑side checks, meaningful error messages, internationalization, validation groups, cross‑field rules, exception handling, testing strategies, and client‑side considerations.

JSR-303Spring Bootjava
0 likes · 17 min read
10 Essential Spring Boot Parameter Validation Techniques You Must Know
Java Captain
Java Captain
May 29, 2023 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This tutorial demonstrates how to create Spring Boot scheduled tasks whose execution intervals can be changed at runtime using either a configurable cron expression or a flexible periodic trigger, complete with code examples and a REST API for updating the schedule.

Dynamic SchedulingSpring Bootbackend development
0 likes · 10 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
May 29, 2023 · Backend Development

How to Build a Clean Business Operation Log System with Spring AOP

This article explains the design and implementation of a business operation logging feature in a Spring Boot application, contrasting flawed hard‑coded approaches with a clean AOP‑based solution, and provides full code snippets, configuration, database schema, and testing tips.

AOPSpring Bootbackend development
0 likes · 16 min read
How to Build a Clean Business Operation Log System with Spring AOP
Java Architect Essentials
Java Architect Essentials
May 28, 2023 · Artificial Intelligence

Face-UI: Web-Based Facial Login System Using Spring Boot and Vue

This article introduces FACE-UI, a front‑back separated web application that implements facial login by capturing a photo via the browser, sending it to a Spring Boot backend, and using Tencent Cloud's face comparison API for authentication, with full setup instructions and code examples.

Spring BootTencent CloudVue
0 likes · 4 min read
Face-UI: Web-Based Facial Login System Using Spring Boot and Vue
Java Architect Essentials
Java Architect Essentials
May 28, 2023 · Backend Development

Building an Enterprise OSS Object Storage Spring Boot Starter Based on Amazon S3

This article explains how to create a reusable Spring Boot starter for enterprise‑level object storage services by leveraging the Amazon S3 protocol, covering OSS fundamentals, dependency setup, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and testing with code examples.

Amazon S3OSSSpring Boot
0 likes · 15 min read
Building an Enterprise OSS Object Storage Spring Boot Starter Based on Amazon S3
Code Ape Tech Column
Code Ape Tech Column
May 26, 2023 · Backend Development

Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud

This article explains the concept, advantages, design considerations, and step‑by‑step implementation of a multi‑tenant architecture using Spring Boot and Spring Cloud, covering database strategies, tenant isolation, dynamic routing, and deployment scenarios for SaaS applications.

Database isolationMicroservicesMulti‑Tenant
0 likes · 14 min read
Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud
Top Architect
Top Architect
May 25, 2023 · Backend Development

Using URule Rule Engine in Java Projects: Installation, Configuration, and Practical Examples

This article introduces the URule rule engine, compares it with other engines, explains its features, demonstrates how to install and configure it in a Spring Boot project, and provides detailed guidance on creating variable, constant, parameter, and action libraries, building rule sets, decision tables, and applying them to real‑world scenarios.

Spring BootURulebackend development
0 likes · 17 min read
Using URule Rule Engine in Java Projects: Installation, Configuration, and Practical Examples
Java Interview Crash Guide
Java Interview Crash Guide
May 25, 2023 · Backend Development

Top 16 Spring Boot Best Practices to Supercharge Your Backend

This article presents sixteen practical Spring Boot best‑practice recommendations—including custom BOM management, auto‑configuration, project initialization, code organization, dependency injection, concurrency handling, externalized configuration, logging, testing, and more—to help developers build robust, maintainable microservices efficiently.

Spring Bootbackend developmentjava
0 likes · 13 min read
Top 16 Spring Boot Best Practices to Supercharge Your Backend
Code Ape Tech Column
Code Ape Tech Column
May 24, 2023 · Backend Development

Sa-Token: A Lightweight Java Authentication and Authorization Framework

This article introduces Sa-Token, a lightweight Java permission authentication framework, explains why it was chosen over Spring Security and Shiro, details its core login and permission APIs, demonstrates integration with Spring Boot and WebFlux, and lists its extensive feature set for modern backend development.

Sa-TokenSpring Bootauthentication
0 likes · 21 min read
Sa-Token: A Lightweight Java Authentication and Authorization Framework
Programmer DD
Programmer DD
May 23, 2023 · Cloud Native

Achieve Zero‑Downtime Deployments with K8s and Spring Boot: Health Checks, Rolling Updates, and Autoscaling

This guide explains how to combine Kubernetes and Spring Boot to implement zero‑downtime releases by configuring readiness and liveness probes, defining graceful shutdown, applying rolling update strategies, setting up horizontal pod autoscaling, integrating Prometheus monitoring, and separating configuration via ConfigMaps for reusable images.

AutoscalingPrometheusSpring Boot
0 likes · 13 min read
Achieve Zero‑Downtime Deployments with K8s and Spring Boot: Health Checks, Rolling Updates, and Autoscaling
Programmer DD
Programmer DD
May 23, 2023 · Backend Development

How to Detect and Resolve Circular Dependencies in Spring Boot

This article explains what circular dependencies are in Spring Boot, describes the symptoms and errors introduced in recent versions, and provides multiple practical solutions—including constructor injection, @Lazy, @DependsOn, and interface segregation—along with clear code examples for each approach.

@LazyCircular DependencySpring Boot
0 likes · 8 min read
How to Detect and Resolve Circular Dependencies in Spring Boot
Top Architect
Top Architect
May 22, 2023 · Backend Development

Understanding Spring Boot's Four Core Components: Starter, Autoconfigure, CLI, and Actuator

This article explains the purpose and usage of Spring Boot's four main components—Starter, Autoconfigure, CLI, and Actuator—providing Maven and YAML examples, code snippets, and practical guidance for backend developers to simplify dependency management, bean configuration, command‑line tooling, and production monitoring.

ActuatorAutoconfigureCLI
0 likes · 10 min read
Understanding Spring Boot's Four Core Components: Starter, Autoconfigure, CLI, and Actuator
macrozheng
macrozheng
May 22, 2023 · Backend Development

How to Integrate URule Rule Engine into Spring Boot: A Hands‑On Guide

This article walks through the background, core concepts, installation steps, library definitions, rule set creation, decision table usage, and a real‑world promotion scenario for integrating the URule rule engine with a Spring Boot backend, providing code snippets and visual configuration tips.

Spring BootURulebackend development
0 likes · 15 min read
How to Integrate URule Rule Engine into Spring Boot: A Hands‑On Guide
Programmer DD
Programmer DD
May 22, 2023 · Backend Development

What’s New in Spring Boot 3.1? Key Features and Upgrades Explained

Spring Boot 3.1.0 introduces a host of enhancements—including automatic configuration for Spring Authorization Server, upgraded HttpClient support, refined Testcontainers integration, new Docker‑Compose capabilities, and updates to Hibernate, Jackson, Mockito, and SSL handling—while also providing detailed Maven and Gradle options for image building.

Docker ComposeHibernateJackson
0 likes · 10 min read
What’s New in Spring Boot 3.1? Key Features and Upgrades Explained
Java Architecture Diary
Java Architecture Diary
May 22, 2023 · Cloud Native

How to Leverage Spring Boot 3.1’s Built‑In Docker Compose Support

Spring Boot 3.1 introduces an enhanced Docker Compose module that automatically starts and stops containers, maps service properties without manual duplication, and configures application settings like Redis and MySQL, allowing developers to quickly integrate Docker Compose files into their Spring applications with minimal setup.

Cloud NativeDocker ComposeSpring Boot
0 likes · 4 min read
How to Leverage Spring Boot 3.1’s Built‑In Docker Compose Support
Java Architecture Diary
Java Architecture Diary
May 20, 2023 · Backend Development

What’s New in Spring Boot 3.1? Key Features, Upgrades, and Migration Tips

Spring Boot 3.1.0 introduces automatic configuration for Spring Authorization Server, upgraded HttpClient 5 support, enhanced Testcontainers management, Mockito 5 integration, Docker Compose integration, SSL configuration improvements, and numerous dependency upgrades such as Hibernate 6.2 and Jackson 2.15, all aimed at simplifying modern Java backend development.

DockerSpring Bootbackend development
0 likes · 10 min read
What’s New in Spring Boot 3.1? Key Features, Upgrades, and Migration Tips
Programmer DD
Programmer DD
May 17, 2023 · Backend Development

9 Proven Ways to Read Files from the Resources Folder in Spring Boot

Learn nine practical methods to access files in a Java project's resources directory—including getResource, getPath, getFile, getResourceAsStream, ClassPathResource, and absolute path techniques—complete with code examples and tips for handling Chinese characters and Spring Boot jar packaging.

ClassPathResourceFile I/OResources
0 likes · 9 min read
9 Proven Ways to Read Files from the Resources Folder in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 15, 2023 · Backend Development

Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering

This guide demonstrates how to integrate Spring Boot with Redis to implement personal search history, hot search ranking, and sensitive word filtering using a DFA algorithm, including Maven dependencies, YAML configuration, utility classes, service implementations, and controller endpoints with full Java code examples.

DFA AlgorithmRedisSearch History
0 likes · 19 min read
Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering
Programmer DD
Programmer DD
May 15, 2023 · Backend Development

Java 17’s 430% One‑Year Surge: Key Takeaways from New Relic’s 2023 Report

New Relic’s 2023 Java Ecosystem Report reveals that Java 11 still dominates production, while Java 17 has exploded with a 430% adoption increase in a year, and enterprises are rapidly modernizing Java applications for cloud‑native environments, driven by maintainability and security concerns.

Ecosystem ReportJava 17Spring Boot
0 likes · 8 min read
Java 17’s 430% One‑Year Surge: Key Takeaways from New Relic’s 2023 Report
Selected Java Interview Questions
Selected Java Interview Questions
May 14, 2023 · Backend Development

Spring Boot Best Practices for Backend Development

This article presents a comprehensive set of Spring Boot best practices—including custom BOM management, auto‑configuration, project initialization with Spring Initializr, organized code structure, controller and service design, database isolation, externalized configuration, global exception handling, logging, testing strategies, and concurrency awareness—to help developers build robust, maintainable backend services.

MicroservicesSpring Bootbackend development
0 likes · 12 min read
Spring Boot Best Practices for Backend Development
Java Architect Essentials
Java Architect Essentials
May 14, 2023 · Backend Development

Comprehensive Guide to Spring Boot Backend API Design: Validation, Global Exception Handling, Unified Response, Version Control, and Security

This article presents a step‑by‑step tutorial on building robust Spring Boot backend APIs, covering environment setup, parameter validation techniques, global exception handling, unified response structures, optional response wrapping, API versioning via path or header, and comprehensive security measures such as token authentication, timestamp checks, request signing, replay protection, and HTTPS.

APIException HandlingSpring Boot
0 likes · 26 min read
Comprehensive Guide to Spring Boot Backend API Design: Validation, Global Exception Handling, Unified Response, Version Control, and Security
Architect's Guide
Architect's Guide
May 14, 2023 · Backend Development

OKHttpUtil: A Lightweight HTTP Client Wrapper for Java and Spring Boot

This article introduces OKHttpUtil, a concise Java wrapper for the OkHttp library, outlines its key features, provides Maven dependency instructions, demonstrates GET, POST, file upload, download, and chained request usage, and shows how to integrate and configure it in Spring Boot as well as quickly build external API clients such as eBay.

API wrapperHTTP clientSpring Boot
0 likes · 11 min read
OKHttpUtil: A Lightweight HTTP Client Wrapper for Java and Spring Boot
Architecture Digest
Architecture Digest
May 12, 2023 · Operations

One-Click Jenkins + Docker + Spring Boot Automated Deployment Guide

This tutorial provides a complete step‑by‑step guide to set up a Jenkins server inside Docker on CentOS, configure Maven and plugins, create a pipeline that builds a Spring Boot project, builds a Docker image with a Dockerfile, and runs the container automatically, covering all common pitfalls.

AutomationCI/CDDevOps
0 likes · 7 min read
One-Click Jenkins + Docker + Spring Boot Automated Deployment Guide
Code Ape Tech Column
Code Ape Tech Column
May 12, 2023 · Backend Development

Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Usage

This article introduces the URule rule engine, explains how to install and configure its open‑source version with Spring Boot, describes its core concepts such as variable, constant, parameter, and action libraries, and demonstrates rule set and decision table creation for real‑world business scenarios.

Spring BootURulebackend development
0 likes · 15 min read
Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Usage
Top Architect
Top Architect
May 9, 2023 · Backend Development

Unified User Login Permission Validation, Exception Handling, and Response Formatting in Spring Boot

This article demonstrates how to consolidate user login permission checks, exception handling, and unified JSON response structures in a Spring Boot application by using AOP, custom HandlerInterceptor, @ControllerAdvice, and ResponseBodyAdvice, providing complete code examples and implementation details.

Exception HandlingInterceptorSpring Boot
0 likes · 21 min read
Unified User Login Permission Validation, Exception Handling, and Response Formatting in Spring Boot
Programmer DD
Programmer DD
May 9, 2023 · Backend Development

Why Does Java Throw ‘Request header is too large’ and How to Fix It in Spring Boot

Encountering a java.lang.IllegalArgumentException: Request header is too large? This guide explains the root cause—oversized HTTP headers—and offers two practical solutions: adjusting the server’s max‑http‑header‑size setting in Spring Boot and redesigning requests to keep header data minimal.

Java exceptionServer configurationSpring Boot
0 likes · 3 min read
Why Does Java Throw ‘Request header is too large’ and How to Fix It in Spring Boot
Architect
Architect
May 8, 2023 · Backend Development

Traceable Logging in Spring Boot: Using Logback, Interceptors, MDC and Custom Thread Pools

This article demonstrates how to implement end‑to‑end traceable logging in a Spring Boot application by configuring Logback, creating a request interceptor that injects a TRACE_ID, propagating the ID across thread pools with custom executors and MDC utilities, and verifying the solution with sample controller code and log output.

AsynchronousInterceptorMDC
0 likes · 12 min read
Traceable Logging in Spring Boot: Using Logback, Interceptors, MDC and Custom Thread Pools
Top Architect
Top Architect
May 8, 2023 · Backend Development

WebSocket Load Balancing Library for Microservice Architecture

This article introduces a Spring Boot library that uses a configuration annotation to enable WebSocket load balancing across microservice instances, explains its abstract design, connection management, message routing, and provides usage examples with code snippets while also mentioning related promotional content.

Connection ManagementLoad BalancingMicroservices
0 likes · 14 min read
WebSocket Load Balancing Library for Microservice Architecture
Shepherd Advanced Notes
Shepherd Advanced Notes
May 8, 2023 · Backend Development

Elegant Ways to Boost API Data Security in Spring Boot

The article explains how to protect Spring Boot APIs from unauthorized data access by adding data‑level permission checks, encrypting request parameters with AES and RSA, signing requests with SHA1WithRSA, and encapsulating the logic in a reusable @ApiSecurity annotation and AOP aspect.

AOPAPI securityAnnotation
0 likes · 22 min read
Elegant Ways to Boost API Data Security in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 6, 2023 · Backend Development

Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 and Using Actuator, Shutdown Hooks, and Custom Configurations

This article explains why using the violent kill -9 command can corrupt data in Java services, describes the four‑step graceful shutdown process, and provides multiple Spring Boot solutions—including SIGTERM, Actuator shutdown endpoint, custom Tomcat connector, and @PreDestroy data‑backup hooks—to stop services safely while handling thread interruptions.

ActuatorLinux signalsPreDestroy
0 likes · 20 min read
Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 and Using Actuator, Shutdown Hooks, and Custom Configurations
Top Architect
Top Architect
May 6, 2023 · Backend Development

Netty TCP Client Demo with Spring Boot: Architecture, Message Queue, and Complete Code Walkthrough

An in‑depth tutorial demonstrates building a Netty‑based TCP client with Spring Boot, covering project architecture, module layout, message‑queue simulation, detailed Java code for client creation, connection handling, and testing endpoints, providing a complete, production‑ready demo for IoT socket communication.

Message QueueNettySocket
0 likes · 26 min read
Netty TCP Client Demo with Spring Boot: Architecture, Message Queue, and Complete Code Walkthrough
IT Services Circle
IT Services Circle
May 5, 2023 · Backend Development

Implementing Cache‑Database Consistency with Canal, MySQL, Redis and RabbitMQ

This article demonstrates how to achieve cache‑database consistency by updating MySQL first, deleting Redis cache asynchronously via Canal, publishing change events to RabbitMQ, and handling acknowledgments manually in a Spring Boot application, complete with configuration steps and troubleshooting tips.

Cache invalidationCanalMessage Queue
0 likes · 11 min read
Implementing Cache‑Database Consistency with Canal, MySQL, Redis and RabbitMQ