Tagged articles
3874 articles
Page 17 of 39
macrozheng
macrozheng
Mar 8, 2024 · Backend Development

Two-Level Cache in Spring Boot: Boost Performance with Caffeine & Redis

Learn how to implement a two‑level caching architecture in Spring Boot using Caffeine as a local cache and Redis as a remote cache, covering manual implementations, annotation‑driven approaches with @Cacheable/@CachePut/@CacheEvict, and a custom @DoubleCache annotation to minimize code intrusion while improving response times.

Aspect Oriented ProgrammingCache AnnotationCaffeine
0 likes · 21 min read
Two-Level Cache in Spring Boot: Boost Performance with Caffeine & Redis
Architect
Architect
Mar 7, 2024 · Cloud Native

Graceful Shutdown in Kubernetes: Concepts, Case Studies, and Optimizations

This article explains the concept of graceful shutdown, outlines the standard steps, and presents detailed Kubernetes, Spring Boot, and Nacos case studies, followed by optimization techniques, code examples, and practical recommendations for handling MQ, scheduled tasks, and traffic control during service termination.

Graceful ShutdownNacosSpring Boot
0 likes · 12 min read
Graceful Shutdown in Kubernetes: Concepts, Case Studies, and Optimizations
Top Architect
Top Architect
Mar 6, 2024 · Backend Development

Integrating Tess4J OCR into a Spring Boot Backend Service

This guide demonstrates how to integrate Tess4J OCR into a Spring Boot application, covering environment setup, Maven dependencies, adding language data, creating an OCR service class, building REST endpoints for local and remote image processing, and testing the solution.

JavaOCRREST
0 likes · 8 min read
Integrating Tess4J OCR into a Spring Boot Backend Service
Code Ape Tech Column
Code Ape Tech Column
Mar 5, 2024 · Backend Development

Integrating Spring Boot with Minio for Direct Client Uploads Using Presigned Policies

This article demonstrates how to integrate Spring Boot with Minio, covering two upload strategies—backend‑mediated storage and direct client uploads with presigned credentials—while providing complete configuration, Java code, and a Vue‑based frontend example that includes chunked, instant, and resumable upload techniques.

Backend DevelopmentMinioPresigned Upload
0 likes · 17 min read
Integrating Spring Boot with Minio for Direct Client Uploads Using Presigned Policies
Java Captain
Java Captain
Mar 3, 2024 · Backend Development

Introduction to LiteFlow Rule Engine and Its Usage in Java Spring Boot

This article introduces the lightweight yet powerful LiteFlow rule engine, explains its architecture, component types, EL rule files, data context handling, configuration, and demonstrates a practical e‑commerce workflow with hot‑deployment capabilities.

JavaLiteFlowRule Engine
0 likes · 9 min read
Introduction to LiteFlow Rule Engine and Its Usage in Java Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Mar 3, 2024 · Backend Development

Integrating Apache Tika with Spring Boot for Document Parsing

This guide demonstrates how to add Apache Tika to a Spring Boot project by declaring the tika‑bom, core and parser dependencies, providing a custom tika‑config.xml, creating a @Configuration class that builds a Tika bean, and then injecting the bean to detect, parse, or translate documents.

Apache TikaDocument ParsingJava
0 likes · 5 min read
Integrating Apache Tika with Spring Boot for Document Parsing
Java Captain
Java Captain
Mar 1, 2024 · Backend Development

Full-Stack Development with Java, Spring Boot, and Vue: A Comprehensive Guide

This article explores the advantages of combining Java, Spring Boot, and Vue for full‑stack web development, outlining the technology selection, step‑by‑step development workflow, best practices for code quality, testing, debugging, performance optimization, and deployment using containerization.

Full-Stack DevelopmentJavaSpring Boot
0 likes · 5 min read
Full-Stack Development with Java, Spring Boot, and Vue: A Comprehensive Guide
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2024 · Backend Development

Integrating Spring Boot with Minio for Direct File Upload Using Presigned Credentials

This article explains how to integrate Spring Boot with Minio to enable direct client‑side file uploads by generating time‑limited presigned credentials on the backend, covering environment setup, Maven dependencies, configuration classes, REST endpoints, response fields, and complete front‑end examples including chunked and resumable uploads.

JavaMinioPresigned URL
0 likes · 17 min read
Integrating Spring Boot with Minio for Direct File Upload Using Presigned Credentials
Java Backend Technology
Java Backend Technology
Mar 1, 2024 · Backend Development

