Tagged articles

Spring Boot

4575 articles · Page 27 of 46
Architect's Guide
Architect's Guide
Sep 11, 2023 · Backend Development

Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories

This article explains the concept and benefits of plugin-based development, outlines common Java implementation approaches such as SPI, configuration‑driven reflection, runtime JAR loading, and Spring Boot's spring.factories, and provides detailed code examples and a complete case study demonstrating flexible, hot‑pluggable SMS services.

JavaPlugin ArchitectureSPI
0 likes · 19 min read
Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 11, 2023 · Backend Development

Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor

This guide explains how to protect plaintext Spring Boot configuration values by encrypting them using Spring Cloud Context's DecryptEnvironmentPostProcessor, covering dependency setup, key generation, JCE policy installation, code examples, and runtime decryption for secure property access.

ConfigurationEnvironmentPostProcessorJCE
0 likes · 9 min read
Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 7, 2023 · Backend Development

How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis

This guide walks through setting up a Spring Boot 2.4.12 project with JDK 1.8, Oracle, and two data sources—master and slave—covering Maven dependencies, application.yml settings, custom property classes, HikariDataSource beans, JPA EntityManagerFactory, MyBatis SqlSessionFactory, mapper scanning, and testing entity creation to verify successful configuration.

HikariCPJPAMultiple Data Sources
0 likes · 21 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2023 · Backend Development

Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis

This guide explains how to combine local and remote caches using Alibaba's JetCache in a Spring Boot project, covering dependency setup, configuration files, annotation‑based usage, advanced API methods, testing procedures, and common troubleshooting tips for a robust multi‑level caching solution.

JavaJetCacheMulti-level caching
0 likes · 11 min read
Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.

Embedded ServerSpring BootThread Pool
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
Top Architect
Top Architect
Sep 5, 2023 · Backend Development

Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack

This article explains what a service gateway is—combining routing and filters—covers why it is needed for centralized cross‑cutting concerns such as authentication, rate limiting and monitoring, describes the architecture and request flow with gateway, open‑service and microservices, and recommends a Java‑based stack including Spring Boot, Netflix Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.

API GatewayFiltersJava
0 likes · 9 min read
Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 4, 2023 · Backend Development

Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging

This guide demonstrates how to integrate RocketMQ 4.8.0 into a Spring Boot 2.4.12 application, covering dependency setup, configuration, sending and receiving normal, ordered, cluster/broadcast, and transactional messages, complete with code snippets and execution results to help developers implement reliable messaging patterns.

@TransactionalBroadcastJava
0 likes · 9 min read
Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging
IT Services Circle
IT Services Circle
Sep 2, 2023 · Backend Development

Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization

This article explains what Swagger is, why it is useful for RESTful API documentation, and provides a step‑by‑step guide for integrating Swagger 3.0 with Spring Boot 2.7.6, handling version conflicts, customizing Docket settings, securing the UI, and applying advanced annotations to enrich the generated documentation.

API documentationJavaSpring Boot
0 likes · 20 min read
Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization
Java Architect Essentials
Java Architect Essentials
Sep 1, 2023 · Backend Development

Spring Boot Built‑in Utility Classes Overview

This article introduces the most commonly used Spring Boot utility classes—including assertions, object and collection helpers, file/IO utilities, reflection, and AOP support—providing code examples and usage guidelines to help Java backend developers write cleaner, more efficient code.

IOJavaSpring Boot
0 likes · 19 min read
Spring Boot Built‑in Utility Classes Overview
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

MavenPackagingSpring Boot
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Code Ape Tech Column
Code Ape Tech Column
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to implement a user sign‑in feature and its statistical analysis using Redis BitMap within a Spring Boot backend, covering basic BitMap commands, integration steps, core source code, continuous sign‑in calculation, and a bitmap‑based solution for cache penetration.

BackendBitmapSpring Boot
0 likes · 11 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot
Java Architecture Diary
Java Architecture Diary
Aug 31, 2023 · Backend Development

Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API

