Tagged articles

Spring Boot

4358 articles · Page 21 of 44
Java Architecture Diary
Java Architecture Diary
Apr 17, 2024 · Backend Development

Unlock Low-Latency IoT Messaging with mica-mqtt: A Java AIO MQTT Solution

mica-mqtt is a lightweight, low‑latency, high‑performance open‑source MQTT component built on Java AIO, offering full MQTT v3.1/v3.1.1/v5 support, WebSocket, REST API, client/server capabilities, clustering via Redis, GraalVM native compilation, Spring Boot starter integration, and extensive customization for IoT and messaging scenarios.

GraalVMSpring Bootlow latency
0 likes · 6 min read
Unlock Low-Latency IoT Messaging with mica-mqtt: A Java AIO MQTT Solution
IT Niuke
IT Niuke
Apr 14, 2024 · Backend Development

Mastering Spring Boot Plugin Development: A Detailed Guide

This article explains why plugin architectures boost modularity, extensibility and third‑party integration, then walks through multiple Java‑based implementation techniques—including ServiceLoader, custom configuration files, and Spring Boot’s spring.factories—showing complete code samples, runtime screenshots and a real‑world microservice case study.

Java SPIMicroservicesPlugin architecture
0 likes · 22 min read
Mastering Spring Boot Plugin Development: A Detailed Guide
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2024 · Backend Development

Integrating MybatisX Plugin with Spring Boot for Rapid MyBatis Development

This tutorial walks through setting up a simple Spring Boot project, adding MyBatis‑Plus dependencies, configuring MybatisX in IntelliJ IDEA, generating entity, mapper, service, and controller code, and handling common connection issues, providing a complete end‑to‑end example of rapid MyBatis development.

IDEA PluginMyBatisXSpring Boot
0 likes · 6 min read
Integrating MybatisX Plugin with Spring Boot for Rapid MyBatis Development
The Dominant Programmer
The Dominant Programmer
Apr 13, 2024 · Backend Development

Integrating LiteFlow with Spring Boot for Decoupled, Dynamic, Scalable Business Logic

This guide shows how to integrate the lightweight LiteFlow rule engine into a Spring Boot application, split complex business logic into reusable components, configure rule files, and use various component types—including switch, condition, and parameterized components—to achieve dynamic orchestration, hot‑reloading, and high scalability.

Component OrchestrationDynamic workflowLiteFlow
0 likes · 13 min read
Integrating LiteFlow with Spring Boot for Decoupled, Dynamic, Scalable Business Logic
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 12, 2024 · Backend Development

Master Spring Boot Externalized Config: Locations, Overrides & Advanced Options

This guide explains how Spring Boot 3.1.10 discovers and loads external configuration files from classpath and filesystem locations, how to customize file names and paths with spring.config.name, spring.config.location, and spring.config.additional-location, and demonstrates merging, profile-specific files, optional prefixes, wildcards, imports, and handling missing resources.

Externalized ConfigurationSpring Bootbackend development
0 likes · 11 min read
Master Spring Boot Externalized Config: Locations, Overrides & Advanced Options
Eric Tech Circle
Eric Tech Circle
Apr 11, 2024 · Artificial Intelligence

Build a Generative AI RAG App with Spring AI in Minutes

This guide walks you through setting up Spring AI, configuring model providers and vector stores, initializing a Spring Boot project, adding OpenAI credentials, and running a complete RAG (Retrieval‑Augmented Generation) demo with code snippets and sample API calls.

OpenAIRAGSpring AI
0 likes · 15 min read
Build a Generative AI RAG App with Spring AI in Minutes
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Apr 11, 2024 · Backend Development

Why OpenFeign Misinterprets Dates and How to Fix It

When converting Date parameters in OpenFeign calls, the client serializes them to strings using the local CST timezone, causing a 14‑hour discrepancy that can be resolved by using timestamps, @DateTimeFormat, or custom formatters on both client and server sides.