How Graceful Response Simplifies Spring Boot API Development

Graceful Response is a Spring Boot component that provides unified response wrapping, global exception handling, and custom error codes, helping developers reduce boilerplate, improve code readability, and accelerate API development while maintaining consistent error responses.

APIException HandlingJava
0 likes · 10 min read
How Graceful Response Simplifies Spring Boot API Development
Architecture Digest
Architecture Digest
Feb 29, 2024 · Backend Development

Comprehensive Guide to Spring MVC, Spring Bean, and Spring Boot Annotations

This article provides a detailed overview of Spring MVC request‑mapping annotations, Spring Bean lifecycle and dependency‑injection annotations, as well as Spring Boot configuration annotations, illustrating each with explanations and code examples to help Java backend developers use these tools effectively.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
Comprehensive Guide to Spring MVC, Spring Bean, and Spring Boot Annotations
Programmer DD
Programmer DD
Feb 29, 2024 · Backend Development

How to Build Your Own Spring Boot Starter: A Step‑by‑Step Guide

This tutorial walks you through creating a custom Spring Boot Starter, from Maven project setup and dependency configuration to defining auto‑configuration classes, registering them, and writing comprehensive unit tests to verify conditional behavior.

JavaSpring BootStarter
0 likes · 6 min read
How to Build Your Own Spring Boot Starter: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Feb 27, 2024 · Backend Development

Build Your Own Spring Boot Starter: A Step‑by‑Step Guide

This tutorial explains how to create a custom Spring Boot Starter, covering project setup, Maven dependencies, auto‑configuration class creation, registration via spring.factories, and comprehensive unit testing to ensure correct conditional behavior.

JavaSpring BootStarter
0 likes · 7 min read
Build Your Own Spring Boot Starter: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Feb 27, 2024 · Backend Development

Step-by-Step Guide: Integrate Camunda Workflow Engine with Spring Boot

Learn how to set up Camunda, a flexible Java-based BPMN 2.0 workflow engine, within a Spring Boot application by generating a project, configuring dependencies, defining data models and REST endpoints, designing a simple process diagram, and testing the workflow end‑to‑end.

BPMNCamundaJava
0 likes · 9 min read
Step-by-Step Guide: Integrate Camunda Workflow Engine with Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Feb 27, 2024 · Backend Development

Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide

This article explains how to integrate Lua scripts into Spring Boot applications using Redis, covering Lua fundamentals, advantages of Lua in Redis, practical use cases, step‑by‑step implementation, performance optimization techniques, error handling, security considerations, and best practices for reliable backend development.

LuaRedisScripting
0 likes · 20 min read
Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide
Java Architect Essentials
Java Architect Essentials
Feb 27, 2024 · Backend Development

Implementing a Robust Retry Mechanism in Spring Boot with Spring Retry and Hystrix

This article explains how to integrate Spring Retry into a Spring Boot project to gracefully handle third‑party API failures, covering annotation‑based retries, asynchronous retries, exception filtering, fallback handling, and an optional Hystrix circuit‑breaker extension for comprehensive fault tolerance.

Circuit BreakerHystrixJava
0 likes · 12 min read
Implementing a Robust Retry Mechanism in Spring Boot with Spring Retry and Hystrix
Java Captain
Java Captain
Feb 26, 2024 · Backend Development

Parameter Validation in Spring Boot: @Valid, @Validated, and Custom Annotations

Spring Boot offers several ways to validate request parameters—including the @Valid and @Validated annotations and custom validation annotations—each with its own strengths, allowing developers to enforce data integrity, improve code quality, and enhance user experience across different scenarios.

@Valid@ValidatedCustom Annotation
0 likes · 11 min read
Parameter Validation in Spring Boot: @Valid, @Validated, and Custom Annotations
Code Ape Tech Column
Code Ape Tech Column
Feb 26, 2024 · Backend Development

Implementing a Two‑Level Cache with Caffeine and Redis in Spring Boot

This article explains how to design and implement a two‑level caching architecture in Spring Boot by combining a local Caffeine cache with a remote Redis cache, covering manual approaches, annotation‑driven management with Spring Cache, and a custom AOP solution to minimize code intrusion.

CacheJavaSpring Boot
0 likes · 18 min read
Implementing a Two‑Level Cache with Caffeine and Redis in Spring Boot
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 26, 2024 · Backend Development

Master Spring Cloud: From Service Discovery to Resilience and Dynamic Routing