This guide walks through Spring Framework 6.1's new JdbcClient API, showing how to define a Bookmark entity, create the corresponding MySQL schema, perform fluent CRUD operations, and verify them with Testcontainers‑based integration tests in a Spring Boot 3.2 project.

CRUDJavaJdbcClient
0 likes · 12 min read
Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API
Architecture Digest
Architecture Digest
Aug 30, 2023 · Backend Development

Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed exploration of Spring and Spring Boot's extensible interfaces, illustrating the complete bean lifecycle, presenting an invocation order diagram, and offering practical code examples for each extension point such as ApplicationContextInitializer, BeanFactoryPostProcessor, SmartInstantiationAwareBeanPostProcessor, and more, enabling developers to customize container behavior effectively.

Bean LifecycleJavaSpring
0 likes · 17 min read
Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle
Top Architect
Top Architect
Aug 30, 2023 · Backend Development

Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries

This article provides a comprehensive guide on implementing WebSocket in Spring Boot, covering the Javax API, Spring WebMVC and WebFlux configurations, client and server setups, message handling, handshake interceptors, and a brief overview of popular third‑party libraries such as Java‑WebSocket, SocketIO and Netty.

JavaSpring BootWebSocket
0 likes · 20 min read
Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries
Java High-Performance Architecture
Java High-Performance Architecture
Aug 30, 2023 · Backend Development

How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot

This article explains how to standardize Spring Boot controller handling by receiving parameters, defining unified status codes, applying global validation, wrapping responses consistently, and managing exceptions with custom advice, using annotations, enums, and AOP techniques to improve code readability and front‑end integration.

ControllerJavaResponse Wrapper
0 likes · 20 min read
How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 30, 2023 · Databases

Achieving Efficient Real‑Time Search for Massive Data in Spring Boot Applications

The article analyzes why massive tables become a bottleneck in Spring Boot systems, outlines the drawbacks of sharding, and presents a layered solution—data archiving, read‑write separation with caching, heterogeneous source synchronization via Elasticsearch and Canal, and selective sharding—to enable high‑performance real‑time search.

CanalData ArchivingElasticsearch
0 likes · 13 min read
Achieving Efficient Real‑Time Search for Massive Data in Spring Boot Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 30, 2023 · Backend Development

Implementing Max‑Effort Notification with RabbitMQ in Spring Boot

This guide explains how to design a max‑effort notification mechanism for a recharge scenario using Spring Boot 2.4.12 and RabbitMQ 3.7.4, detailing the interaction flow, repeat‑notification strategy, message verification, and provides complete code for both pay‑manager and users‑manager modules, including configuration, entities, services, listeners, and controllers.

Max Effort NotificationMessage reliabilityRabbitMQ
0 likes · 11 min read
Implementing Max‑Effort Notification with RabbitMQ in Spring Boot
Wukong Talks Architecture
Wukong Talks Architecture
Aug 29, 2023 · Backend Development

Using Swagger with Spring Boot: Setup, Configuration, and Common Issues

This tutorial explains what Swagger is, why it is useful for RESTful API documentation, and provides step‑by‑step instructions for integrating Swagger 3.0 into a Spring Boot 2.7.6 project, including Maven dependencies, configuration classes, handling startup errors, customizing the UI, security settings, and annotation usage.

API documentationJavaSpring Boot
0 likes · 16 min read
Using Swagger with Spring Boot: Setup, Configuration, and Common Issues
Top Architect
Top Architect
Aug 29, 2023 · Backend Development

Implementing Resumable Multipart File Upload with MinIO and Spring Boot

This article explains how to design and implement a resumable multipart file upload system using MD5 file identification, MinIO/S3 pre‑signed URLs, and Spring Boot controllers and services, covering database schema, task initialization, part uploading, merging, and cleanup of incomplete uploads.