FeignClientMicroservicesOpenFeign
0 likes · 10 min read
Why OpenFeign Misinterprets Dates and How to Fix It
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 11, 2024 · Backend Development

How Spring Event Elegantly Decouples Business Logic: Principles, Usage, and Pitfalls

This article explains how Spring Event provides a publish‑subscribe mechanism to decouple Spring components, details its default synchronous behavior, shows how to make listeners asynchronous, demonstrates ordering and error handling, compares it with message‑queue solutions, and offers practical guidelines for safe usage.

DecouplingPublish-SubscribeSpring
0 likes · 22 min read
How Spring Event Elegantly Decouples Business Logic: Principles, Usage, and Pitfalls
vivo Internet Technology
vivo Internet Technology
Apr 10, 2024 · Databases

Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients

The article examines how Spring Boot’s Lettuce and Redisson clients implement Redis pipelining, explains the batch‑request principle, benchmarks 100 000 set inserts showing pipeline speeds of 0.5–1.4 seconds versus 162 seconds for single commands, demonstrates Spring Data Redis callback usage, warns of high‑cost command pitfalls, and details Redisson’s RBatch internals, concluding that pipelining dramatically boosts throughput when command costs are modest.

RedisRedissonSpring Boot
0 likes · 27 min read
Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients
Java Architecture Diary
Java Architecture Diary
Apr 9, 2024 · Backend Development

What’s New in MyBatis-Plus 3.5.6? Upgrade Guide and Dependency Tips

MyBatis-Plus, an enhanced MyBatis toolkit, simplifies CRUD operations and injects dynamic SQL to boost productivity; this guide outlines its core features, important upgrade notes—including MyBatis 3.5.16 and JSqlParser 4.9 versions—provides a detailed changelog, and shows Maven dependencies for Spring Boot 3.x and 2.x.

ORMSpring Bootbackend development
0 likes · 5 min read
What’s New in MyBatis-Plus 3.5.6? Upgrade Guide and Dependency Tips
Architect's Guide
Architect's Guide
Apr 8, 2024 · Backend Development

Why HikariCP Is So Fast: A Deep Dive into Its Implementation

This article examines why HikariCP, the default Spring Boot 2.0 connection pool, achieves high performance by exploring its design concepts such as dual HikariPool instances, FastList, custom ConcurrentBag, thread‑local caching, and bytecode optimization, and includes sample Maven configuration and Java code.

Connection PoolHikariCPSpring Boot
0 likes · 14 min read
Why HikariCP Is So Fast: A Deep Dive into Its Implementation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2024 · Frontend Development

Mastering CORS in Spring Boot: From Basics to Full Implementation

Learn how Cross-Origin Resource Sharing (CORS) works, when it’s needed, the role of preflight requests, essential HTTP headers, and step-by-step Spring Boot solutions—including @CrossOrigin annotations, global configuration, and custom filters—to securely enable cross-domain calls in your applications.

CORSCross-OriginSpring Boot
0 likes · 11 min read
Mastering CORS in Spring Boot: From Basics to Full Implementation
Architect
Architect
Apr 5, 2024 · Backend Development

Implementing a Spring Boot Encryption/Decryption Starter with Hutool-Crypto

This article explains how to build a reusable Spring Boot starter that automatically encrypts response data and decrypts request payloads using Hutool-Crypto's AES utilities, covering request stream handling, validation, custom starter configuration, and example code for controllers and entities.

AESRequestBodyAdviceResponseBodyAdvice
0 likes · 23 min read
Implementing a Spring Boot Encryption/Decryption Starter with Hutool-Crypto
Java High-Performance Architecture
Java High-Performance Architecture
Apr 2, 2024 · Backend Development

Unlock Redis Performance: Using Lua Scripts in Spring Boot

This article explains how to integrate Lua scripts with Redis in a Spring Boot application, covering Lua basics, performance benefits, common use cases, step‑by‑step configuration, Java code examples, error handling, security considerations, and best practices for reliable backend development.