This article provides a comprehensive guide to Spring Cloud, covering Spring Boot fundamentals, service discovery with Eureka, gateway routing, load balancing, Feign, Ribbon, circuit‑breaker patterns with Hystrix and Sentinel, configuration management via Nacos, tracing with Sleuth/Zipkin, security mechanisms, gray releases, and performance tuning for production microservices.

Circuit BreakerSpring Bootservice discovery
0 likes · 23 min read
Master Spring Cloud: From Service Discovery to Resilience and Dynamic Routing
Java High-Performance Architecture
Java High-Performance Architecture
Feb 25, 2024 · Backend Development

Mastering Spring’s @ConfigurationProperties and @PropertySources for Clean Config Management

This article explains how Spring's @ConfigurationProperties and @PropertySources annotations work, compares their purposes, and provides step‑by‑step examples for binding external configuration to Java beans and loading multiple property files in a Spring Boot application.

ConfigurationPropertiesJavaPropertySources
0 likes · 11 min read
Mastering Spring’s @ConfigurationProperties and @PropertySources for Clean Config Management
Architect's Guide
Architect's Guide
Feb 25, 2024 · Backend Development

Understanding AOP in Spring Boot with Practical Code Examples

This article explains the fundamentals of Aspect‑Oriented Programming (AOP) in Spring, describes its core concepts such as pointcuts, advice, aspects, join points and weaving, and provides multiple Spring Boot examples—including simple @GetMapping logging, custom permission annotations, and the use of various AOP annotations—complete with full source code snippets.

AOPAspect Oriented ProgrammingBackend Development
0 likes · 18 min read
Understanding AOP in Spring Boot with Practical Code Examples
Selected Java Interview Questions
Selected Java Interview Questions
Feb 23, 2024 · Backend Development

Designing an Order Number Generation System in Spring Boot

This article presents several approaches for generating unique, scalable order numbers in Spring Boot, including UUIDs, database sequences or auto‑increment IDs, timestamp‑based strings with random components, and distributed Snowflake IDs, each accompanied by Java code examples and discussion of their advantages and drawbacks.

JavaSpring Bootorder ID
0 likes · 10 min read
Designing an Order Number Generation System in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 23, 2024 · Backend Development

Master Spring Boot 2.7: Bean Lifecycle, DI, AOP, Caching & More

This guide walks through essential Spring Boot 2.7.16 features—including bean lifecycle annotations, dependency injection methods, Java‑based configuration, conditional beans, event listeners, AOP, scheduled tasks, data access with Spring Data JPA, caching, exception handling, security, SpEL, configuration management, performance monitoring, and micro‑service components—providing concise code examples for each.

AOPCachingJava
0 likes · 10 min read
Master Spring Boot 2.7: Bean Lifecycle, DI, AOP, Caching & More
Java Architect Essentials
Java Architect Essentials
Feb 20, 2024 · Backend Development

Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot

A week‑long API freeze in a sandbox environment was traced to Redis connection pool misconfiguration, where threads waited indefinitely for a Jedis resource, leading to Tomcat request threads blocking and 500 errors, and the issue was resolved by adjusting pool settings and using proper connection release patterns.

BackendConnection PoolDebugging
0 likes · 9 min read
Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

Implementing Retry Logic for Third‑Party APIs with Spring Retry in Spring Boot

This guide shows how to add a retry mechanism to Spring Boot applications using Spring Retry, covering dependency setup, enabling @EnableRetry, defining @Retryable with custom back‑off settings, handling failures with @Recover, writing unit tests, and observing behavior with different retry counts and exception filters.

@EnableRetryJavaRetryable
0 likes · 6 min read
Implementing Retry Logic for Third‑Party APIs with Spring Retry in Spring Boot
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

Integrating Elasticsearch with Spring Boot for Full CRUD Operations

This guide walks through integrating Spring Data Elasticsearch into a Spring Boot application, covering entity mapping annotations, repository creation, service layer implementation, and unit tests to perform create, read, update, delete, and fuzzy search operations on Elasticsearch indices.

CRUDElasticsearchJava
0 likes · 8 min read
Integrating Elasticsearch with Spring Boot for Full CRUD Operations
Programmer DD
Programmer DD
Feb 20, 2024 · Backend Development

Quick Start: Integrate Camunda Workflow Engine with Spring Boot

Learn how to set up and integrate the Camunda BPMN 2.0 workflow engine into a Spring Boot application, covering project initialization, Maven dependencies, configuration files, creating a simple user task process, and testing the workflow via Camunda’s web interface.