JavaMultipart UploadSpring Boot
0 likes · 11 min read
Implementing Resumable Multipart File Upload with MinIO and Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 28, 2023 · Information Security

How to Secure API Transmission with Spring Boot, Vue, and AES/DES Encryption

This guide explains how to protect API data exchange by implementing HTTPS, JWT, rate limiting, MAC, and symmetric encryption (AES/DES) in a Spring Boot backend, while using Vue and Axios on the frontend, including custom annotations, request/response advice, and crypto‑js utilities for end‑to‑end encryption.

AESAPI SecurityJWT
0 likes · 15 min read
How to Secure API Transmission with Spring Boot, Vue, and AES/DES Encryption
Architecture Digest
Architecture Digest
Aug 25, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache Java caching framework, explains how to combine local and Redis remote caches for multi‑level caching, provides Maven dependencies, configuration examples, three usage patterns (AOP, API, advanced API), testing steps, and common troubleshooting tips for Spring Boot projects.

BackendJavaJetCache
0 likes · 10 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2023 · Backend Development

Designing a Scalable Short URL Service with Spring Boot

This article explains the principles, system design, key generation, encoding strategies, HTTP redirection techniques, and step‑by‑step Spring Boot project setup needed to build a reliable short‑link service for marketing and internal applications.

HTTP redirectKey generationSpring Boot
0 likes · 8 min read
Designing a Scalable Short URL Service with Spring Boot
Java Architecture Diary
Java Architecture Diary
Aug 21, 2023 · Backend Development

How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade

This article explains why URL mappings that worked in Spring Boot 2.x break after upgrading to Spring Boot 3, demonstrates the issue with trailing slashes, and provides three practical solutions—including a filter, Nginx rule, and Spring Cloud Gateway optimization—to restore correct routing.

NginxSpring BootSpring Cloud Gateway
0 likes · 5 min read
How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 21, 2023 · Backend Development

High‑Availability Rate‑Limiting Solutions for Spring Boot Systems

The article explains why rate limiting is essential for high‑traffic Spring Boot services, compares counter, sliding‑window, token‑bucket and leaky‑bucket algorithms, demonstrates implementations with plain Java, Guava RateLimiter, AOP, and distributed approaches using Redis‑Lua and Nginx‑Lua, and provides practical configuration examples.

GuavaNginxRedis
0 likes · 20 min read
High‑Availability Rate‑Limiting Solutions for Spring Boot Systems
Java Architect Essentials
Java Architect Essentials
Aug 20, 2023 · Backend Development

Bean Searcher: A High‑Performance Java Search Engine for Complex List Queries

Bean Searcher is an open‑source Java library that delivers a condition‑retrieval engine up to 100 times faster than MyBatis, natively supports multi‑table joins, pagination, sorting and aggregation, and enables developers to implement sophisticated list‑search APIs with a single line of code, dramatically reducing backend development effort.

Bean SearcherJavaORM
0 likes · 8 min read
Bean Searcher: A High‑Performance Java Search Engine for Complex List Queries
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 20, 2023 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot 2.4.12 configures error handling, from default HTML/JSON responses based on the Accept header to the internal auto‑configuration that registers custom error pages in the embedded Tomcat container using BeanPostProcessors and the BasicErrorController.

Exception ManagementJavaSpring Boot
0 likes · 10 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2023 · Backend Development

Master Spring Boot Transaction Management with TransactionTemplate and PlatformTransactionManager

This guide explains Spring Boot's programmatic transaction management using TransactionTemplate, TransactionCallback, and PlatformTransactionManager, covering configuration, rollback handling, event listeners, and when to prefer programmatic versus declarative approaches, complete with code examples.

JavaPlatformTransactionManagerSpring Boot
0 likes · 8 min read
Master Spring Boot Transaction Management with TransactionTemplate and PlatformTransactionManager
Top Architect
Top Architect
Aug 18, 2023 · Backend Development

Spring Boot Best Practices for Developers