LuaRedisScripting
0 likes · 19 min read
Unlock Redis Performance: Using Lua Scripts in Spring Boot
The Dominant Programmer
The Dominant Programmer
Mar 30, 2024 · Backend Development

Implement OCR in Spring Boot with Tess4J for Image Text Recognition

This guide shows how to integrate the open‑source Tesseract OCR engine into a Spring Boot application using the Tess4J Java wrapper, covering Chinese language data setup, Maven dependency configuration, bean creation, service implementation, and a unit test to verify image text extraction.

OCRSpring Bootimage recognition
0 likes · 6 min read
Implement OCR in Spring Boot with Tess4J for Image Text Recognition
Code Ape Tech Column
Code Ape Tech Column
Mar 29, 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 for Redis, covering Lua fundamentals, performance benefits, common use cases, step‑by‑step implementation with Spring Data Redis, error handling, security considerations, and best‑practice recommendations.

LuaSpring Bootbackend development
0 likes · 20 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
Top Architect
Top Architect
Mar 28, 2024 · Backend Development

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

This article explains the five major Spring Boot extension points—ApplicationContextInitializer, ApplicationListener, Runner, BeanFactoryPostProcessor, and BeanPostProcessor—showing how to register custom implementations via SPI, where they are invoked in the startup flow, and providing code examples for each.

BeanFactoryPostProcessorBeanPostProcessorRunner
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
Mar 28, 2024 · Backend Development

Master Spring Cloud Config: Logging, RefreshScope, Encryption & Custom Properties

This guide explains how to configure logging in Spring Boot, handle EnvironmentChangeEvent updates, use @RefreshScope limitations, encrypt properties with Spring Cloud, leverage Actuator endpoints for environment refresh, and create custom property sources via spring.factories, providing code examples throughout.

ActuatorConfigurationCustom Property Source
0 likes · 5 min read
Master Spring Cloud Config: Logging, RefreshScope, Encryption & Custom Properties
Architect
Architect
Mar 27, 2024 · Backend Development

Mastering Graceful Shutdown: Zero‑Downtime Deployments for Java Microservices

This article explains how to achieve zero‑downtime releases for Java applications by using JVM shutdown hooks, Spring context events, and service‑registry tricks for both monolithic and microservice architectures, with concrete code samples, configuration details, and Kubernetes probes to ensure seamless online upgrades.

EurekaKubernetesMicroservices
0 likes · 29 min read
Mastering Graceful Shutdown: Zero‑Downtime Deployments for Java Microservices
Java Architect Essentials
Java Architect Essentials
Mar 27, 2024 · Cloud Native

Mastering Graceful Shutdown in Kubernetes with Spring Boot and Nacos

This article explains the concept of graceful shutdown, walks through a Kubernetes pod termination flow, demonstrates a Spring Boot + Nacos example with PreStop hooks, identifies common pitfalls, and provides practical optimizations—including MQ handling, scheduled tasks, traffic control, and actuator shutdown—to achieve reliable, zero‑downtime service termination.

Cloud NativeKubernetesMicroservices
0 likes · 12 min read
Mastering Graceful Shutdown in Kubernetes with Spring Boot and Nacos
Top Architect
Top Architect
Mar 20, 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 basics, advantages of Lua in Redis, practical use cases, step‑by‑step implementation with code examples, performance optimization, error handling, security considerations, and best practices for reliable backend development.

LuaRedisSpring Boot
0 likes · 20 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
Architect's Guide
Architect's Guide
Mar 19, 2024 · Cloud Native

Graceful Shutdown in Kubernetes with Spring Boot and Nacos: Concepts, Cases, and Optimizations

This article explains the concept of graceful shutdown, demonstrates it with Kubernetes‑SpringBoot‑Nacos case studies, analyzes common issues, and provides optimization strategies such as adjusting terminationGracePeriodSeconds, using PreStop hooks, handling MQ and scheduled tasks, and leveraging actuator shutdown for reliable service termination.