BPMNCamundaJava
0 likes · 10 min read
Quick Start: Integrate Camunda Workflow Engine with Spring Boot
Programmer DD
Programmer DD
Feb 19, 2024 · Backend Development

How to Build a Full‑Text Search API with Spring Boot and PostgreSQL

This guide explains how to implement a searchable user‑story interface using PostgreSQL tables with btree and gin indexes, Java record models, Spring Boot data access, and REST controllers to support range and full‑text queries efficiently.

Full-Text SearchJavaPostgreSQL
0 likes · 9 min read
How to Build a Full‑Text Search API with Spring Boot and PostgreSQL
Programmer DD
Programmer DD
Feb 19, 2024 · Backend Development

Boost Your Spring Boot Apps with Generative AI Using Spring AI

This tutorial walks you through adding OpenAI's generative capabilities to a Spring Boot application with Spring AI, covering project setup, API key configuration, controller creation, simple and advanced prompt usage, and how to test the resulting AI-powered endpoints.

Backend DevelopmentGenerative AIJava
0 likes · 5 min read
Boost Your Spring Boot Apps with Generative AI Using Spring AI
Java Architecture Diary
Java Architecture Diary
Feb 18, 2024 · Artificial Intelligence

Boost Captcha Solving with Gemini AI: Spring Boot Integration Guide

This tutorial explains how to integrate Gemini's free API and long‑context capabilities into a Spring Boot starter to recognize image captchas, handle interference lines, and solve arithmetic challenges, providing code samples, configuration steps, and best practices for improving automation efficiency.

AICaptchaGemini
0 likes · 5 min read
Boost Captcha Solving with Gemini AI: Spring Boot Integration Guide
Programmer DD
Programmer DD
Feb 17, 2024 · Backend Development

How to Seamlessly Upgrade Spring Boot 2.x to 3.x: Step‑by‑Step Guide

This guide explains why upgrading from Spring Boot 2.x to 3.x is essential, outlines the required JDK 17 migration, Spring Boot version bump, configuration property changes, Jakarta EE transition, and updates to Spring Security, Kafka, RestTemplate, and OpenAPI integration, providing code examples for each step.

KafkaOpenAPISpring Boot
0 likes · 10 min read
How to Seamlessly Upgrade Spring Boot 2.x to 3.x: Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 17, 2024 · Backend Development

Mastering @InitBinder in Spring Boot 3: Custom Data Binding Techniques

This article explains how to use Spring Boot's @InitBinder annotation in @Controller and @ControllerAdvice classes to customize WebDataBinder for parameter binding, type conversion, and formatting, and provides five practical examples demonstrating custom editors, converters, global binders, and field restrictions.

Custom ConverterInitBinderJava
0 likes · 6 min read
Mastering @InitBinder in Spring Boot 3: Custom Data Binding Techniques
Java Captain
Java Captain
Feb 16, 2024 · Backend Development

Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide

This article explains how to integrate Lua scripts into Spring Boot applications using Redis, covering Lua fundamentals, performance benefits, practical use cases, step‑by‑step implementation, error handling, security considerations, and best practices for optimizing backend services.

Backend DevelopmentLuaRedis
0 likes · 19 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
Java Captain
Java Captain
Feb 16, 2024 · Backend Development

Differences Between Spring and Spring Boot: A Comprehensive Comparison

Spring Boot, an evolution of the Spring framework, simplifies project setup, offers built-in web servers, provides production-ready features, and enhances development efficiency, distinguishing it from traditional Spring which requires extensive XML configuration and external servlet containers, making Boot the preferred choice for modern Java backend development.

Backend DevelopmentJavaSpring Boot
0 likes · 4 min read
Differences Between Spring and Spring Boot: A Comprehensive Comparison
Architect's Guide
Architect's Guide
Feb 12, 2024 · Backend Development

Automating CRUD Operations with MyBatisPlus in Spring Boot

This article demonstrates how to automate CRUD operations in a Spring Boot application by leveraging MyBatisPlus, creating utility methods, a generic BaseController, pagination configuration, and extending it in concrete controllers, providing reusable code for rapid backend development.

JavaMyBatisPlusRESTful API
0 likes · 9 min read
Automating CRUD Operations with MyBatisPlus in Spring Boot
Su San Talks Tech
Su San Talks Tech
Feb 12, 2024 · Backend Development

How to Warm Up Your Cache for High‑Concurrency Systems

Cache warming, a technique used in high‑concurrency systems to preload frequently accessed data before traffic spikes, improves hit rates, reduces latency, prevents cache breakdowns, and eases backend load, with methods ranging from startup loading and scheduled jobs to Spring Boot listeners, Redis tools, and Caffeine loaders.

Backend PerformanceCaffeineJava
0 likes · 10 min read
How to Warm Up Your Cache for High‑Concurrency Systems
ITPUB
ITPUB
Feb 10, 2024 · Backend Development

How to Warm Up Your Cache to Boost High‑Concurrency System Performance

Cache warming, a technique used in high‑concurrency systems, involves preloading frequently accessed data into memory before traffic spikes to improve hit rates, reduce cold‑start latency, prevent cache breakdowns, and lessen backend load, with various strategies such as startup loading, scheduled jobs, manual triggers, Redis tools, and Caffeine loaders demonstrated through Spring Boot code examples.

BackendCacheCaffeine
0 likes · 10 min read
How to Warm Up Your Cache to Boost High‑Concurrency System Performance
Code Ape Tech Column
Code Ape Tech Column
Feb 6, 2024 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles

This article provides an in‑depth tutorial on Spring Validation, covering simple usage, requestBody and requestParam/PathVariable validation, unified exception handling, advanced techniques such as group, nested, collection and custom validation, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

BackendHibernate ValidatorJava
0 likes · 17 min read
Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles
Architect
Architect
Feb 5, 2024 · Backend Development

Applying the Strategy Pattern with Simple Factory in a Spring Boot Application

This article demonstrates how to apply the Strategy pattern combined with a simple factory in a Spring Boot application, showing interface definition, multiple arithmetic strategy implementations, a factory that registers beans, a service invoking strategies via a map, and a REST controller for testing, highlighting extensibility.

BackendFactoryJava
0 likes · 8 min read
Applying the Strategy Pattern with Simple Factory in a Spring Boot Application
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2024 · Backend Development

Implementing a Dynamic Thread Pool with Nacos in Spring Boot

This article demonstrates how to create a dynamically configurable thread pool in a Spring Boot backend by using Nacos as a configuration center, covering Maven dependencies, YAML configuration files, Nacos data IDs, Java implementation with listeners, a REST controller for testing, and practical verification steps.

Backend DevelopmentDynamic ConfigurationJava
0 likes · 11 min read
Implementing a Dynamic Thread Pool with Nacos in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Feb 2, 2024 · Backend Development

Comprehensive Guide to API Request Retry Mechanisms and Spring Boot Implementation

This article examines why API requests fail, explains the importance of retry mechanisms, compares linear, exponential and randomized back‑off strategies, discusses maximum attempt considerations and idempotency, and provides a detailed Spring Boot implementation using Spring Retry along with alternative approaches.

API RetryBackendIdempotency
0 likes · 21 min read
Comprehensive Guide to API Request Retry Mechanisms and Spring Boot Implementation
Code Ape Tech Column
Code Ape Tech Column
Feb 2, 2024 · Artificial Intelligence

Integrating Tess4J OCR into a Spring Boot Application

This guide walks through setting up a Spring Boot project, adding Tess4J dependencies, configuring language data, implementing an OCR service class, exposing REST endpoints for local and remote image recognition, and testing the OCR functionality end‑to‑end.

JavaOCRREST API
0 likes · 6 min read
Integrating Tess4J OCR into a Spring Boot Application
Java Captain
Java Captain
Feb 1, 2024 · Backend Development

Differences and Advantages of Spring Boot Compared to the Traditional Spring Framework

Spring Boot, emerging as the preferred Java framework for microservices, differs from traditional Spring by offering automatic configuration, simplified Maven setup, embedded containers, production-ready features, and streamlined Spring MVC, which together accelerate development, ease deployment, and improve cloud integration compared to the more complex, slower-starting classic Spring.

Backend DevelopmentFrameworkJava
0 likes · 4 min read
Differences and Advantages of Spring Boot Compared to the Traditional Spring Framework
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2024 · Backend Development

Implementing a Robust Redis Distributed Lock with Spring Boot

The article shows how to build a reliable Redis‑based distributed lock in a Spring Boot 2.7 application by storing a unique UUID token, acquiring the lock with SET NX PX, releasing it atomically via a Lua script, and providing a clean Lock interface, factory component, and JUnit example.

JavaLuaRedis
0 likes · 13 min read
Implementing a Robust Redis Distributed Lock with Spring Boot
Architecture Digest
Architecture Digest
Feb 1, 2024 · Backend Development

Best Practices for Designing the Controller Layer in Spring Boot: Unified Response, Validation, and Exception Handling

This article explains how to build a clean and maintainable Spring Boot controller layer by separating responsibilities, unifying response structures, applying comprehensive parameter validation (including custom rules), and implementing centralized exception handling to keep business logic concise and robust.

Backend DevelopmentControllerException Handling
0 likes · 18 min read
Best Practices for Designing the Controller Layer in Spring Boot: Unified Response, Validation, and Exception Handling
Java Architecture Diary
Java Architecture Diary
Feb 1, 2024 · Backend Development

Must‑Read Java 21 & Spring Boot 3.2 Resources for the Lunar New Year

Celebrating the Lunar New Year, this roundup shares essential Java 21 updates, Spring Boot 3.2 enhancements, domestic open‑source innovations, and other hand‑picked tools and articles, providing developers with quick links to explore new APIs, performance improvements, and cutting‑edge Java ecosystem resources.

Backend DevelopmentNacosSpring Boot
0 likes · 5 min read
Must‑Read Java 21 & Spring Boot 3.2 Resources for the Lunar New Year
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 1, 2024 · Backend Development

Master Spring MVC Customization: From WebConfig to YAML Message Converters

This tutorial walks through enabling Spring MVC, configuring type conversion, validation, interceptors, content negotiation, custom YAML message converters, view controllers, view resolvers, and static resource handling in a Spring Boot 2.7.12 application, complete with code examples and output screenshots.

Content negotiationMessage ConverterSpring Boot
0 likes · 9 min read
Master Spring MVC Customization: From WebConfig to YAML Message Converters
Code Ape Tech Column
Code Ape Tech Column
Jan 31, 2024 · Backend Development

Custom Spring Boot Packaging with External Dependencies Using Maven Plugins

This article explains how to create a Spring Boot fat‑jar that externalizes its dependencies by configuring the spring‑boot‑maven‑plugin and maven‑assembly‑plugin to produce a ZIP layout, then uses the PropertiesLauncher with loader.path to load libraries from a separate libs directory at runtime.

Backend DevelopmentJavaMaven
0 likes · 6 min read
Custom Spring Boot Packaging with External Dependencies Using Maven Plugins
Selected Java Interview Questions
Selected Java Interview Questions
Jan 30, 2024 · Backend Development

Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects

This article explains how to protect Java server-side code from decompilation by applying ProGuard shrinking/obfuscation and Xjar/ClassFinal encryption, provides detailed Maven plugin configurations, sample pom.xml snippets, command‑line launch options, and demonstrates the resulting protected JARs with screenshots.

JavaMavenObfuscation
0 likes · 22 min read
Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects
Top Architect
Top Architect
Jan 30, 2024 · Backend Development

Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot

This article explains multiple backend optimization methods for Spring Boot, including asynchronous execution with @Async and CompletableFuture, increasing embedded Tomcat connection limits, using @ComponentScan, switching to Undertow, applying BufferedWriter, employing DeferredResult, and intercepting async calls with AsyncHandlerInterceptor, accompanied by concrete code examples.

AsynchronousCompletableFutureJava
0 likes · 12 min read
Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot
Top Architect
Top Architect
Jan 30, 2024 · Backend Development

Understanding Spring Boot Extension Points: Initializers, Listeners, Runners, BeanFactoryPostProcessor and BeanPostProcessor

This article explains the five major extension points in Spring Boot—ApplicationContextInitializer, ApplicationListener, Runner, BeanFactoryPostProcessor, and BeanPostProcessor—showing how they are discovered via SPI, where they are invoked during the startup lifecycle, and how to implement custom ones with code examples.

ApplicationContextInitializerBeanFactoryPostProcessorBeanPostProcessor
0 likes · 9 min read
Understanding Spring Boot Extension Points: Initializers, Listeners, Runners, BeanFactoryPostProcessor and BeanPostProcessor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 30, 2024 · Backend Development

Master Spring Boot Bean Lifecycle: Init, Destroy, Scopes & Advanced Tricks

This article explains how to control Spring bean initialization and destruction using interfaces and annotations, inject prototype beans into singleton controllers, implement various BeanPostProcessor extensions, dynamically register beans, use @Import, Runner interfaces, global exception handling, custom type conversion, BeanFactoryAware, web interceptors, and default AOP proxy creation.

Backend DevelopmentJavaSpring Boot
0 likes · 9 min read
Master Spring Boot Bean Lifecycle: Init, Destroy, Scopes & Advanced Tricks
macrozheng
macrozheng
Jan 29, 2024 · Backend Development

How Easy-Es Transforms Elasticsearch Operations in Java: A Step‑by‑Step Guide

This article introduces Easy-Es, an Elasticsearch ORM that mimics MyBatis‑Plus syntax, explains its key features, shows how to integrate it into a Spring Boot project, and provides comprehensive code examples for index management, CRUD, simple and advanced product searches, recommendation and aggregation functionalities.

Easy-EsElasticsearchJava
0 likes · 18 min read
How Easy-Es Transforms Elasticsearch Operations in Java: A Step‑by‑Step Guide
JD Tech
JD Tech
Jan 26, 2024 · Backend Development

Optimizing Java Applications with Spring Boot 2.7 and JDK 17: Features, Migration Steps, and Deployment Practices

This article explains how combining Spring Boot 2.7 with JDK 17 can improve Java application performance, outlines the new language and runtime features, details migration challenges, provides configuration and code examples, and shares practical deployment guidance for cloud‑native environments.

Backend DevelopmentJDK 17Migration
0 likes · 23 min read
Optimizing Java Applications with Spring Boot 2.7 and JDK 17: Features, Migration Steps, and Deployment Practices
Top Architect
Top Architect
Jan 26, 2024 · Backend Development

Comprehensive Guide to Using Apollo Configuration Center with Spring Boot

This article provides a step‑by‑step tutorial on deploying the Ctrip Apollo configuration center, creating projects and namespaces, integrating Apollo with a Spring Boot application, configuring environments, clusters and namespaces, and testing dynamic configuration updates in Kubernetes, covering all essential concepts and practical code examples.

ApolloConfiguration ManagementSpring Boot
0 likes · 27 min read
Comprehensive Guide to Using Apollo Configuration Center with Spring Boot
Java Captain
Java Captain
Jan 25, 2024 · Backend Development

Top 20 Classic Spring Boot Interview Questions

This article presents the 20 most common Spring Boot interview questions, covering fundamentals, features, configuration, performance, security, microservices, and deployment, to help job seekers prepare effectively for Spring Boot related positions in the industry.

Backend DevelopmentFrameworkInterview Questions
0 likes · 3 min read
Top 20 Classic Spring Boot Interview Questions
Selected Java Interview Questions
Selected Java Interview Questions
Jan 25, 2024 · Backend Development

Easy-Es: An ORM Framework for Elasticsearch in Java

Easy-Es is a Java ORM framework built on Elasticsearch's RestHighLevelClient that simplifies search‑engine development, offers Mybatis‑Plus‑like usage, provides configuration and dependency details, and includes complete code examples for creating indexes and performing CRUD operations within Spring Boot applications.

Backend DevelopmentEasy-EsElasticsearch
0 likes · 8 min read
Easy-Es: An ORM Framework for Elasticsearch in Java
macrozheng
macrozheng
Jan 25, 2024 · Backend Development

How to Slash Spring Boot Memory Usage by Over 40% for Local Development

This guide explains why Spring Boot applications consume memory, shows how to configure the JVM and Tomcat settings, and demonstrates using Docker‑compose to apply these tweaks, enabling developers to reduce local memory usage by more than 40% and speed up development cycles.

DockerJVMMemory Optimization
0 likes · 7 min read
How to Slash Spring Boot Memory Usage by Over 40% for Local Development
MaGe Linux Operations
MaGe Linux Operations
Jan 24, 2024 · Operations

How to Set Up ELK Logging for Spring Boot and Nginx with Docker

This guide walks through configuring the ELK stack (Elasticsearch, Logstash, Kibana) for Spring Boot applications, integrating Logback via logstash-logback-encoder, setting up Filebeat in Docker containers to collect Nginx logs, and creating Kibana index patterns for efficient log querying.

ELKFilebeatKibana
0 likes · 10 min read
How to Set Up ELK Logging for Spring Boot and Nginx with Docker
Java Backend Technology
Java Backend Technology
Jan 24, 2024 · Backend Development

How to Export Any Java Object List to Excel Using Reflection and CSV

This article demonstrates a step‑by‑step method for exporting a list of unknown Java objects to an Excel/CSV file by leveraging reflection to dynamically generate headers and rows, complete with Maven dependencies, utility code, usage examples, and an extensible annotation‑based approach.

CSVJavaReflection
0 likes · 11 min read
How to Export Any Java Object List to Excel Using Reflection and CSV
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2024 · Backend Development