This article presents a comprehensive collection of Spring Boot best practices—including proper package structure, design pattern usage, starter dependencies, Lombok integration, constructor injection, SLF4J logging, controller and service design, null‑pointer avoidance, collection handling, pagination, caching, custom exception handling, response objects, code cleanup, meaningful naming, casing conventions, simplicity, consistent formatting, and SonarLint usage—to help developers build efficient, maintainable, and high‑performance backend applications.

JavaPerformanceSpring Boot
0 likes · 11 min read
Spring Boot Best Practices for Developers
Code Ape Tech Column
Code Ape Tech Column
Aug 18, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache framework, explains how to configure and combine local and remote (Redis) caches in a Spring Boot project, and demonstrates three usage patterns—AOP annotations, API mode, and advanced CacheManager API—along with troubleshooting tips and test procedures.

JavaJetCacheMulti-level Cache
0 likes · 11 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
Programmer DD
Programmer DD
Aug 18, 2023 · Information Security

Why Gmail Rejects Your Emails and How to Fix SPF/DKIM Issues

This guide explains why Gmail bounces verification emails from a Spring Boot backend, analyzes the required SPF, DKIM, ARC, and DMARC configurations, and provides step‑by‑step instructions with example TXT records to ensure successful delivery.

DKIMDMARCDNS
0 likes · 6 min read
Why Gmail Rejects Your Emails and How to Fix SPF/DKIM Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 17, 2023 · Backend Development

Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns

This guide explains how Spring Boot 2.6.12 uses @GetMapping with consumes and produces attributes to restrict request and response content types, demonstrates matching based on request parameters and headers, details the internal request mapping lookup process, compares PathPattern and AntPathMatcher URI patterns, and shows dynamic registration of request handlers.

JavaRequest MappingSpring Boot
0 likes · 9 min read
Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2023 · Backend Development

Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot

The article examines how Spring Boot handles circular reference serialization with Jackson and Fastjson, demonstrates the role of @ControllerAdvice for global exception capture, explains why Jackson may emit both 200 and 500 responses, and provides practical solutions using annotations and configuration.

BackendFastjsonGlobal Exception Handling
0 likes · 18 min read
Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot
Su San Talks Tech
Su San Talks Tech
Aug 16, 2023 · Backend Development

Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide

Learn how to build a QR‑code login system using Spring Boot and WebSocket, covering database design, role analysis, API creation, front‑end integration, and full Java code examples for generating QR images, handling socket communication, and validating tokens with expiration logic.

JavaQR Code LoginSpring Boot
0 likes · 13 min read
Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide
Architecture Digest
Architecture Digest
Aug 15, 2023 · Backend Development

Spring Boot Best Practices for Building Efficient Backend Applications

This article presents a comprehensive collection of Spring Boot best practices, covering package organization, design patterns, starter usage, dependency management, Lombok integration, constructor injection, logging with SLF4J, controller responsibilities, service layer design, null‑safety, collection handling, pagination, caching, exception handling, response objects, code cleanup, naming conventions, formatting, and tooling such as SonarLint.

JavaLombokSpring Boot
0 likes · 11 min read
Spring Boot Best Practices for Building Efficient Backend Applications
macrozheng
macrozheng
Aug 15, 2023 · Backend Development

Mastering Web Message Push: From Short Polling to SSE and WebSocket

This article explains various web message‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—detailing their principles, advantages, and step‑by‑step Spring Boot and JavaScript implementations with complete code examples.

JavaSSESpring Boot
0 likes · 18 min read
Mastering Web Message Push: From Short Polling to SSE and WebSocket
Su San Talks Tech
Su San Talks Tech
Aug 15, 2023 · Information Security

Master Spring Security & JWT: Build Secure Authentication in Spring Boot

This tutorial explains how to integrate Spring Security with JWT in a Spring Boot application, covering authentication and authorization concepts, filter chain principles, project setup, dependency configuration, security configuration classes, custom token filters, and the complete request‑authentication flow.

AuthenticationAuthorizationJWT
0 likes · 15 min read
Master Spring Security & JWT: Build Secure Authentication in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 15, 2023 · Backend Development

Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor

This tutorial explains how to protect sensitive Spring Boot configuration values by encrypting them and automatically decrypting them at runtime using Spring Cloud Context's DecryptEnvironmentPostProcessor, complete with dependency setup, code examples, and JCE installation guidance.

ConfigurationEnvironmentPostProcessorSpring Boot
0 likes · 7 min read
Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 14, 2023 · Backend Development

Common @Transactional Pitfalls in Spring Boot Business Code and How to Avoid Them

This article analyzes frequent scenarios where Spring's @Transactional annotation fails in Spring Boot projects—such as self-invocation, swallowed exceptions, misconfigured rollback rules, non‑public methods, wrong propagation settings, and long‑running transactions—and provides concrete fixes to prevent data inconsistency and performance issues.

@TransactionalCGLIB proxySpring Boot
0 likes · 17 min read
Common @Transactional Pitfalls in Spring Boot Business Code and How to Avoid Them
Top Architect
Top Architect
Aug 13, 2023 · Backend Development

Implementing Idempotency in Spring Boot with Custom Annotations and Redis

This article explains the concept of idempotency, identifies naturally idempotent HTTP methods, discusses why idempotency is essential for retries, async callbacks, and message queues, and provides a complete Spring Boot implementation using a custom @Idempotent annotation, AOP, and Redis for token storage.

BackendJavaRedis
0 likes · 12 min read
Implementing Idempotency in Spring Boot with Custom Annotations and Redis
Su San Talks Tech
Su San Talks Tech
Aug 13, 2023 · Backend Development

Master Spring Boot Configuration: From Environment to @Value and Beyond

This article explains multiple ways to read configuration properties in Spring Boot—including Environment, @Value, @ConfigurationProperties, @PropertySources, and custom YAML loading—detailing their underlying mechanisms, common pitfalls, and code examples so developers can choose the most suitable approach for their projects.

@ConfigurationProperties@ValueEnvironment
0 likes · 17 min read
Master Spring Boot Configuration: From Environment to @Value and Beyond
Java Interview Crash Guide
Java Interview Crash Guide
Aug 9, 2023 · Backend Development

Boost Java Backend Productivity with MyBatis‑Plus Generator UI

This article introduces the MyBatis‑Plus Generator UI, a web‑based code generation framework that supports multiple databases, offers highly customizable templates, and integrates seamlessly with Spring Boot to accelerate backend development through automated creation of entities, mappers, services, controllers, and SQL‑based code.

JavaMyBatis-PlusSpring Boot
0 likes · 13 min read
Boost Java Backend Productivity with MyBatis‑Plus Generator UI
Code Ape Tech Column
Code Ape Tech Column
Aug 9, 2023 · Operations

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

This tutorial walks through a complete, step‑by‑step setup of a one‑click CI/CD pipeline that installs Docker and Jenkins on CentOS, configures Maven, creates a Jenkins job, builds a Spring Boot JAR, packages it into a Docker image, and runs the container, providing all commands and screenshots for a seamless deployment experience.

CI/CDCentOSJenkins
0 likes · 6 min read
One‑Click Automated Deployment of Spring Boot with Jenkins and Docker
Java Architecture Diary
Java Architecture Diary
Aug 9, 2023 · Backend Development

What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts

MyBatis‑Plus 3.5.13 introduces dynamic SQL smart optimization, a richer code generator, significant heap‑memory reduction, Spring Boot 3 and JDK 17 native support, new database adapters, enhanced optimistic locking, multi‑parameter filling, and comprehensive SQL‑injection safeguards, all aimed at faster, more productive backend development.

JavaMyBatis-PlusORM
0 likes · 9 min read
What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts
Top Architect
Top Architect
Aug 8, 2023 · Backend Development

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry point for microservices, explains its core functions, compares it with Zuul, provides Maven and YAML configuration examples, details route definitions, filter types and ordering, shows how to implement custom filters, and demonstrates CORS solutions using both YAML and Java code.

API GatewayCORSCustom Filter
0 likes · 16 min read
Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling
JD Tech
JD Tech
Aug 8, 2023 · Backend Development

Creating a Custom Maven Archetype Scaffold for Spring Boot Projects

This guide walks through building a reusable Maven archetype scaffold from a Spring Boot template, covering template preparation, Maven configuration, archetype generation, publishing to a repository, and using the scaffold to quickly create new backend projects.

ArchetypeMavenScaffolding
0 likes · 9 min read
Creating a Custom Maven Archetype Scaffold for Spring Boot Projects
Top Architect
Top Architect
Aug 3, 2023 · Backend Development

Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight yet high‑performance MyBatis enhancement framework, outlines its key features, compares it with similar tools, lists supported databases, and provides a step‑by‑step Spring Boot quick‑start tutorial with complete code examples.

JavaMyBatis-FlexORM
0 likes · 11 min read
Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide
Architecture Digest
Architecture Digest
Aug 3, 2023 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial

This tutorial explains how to integrate Dataway—a UI‑driven API configuration tool based on DataQL—into a Spring Boot application by adding the required Hasor dependencies, configuring Dataway properties and database tables, setting up the data source, enabling Hasor, and finally creating and publishing APIs using both SQL and DataQL modes.

DataQLDatawayHasor
0 likes · 13 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 2, 2023 · Backend Development

Introduction and Quick‑Start Guide to the Flowable Workflow Engine

This article introduces the Flowable workflow engine, compares it with other BPM solutions, explains its core concepts, APIs, system tables, BPMN 2.0 modeling, and provides a step‑by‑step quick‑start example with code snippets for building and executing an approval process in a Spring Boot environment.

BPMNFlowableJava
0 likes · 17 min read
Introduction and Quick‑Start Guide to the Flowable Workflow Engine
Architect
Architect
Aug 1, 2023 · Backend Development

How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel

This article walks through the importance of rate limiting in microservice architectures, compares Dubbo, Spring Cloud, and gateway approaches, explains token‑bucket, leaky‑bucket and sliding‑window algorithms, and provides step‑by‑step AOP implementations using Guava, Sentinel, and Redis with full code samples.

DubboJavaRedis
0 likes · 32 min read
How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel
Architecture Digest
Architecture Digest
Aug 1, 2023 · Backend Development

Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot

This article provides a step‑by‑step tutorial on integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, and multi‑datasource usage with complete code examples.

CRUDJavaMyBatis-Plus
0 likes · 15 min read
Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 1, 2023 · Backend Development

Boost Spring Boot Throughput: Programmatic Transaction Management vs @Transactional

This article demonstrates how using Spring Boot's TransactionTemplate to programmatically control transactions can prevent long‑running non‑transactional operations from blocking database connections, thereby increasing system throughput compared to the traditional @Transactional annotation, with detailed code examples and performance observations.

JPAJavaPerformance
0 likes · 6 min read
Boost Spring Boot Throughput: Programmatic Transaction Management vs @Transactional
Java Architect Essentials
Java Architect Essentials
Jul 31, 2023 · Backend Development

Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry

This article explains how to implement reliable retry mechanisms in Java applications using Spring‑Retry and Guava‑Retry, covering Maven dependencies, template‑based and annotation‑based configurations, policy and back‑off options, code examples, test results, and a practical comparison of both frameworks.

Guava RetryJavaRetry Framework
0 likes · 17 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry
Architect
Architect
Jul 30, 2023 · Backend Development

Spring Boot Integration with Spring Batch: A Comprehensive Tutorial