Cloud NativeNacosOperations
0 likes · 10 min read
Graceful Shutdown in Kubernetes with Spring Boot and Nacos: Concepts, Cases, and Optimizations
Architecture Digest
Architecture Digest
Mar 18, 2024 · Backend Development

Creating a Simple HTTP Service with Spring 6 HTTP Interface

This article introduces Spring 6's new HTTP Interface feature, walks through building a Spring Boot project with a User entity, a REST controller, an HTTP Interface definition, and a test using WebClient, while explaining related annotations and the need for Spring Reactive Web dependencies.

SpringSpring BootWebClient
0 likes · 6 min read
Creating a Simple HTTP Service with Spring 6 HTTP Interface
Code Ape Tech Column
Code Ape Tech Column
Mar 18, 2024 · Backend Development

Implementing File Upload and Text Extraction with Elasticsearch Ingest Attachment Plugin in Spring Boot

This tutorial explains how to let users upload PDF, Word, or TXT files, install the Elasticsearch Ingest Attachment Processor Plugin, create an ingest pipeline and index mapping, convert files to Base64, and perform fuzzy searches with highlighted results using Spring Boot and Java code examples.

ElasticsearchIngest AttachmentSpring Boot
0 likes · 21 min read
Implementing File Upload and Text Extraction with Elasticsearch Ingest Attachment Plugin in Spring Boot
Programmer DD
Programmer DD
Mar 16, 2024 · Backend Development

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

This article walks you through creating a custom Spring Boot Starter, covering project setup, Maven dependencies, auto‑configuration classes, registration via spring.factories (or the new imports file), and comprehensive unit testing strategies to ensure reliable conditional behavior.

Spring Bootauto-configurationjava
0 likes · 7 min read
How to Build Your Own Spring Boot Starter: Step‑by‑Step Guide
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 13, 2024 · Backend Development

Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice

This article introduces the design and implementation of a remote hot‑deployment component (Mark42/Jarvis) built on Java Agent and an IDEA plugin, analyzes the challenges of dynamic compilation in Spring‑Boot fat‑jar environments, presents solution choices, and shares practical experiences and future directions.

Dynamic CompilationHot DeploymentJava Agent
0 likes · 16 min read
Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice
Top Architect
Top Architect
Mar 13, 2024 · Backend Development

Integrating Tess4J OCR into a Spring Boot Backend Service

This tutorial walks through setting up a Spring Boot backend, adding the Tess4J OCR library, creating a service and REST controller to recognize text from both local files and remote image URLs, and provides testing steps and deployment tips.

OCRREST APISpring Boot
0 likes · 8 min read
Integrating Tess4J OCR into a Spring Boot Backend Service
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 13, 2024 · Backend Development

Mastering Elegant Parameter Validation in Spring Boot with Bean Validation

This article explains how to replace repetitive manual if‑else checks with Spring Boot’s built‑in Bean Validation, demonstrating the use of @Valid, @Validated, custom constraint annotations, group validation, and global exception handling to achieve clean, reusable, and maintainable parameter validation across controllers and services.

Bean ValidationSpring Bootparameter-validation
0 likes · 20 min read
Mastering Elegant Parameter Validation in Spring Boot with Bean Validation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 13, 2024 · Backend Development

Mastering Spring Boot Event Handling and Asynchronous Processing

Learn how Spring Boot 2.7.16 leverages ApplicationEvent and ApplicationListener for synchronous event handling, then explore two asynchronous approaches—using @Async with @EventListener and custom thread pools with a bespoke ApplicationEventMulticaster—complete with code examples and configuration details.

AsynchronousSpring Bootapplicationlistener
0 likes · 5 min read
Mastering Spring Boot Event Handling and Asynchronous Processing
Java High-Performance Architecture
Java High-Performance Architecture
Mar 11, 2024 · Backend Development

Build a Spring Boot App that Calls OpenAI’s ChatGPT API