Master Dynamic Multi-DataSource Switching in Spring Boot 2.7

This tutorial explains why enterprise applications need multiple data sources, outlines the scenarios such as business isolation, migration, performance and maintainability, and provides a step‑by‑step implementation of dynamic data source routing in Spring Boot using custom context holders, routing classes, annotations, aspects, configuration, and web‑request control.

Backend DevelopmentDynamic RoutingJava
0 likes · 12 min read
Master Dynamic Multi-DataSource Switching in Spring Boot 2.7
macrozheng
macrozheng
Jan 23, 2024 · Backend Development

Master Spring Boot 3 Http Interface: Declarative Remote Calls with WebFlux

This article explains how Spring Boot 3's Http Interface feature enables declarative HTTP service calls by defining Java interfaces, covering dependency setup, interface definition, token handling, configuration, controller integration, testing with Postman, and a brief discussion of its WebFlux dependency.

Declarative RESTHTTP InterfaceJava
0 likes · 10 min read
Master Spring Boot 3 Http Interface: Declarative Remote Calls with WebFlux
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 23, 2024 · Information Security

Create a Secure OAuth2 Authorization Server with Spring Boot 3.1 & JDK 17

This guide walks through setting up Spring Authorization Server on Spring Boot 3.1 with JDK 17, covering environment setup, required dependencies, custom security filter chains, in‑memory user and client configurations, JWT signing, endpoint settings, consent service, and step‑by‑step testing of the authorization code flow.

Authorization ServerJavaOAuth2
0 likes · 9 min read
Create a Secure OAuth2 Authorization Server with Spring Boot 3.1 & JDK 17
Architect
Architect
Jan 22, 2024 · Backend Development

Designing a Unified API Response and Global Exception Handling in Spring Boot

This article walks through creating a standardized JSON response structure with a Result enum and wrapper class, demonstrates how to return it from controllers, implements a @ControllerAdvice‑based global exception handler with custom exceptions, and configures Logback for comprehensive logging in Spring Boot applications.

Exception HandlingJavaSpring Boot
0 likes · 17 min read
Designing a Unified API Response and Global Exception Handling in Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Jan 22, 2024 · Cloud Native

Deploy and Secure Nacos Config Center on Huawei CCE & Kubernetes

This guide explains how to use Nacos as a centralized configuration center in Spring Boot micro‑services, covering common pitfalls of static configs, best‑practice namespace/group/DataId design, dependency setup, YAML examples, security annotations, role‑based access, Dockerfile tweaks, CCE deployment, database schema, and Kubernetes manifests for test and production environments.

Configuration ManagementDevOpsHuawei CCE
0 likes · 19 min read
Deploy and Secure Nacos Config Center on Huawei CCE & Kubernetes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 22, 2024 · Backend Development

Mastering Two-Level Caching in Spring Boot with CacheFrontend & Caffeine

This guide walks through implementing a two‑level cache in Spring Boot 2.7 using Lettuce’s CacheFrontend together with Caffeine, covering dependency setup, configuration, custom CacheAccessor, bean definitions, and sample endpoints that demonstrate automatic synchronization and eviction between local JVM cache and Redis.

CacheFrontendCaffeineRedis
0 likes · 7 min read
Mastering Two-Level Caching in Spring Boot with CacheFrontend & Caffeine
Architect's Guide
Architect's Guide
Jan 19, 2024 · Backend Development

Implementing a Graceful Retry Mechanism for Third‑Party API Calls in Spring Boot

This article explains why retry mechanisms are essential for unstable third‑party API calls, introduces Spring Retry, demonstrates how to configure synchronous and asynchronous retries, handle exception inclusion/exclusion, integrate circuit‑breaker fallback with Hystrix, and provides performance testing guidance, all with practical code examples.

Circuit BreakerHystrixJava
0 likes · 8 min read
Implementing a Graceful Retry Mechanism for Third‑Party API Calls in Spring Boot
Programmer DD
Programmer DD
Jan 18, 2024 · Backend Development

Why Virtual Threads Lag Behind WebFlux in Spring Boot MySQL Performance

This article examines a performance comparison of Spring Boot applications using physical threads, Java virtual threads, and WebFlux for JWT verification with MySQL, detailing test setup, code examples, benchmark results across various concurrency levels, and concluding that virtual threads perform worst due to MySQL driver incompatibility.

MySQLSpring BootWebFlux
0 likes · 9 min read
Why Virtual Threads Lag Behind WebFlux in Spring Boot MySQL Performance