This article provides a step‑by‑step guide on integrating Spring Batch with Spring Boot, covering configuration, job and step setup, ItemReader/Processor/Writer implementations, database interactions, handling CSV and database sources, and troubleshooting common issues such as connection‑pool compatibility.

BackendBatch ProcessingJava
0 likes · 22 min read
Spring Boot Integration with Spring Batch: A Comprehensive Tutorial
Top Architect
Top Architect
Jul 28, 2023 · Backend Development

An Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight yet powerful MyBatis enhancement framework, outlines its key features and advantages, compares it with similar tools, presents performance benchmarks, lists supported databases, and provides a step‑by‑step quick‑start tutorial with code examples for Spring Boot integration.

JavaMyBatis-FlexORM
0 likes · 9 min read
An Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2023 · Backend Development

Introduction to Spring Cloud Gateway and Its Core Concepts

This article explains the purpose of an API gateway, introduces Spring Cloud Gateway as a modern, WebFlux‑based solution, outlines its features, core concepts such as routes, predicates and filters, shows configuration examples, dynamic routing, and how to create custom predicates and filters for microservice architectures.

API GatewayJavaSpring Boot
0 likes · 10 min read
Introduction to Spring Cloud Gateway and Its Core Concepts
Top Architect
Top Architect
Jul 27, 2023 · Backend Development

Step‑by‑Step Integration of Dataway with Spring Boot Using Hasor

This article provides a comprehensive tutorial on integrating Dataway—a zero‑code API configuration tool based on DataQL—into a Spring Boot project via the Hasor framework, covering dependency setup, Dataway configuration, datasource binding, enabling Hasor, launching the application, and creating and testing API endpoints.

API ConfigurationDatawayHasor
0 likes · 15 min read
Step‑by‑Step Integration of Dataway with Spring Boot Using Hasor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 27, 2023 · Backend Development

How to Set Up and Secure Spring Boot Admin Server & Client with Dynamic Logging

This guide walks through setting up a Spring Boot Admin server and client, adding security, configuring logging, displaying client IPs, and dynamically adjusting log levels via the SBA UI, providing complete Maven dependencies, Java configuration classes, and YAML settings for a secure, observable Spring Boot ecosystem.

JavaSpring Bootlogging
0 likes · 9 min read
How to Set Up and Secure Spring Boot Admin Server & Client with Dynamic Logging
macrozheng
macrozheng
Jul 25, 2023 · Backend Development

Dynamic SQL with MyBatis Interceptors in Spring Boot

This tutorial explains how to use MyBatis interceptor mechanisms to dynamically modify SQL statements at runtime in a Spring Boot application, covering interceptor types, implementation steps, configuration, core code, testing, and common use cases such as SQL monitoring, pagination, and data permission filtering.

Dynamic SQLInterceptorJava
0 likes · 11 min read
Dynamic SQL with MyBatis Interceptors in Spring Boot
Java Architecture Diary
Java Architecture Diary
Jul 25, 2023 · Backend Development

Fixing Spring Boot Startup Errors After CVE‑2023‑34035 Upgrade

When upgrading Spring Boot to patch CVE‑2023‑34034 and CVE‑2023‑34035, applications using Spring Security may encounter a startup error indicating ambiguous pattern detection, which can be resolved by upgrading to patched versions and adjusting requestMatchers to use MvcRequestMatcher or AntPathRequestMatcher as appropriate.

AuthorizationCVEJava
0 likes · 4 min read
Fixing Spring Boot Startup Errors After CVE‑2023‑34035 Upgrade
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2023 · Cloud Native

Graceful Service Deployment with Nacos Registry in Spring Boot

This article explains how to achieve graceful service publishing using Nacos as a registration center in a Spring Boot microservice architecture, covering environment setup, provider startup and shutdown, client-side load‑balancing with Ribbon, and configuration tweaks for both online and offline scenarios.

FeignGraceful DeploymentNacos
0 likes · 16 min read
Graceful Service Deployment with Nacos Registry in Spring Boot