This tutorial walks through creating a Spring Boot application that integrates the OpenAI ChatGPT API, covering prompt concepts, API endpoint details, required request parameters, project setup, necessary dependencies, DTO definitions, RestTemplate configuration, and a REST controller to generate AI‑driven responses.

ChatGPTOpenAI APIREST
0 likes · 10 min read
Build a Spring Boot App that Calls OpenAI’s ChatGPT API
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 11, 2024 · Backend Development

Mastering @ResponseStatus in Spring Boot: Real‑World Examples & Custom Error Handling

This tutorial explains how Spring Boot's @ResponseStatus annotation works, demonstrates practical ways to throw ResponseStatusException, create custom exception classes, annotate controller methods, and replace the default error view with a custom JSON response, complete with code samples and diagrams.

ResponseStatusSpring Bootbackend development
0 likes · 6 min read
Mastering @ResponseStatus in Spring Boot: Real‑World Examples & Custom Error Handling
IT Niuke
IT Niuke
Mar 10, 2024 · Cloud Native

How to Use Spring Cloud Sleuth for Distributed Log Tracing

This tutorial walks through setting up Spring Cloud Sleuth with Spring Boot 2.6.8 and Spring Cloud 2021.0.3 to capture and visualize distributed trace data via Zipkin, covering project creation, Maven dependencies, YAML configuration, OpenFeign integration, exception handling, RabbitMQ transport, and logback pattern adjustments.

MicroservicesSpring BootSpring Cloud Sleuth
0 likes · 22 min read
How to Use Spring Cloud Sleuth for Distributed Log Tracing
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.

Cache AnnotationCaffeineSpring Boot
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.

Cloud NativeKubernetesNacos
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.

OCRRESTSpring Boot
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.

MinIOPresigned UploadSpring Boot
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.

LiteFlowSpring BootWorkflow
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 TikaConfigurationSpring Boot
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.

Spring BootVueWeb Development
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.

MinIOPresigned URLSpring Boot
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 HandlingMaven
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.

SpringSpring Bootannotations
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.

Spring Bootauto-configurationjava
0 likes · 6 min read
How to Build Your Own Spring Boot Starter: A Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Feb 28, 2024 · Backend Development

Integrating Elasticsearch with Spring Boot for Full-Text Search

This tutorial explains how to integrate Elasticsearch into a Spring Boot application, covering project setup, dependency addition, configuration, entity and repository creation, service and controller implementation, and testing to enable efficient full‑text search for large data sets.

ElasticsearchSpring Bootbackend development
0 likes · 6 min read
Integrating Elasticsearch with Spring Boot for Full-Text Search
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.

Spring Bootauto-configurationjava
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.

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

HystrixRetry MechanismSpring Boot
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.

Spring BootTwo-level Cachecache
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.

Spring BootSpring Cloudcircuit breaker
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.

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

AOPSpring Bootannotations
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.

Spring Bootjavaorder 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.

AOPMicroservicesSpring Boot
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.

Connection PoolDebuggingRedis
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.

@EnableRetryRetryableSpring Boot
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.

CRUDElasticsearchSpring Boot
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.

BPMNCamundaSpring Boot
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 SearchPostgreSQLSQL
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.

OpenAISpring AISpring Boot
0 likes · 5 min read
Boost Your Spring Boot Apps with Generative AI Using Spring AI
Java Backend Technology
Java Backend Technology
Feb 19, 2024 · Backend Development

Mastering Unified API Responses, Exception Handling, and Logging in Spring Boot

This article explains how to design a standardized JSON response format, implement a unified result class and enum, handle global exceptions with @ControllerAdvice, and configure comprehensive Logback logging for Spring Boot applications, providing complete code examples and best‑practice guidelines.

Exception HandlingSpring BootUnified API
0 likes · 16 min read
Mastering Unified API Responses, Exception Handling, and Logging in Spring Boot
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.

AIGeminiSpring Boot
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.

Jakarta EEJava 17Kafka
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 ConverterInitBinderSpring Boot
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.

LuaRedisSpring Boot
0 likes · 19 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide