Tagged articles

Spring Boot

4358 articles · Page 32 of 44
Java Backend Technology
Java Backend Technology
Apr 3, 2022 · Backend Development

Why @Transactional Fails in Spring and How to Fix It

This article explains three common reasons why the @Transactional annotation may not work in Spring—non‑public methods, self‑invocation, and catching exceptions—provides code examples for each case, and details the underlying proxy and transaction management mechanisms to help developers resolve the issues.

AOPDatabase TransactionSpring
0 likes · 11 min read
Why @Transactional Fails in Spring and How to Fix It
Su San Talks Tech
Su San Talks Tech
Apr 2, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—from managing dependencies with custom BOMs and leveraging auto‑configuration to structuring packages, handling concurrency, externalizing configuration, and adopting testing strategies—aimed at building clean, maintainable microservices.

MicroservicesSpring Bootbackend development
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Apr 1, 2022 · Backend Development

Standardized API Response, Global Exception Handling, and Logback Configuration in Spring Boot

This article explains how to define a unified JSON response format for Spring Boot APIs, implement a reusable result class with chainable methods, set up global exception handling using @ControllerAdvice, and configure Logback for structured logging across development and production environments, including code examples.

API responseSpring Boot
0 likes · 15 min read
Standardized API Response, Global Exception Handling, and Logback Configuration in Spring Boot
DataFunSummit
DataFunSummit
Mar 30, 2022 · Backend Development

Implementing Distributed Scheduled Tasks with Quartz in Spring Boot

This tutorial explains how to build a highly available, horizontally scalable distributed scheduled‑task system using Quartz in a Spring Boot application, covering application scenarios, Maven dependencies, database initialization, configuration properties, job and scheduler code, and verification of failover behavior.

QuartzSpring Bootbackend development
0 likes · 14 min read
Implementing Distributed Scheduled Tasks with Quartz in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2022 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Microservices

This article shares sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM management and auto‑configuration to proper package layout, constructor injection, concurrency awareness, externalized configuration, logging, testing, and global exception handling—to help developers build clean, maintainable Java microservices.

MicroservicesSpring Bootbackend development
0 likes · 13 min read
Spring Boot Best Practices: 16 Tips for Building Robust Microservices
Top Architect
Top Architect
Mar 29, 2022 · Backend Development

Packaging a Spring Boot Application into a Windows EXE Installer with exe4j and Inno Setup

This guide walks through converting a functional Spring Boot JAR into a Windows executable with exe4j, then bundling the EXE, JRE, and dependencies into a single installer using Inno Setup, providing step‑by‑step screenshots, configuration tips, and the final script for seamless deployment on machines without a JDK.

Desktop applicationExe4JInno Setup
0 likes · 6 min read
Packaging a Spring Boot Application into a Windows EXE Installer with exe4j and Inno Setup
Java Captain
Java Captain
Mar 26, 2022 · Backend Development

Vaccination Management System – Features, Architecture, and Core Backend Code

This article presents a Java Spring Boot vaccination management system that supports user registration, vaccine record handling, case history, nucleic‑acid test reporting, travel tracking, risk‑area management, and epidemic‑prevention knowledge, detailing its roles, technology stack, database design, UI screenshots, and core backend source code.

MySQLREST APISpring Boot
0 likes · 13 min read
Vaccination Management System – Features, Architecture, and Core Backend Code
Programmer DD
Programmer DD
Mar 26, 2022 · Backend Development

What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements

Spring Boot 3.0.0 M2, released on March 25, 2022, brings 50 bug fixes, documentation enhancements, and dependency updates, revisits the M1 changes such as Java 17 baseline and Jakarta EE migration, and adds features like restored EhCache 3 support, H2 Console, and improved @ConstructorBinding detection.

Jakarta EEM2 releaseSpring Boot
0 likes · 3 min read
What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements
macrozheng
macrozheng
Mar 22, 2022 · Backend Development

Switching to SpringDoc: A Complete Guide to Replacing SpringFox in Spring Boot

After SpringFox became outdated and incompatible with Spring Boot 2.6, this article introduces SpringDoc as a modern OpenAPI 3‑based alternative, explains its advantages, shows how to integrate it, migrate annotations, configure security, and provides sample code and screenshots for a seamless transition.

OpenAPISpring BootSpringDoc
0 likes · 12 min read
Switching to SpringDoc: A Complete Guide to Replacing SpringFox in Spring Boot
Java Backend Technology
Java Backend Technology
Mar 18, 2022 · Backend Development

Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3

An in‑depth analysis shows that in Spring Boot 2.0.3 a @Configuration class defining a @Bean can override a @Component‑annotated bean of the same type, how the Spring container registers and replaces the bean definitions, and the evolution of bean‑overriding controls in later Spring and Spring Boot releases.

Bean OverridingComponentConfiguration
0 likes · 8 min read
Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3
macrozheng
macrozheng
Mar 17, 2022 · Backend Development

How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues

This article walks through upgrading a Spring Boot project to version 2.6.x, explains why circular bean dependencies and Swagger failures occur after the upgrade, and provides step‑by‑step configuration changes—including allowing circular references, using @Lazy, and adjusting MVC path‑matching—to resolve the problems.

Circular DependencySpring BootSwagger
0 likes · 7 min read
How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues
Efficient Ops
Efficient Ops
Mar 16, 2022 · Operations

How to Build a Real-Time ELK Log Analysis Platform on Ubuntu

This tutorial walks you through the complete setup of an ELK (Elasticsearch, Logstash, Kibana) real‑time log analysis platform on Ubuntu, covering component installation, configuration for Spring Boot and Nginx logs, Grok parsing, and background service management with Supervisor.

ELKElasticsearchKibana
0 likes · 21 min read
How to Build a Real-Time ELK Log Analysis Platform on Ubuntu
Architecture Digest
Architecture Digest
Mar 16, 2022 · Backend Development

Spring Boot Super Scheduled: Dynamic Management and Enhancement of @Scheduled Tasks

This article introduces a Spring Boot starter that enhances native @Scheduled tasks with dynamic management capabilities, explains how to integrate the dependency, and details the underlying implementation using post‑processors, application runners, custom managers, and CGLIB‑based proxy chains to modify scheduling parameters at runtime.

AOPCGLIBDynamic Management
0 likes · 14 min read
Spring Boot Super Scheduled: Dynamic Management and Enhancement of @Scheduled Tasks
ITPUB
ITPUB
Mar 15, 2022 · Backend Development

How to Manage Multiple Environments in Spring Boot Easily

This guide explains why manual configuration changes across development, test, and production environments are error‑prone and shows step‑by‑step how Spring Boot’s profile‑specific property files, code snippets, and activation methods let you configure and switch environments quickly and reliably.

Multi-EnvironmentProfilesSpring Boot
0 likes · 7 min read
How to Manage Multiple Environments in Spring Boot Easily
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 14, 2022 · Cloud Native

Unlock Serverless Power with Spring Cloud Function: A Hands‑On Guide

Spring Cloud Function abstracts infrastructure to let developers write business logic as reusable functions, deployable as web endpoints, stream processors, or serverless tasks across providers, with examples showing HTTP, RabbitMQ/Kafka integration, code snippets, and endpoint mappings for various function types.

Function-as-a-ServiceSpring BootSpring Cloud Function
0 likes · 7 min read
Unlock Serverless Power with Spring Cloud Function: A Hands‑On Guide
Programmer DD
Programmer DD
Mar 10, 2022 · Backend Development

Spring Cloud Alibaba 2021.0.1.0: New Features, Version Rules Explained

The Spring Cloud Alibaba 2021.0.1.0 release, built on Spring Boot 2.6.3 and Spring Cloud 2021.0.1, introduces upgraded Nacos client, RocketMQ 4.9.2 with batch and async support, Sentinel 1.8.3 enhancements for FeignClient, Spring Config import support, and a clarified version‑numbering scheme aligning with Spring Cloud.

NacosRocketMQSentinel
0 likes · 5 min read
Spring Cloud Alibaba 2021.0.1.0: New Features, Version Rules Explained
Top Architect
Top Architect
Mar 8, 2022 · Information Security

Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation

This article explains two high‑severity Spring Cloud Gateway vulnerabilities (CVE‑2022‑22946 and CVE‑2022‑22947), outlines the affected versions, describes how attackers can exploit exposed Actuator endpoints, and provides concrete mitigation steps such as upgrading to safe releases or disabling the gateway actuator.

ActuatorCVE-2022-22946CVE-2022-22947
0 likes · 6 min read
Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation
Programmer DD
Programmer DD
Mar 7, 2022 · Backend Development

Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It

This article explains why Spring Cloud Gateway may emit duplicate Access-Control-Allow-Origin and Vary headers during CORS handling, analyzes the internal processing flow, and provides two practical solutions—using DedupeResponseHeader configuration or a custom GlobalFilter—to eliminate the duplication.

CORSSpring BootSpring Cloud Gateway
0 likes · 12 min read
Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It
Architecture Digest
Architecture Digest
Mar 7, 2022 · Backend Development

Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot

This article explains how to replace inefficient traditional delay mechanisms with RabbitMQ's delayed‑queue plugin, showing step‑by‑step configuration, producer and consumer code in Spring Boot, and demonstrates successful delayed message delivery using real‑world examples such as auto‑confirm orders and ticket reservations.

Delayed QueueMessage QueueSpring Boot
0 likes · 8 min read
Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot
macrozheng
macrozheng
Mar 7, 2022 · Databases

Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search

RedisOM, the official Redis ORM for Java, lets Spring Boot developers replace RedisTemplate with object‑oriented data handling and built‑in full‑text search, covering JDK 11 setup, Maven dependencies, configuration, entity annotations, repository interfaces, and REST controller examples for managing product data.

DatabaseFull-text SearchORM
0 likes · 11 min read
Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search
IT Architects Alliance
IT Architects Alliance
Mar 6, 2022 · Backend Development

How to Implement Delayed Message Delivery with RabbitMQ’s Plugin in Spring Boot

This article explains why traditional delay solutions like Redis expiration, database polling, or JVM DelayQueue are inefficient, then demonstrates step‑by‑step how to configure RabbitMQ’s delayed‑queue plugin, create exchanges, queues, and bindings in Spring Boot, and send and consume delayed messages with code examples.

Delayed QueueMessage QueueSpring Boot
0 likes · 9 min read
How to Implement Delayed Message Delivery with RabbitMQ’s Plugin in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Mar 5, 2022 · Information Security

Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation

This article explains two critical Spring Cloud Gateway vulnerabilities (CVE-2022-22946 and CVE-2022-22947), detailing their causes, affected versions, potential impact, and recommended remediation steps such as upgrading to safe releases or disabling the vulnerable actuator endpoint.

CVERemote Code ExecutionSpring Boot
0 likes · 4 min read
Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation
360 Quality & Efficiency
360 Quality & Efficiency
Mar 4, 2022 · Information Security

Integrating Apache Shiro with Spring Boot: Core Components, Configuration, and Authentication Flow

This article provides a comprehensive guide on integrating Apache Shiro into a Spring Boot application, covering core components, Maven configuration, bean definitions, security manager setup, custom realms, filter chain configuration, and the complete login authentication flow with code examples.

Apache ShiroSpring Bootauthentication
0 likes · 12 min read
Integrating Apache Shiro with Spring Boot: Core Components, Configuration, and Authentication Flow
IT Services Circle
IT Services Circle
Mar 3, 2022 · Backend Development

Implementing Precise Order Timeout with RabbitMQ Delayed Message Plugin in Spring Boot

This article explains why using scheduled tasks for closing timed‑out orders is problematic, demonstrates how to use RabbitMQ dead‑letter queues and the x‑delay‑message plugin to achieve accurate order timeout handling, and provides complete Spring Boot configuration and code examples with testing and limitations.

Delayed QueueMessage SchedulingSpring Boot
0 likes · 13 min read
Implementing Precise Order Timeout with RabbitMQ Delayed Message Plugin in Spring Boot
Top Architect
Top Architect
Feb 28, 2022 · Backend Development

Integrating MinIO Object Storage with Spring Boot and Vue: Docker Setup, API, and Frontend Upload

This tutorial explains how to deploy MinIO with Docker on Linux/macOS and Windows, configure a Spring Boot backend with MinIO client libraries, create reusable Java components for signed policies and file uploads, and build a Vue/Element‑UI frontend that demonstrates three upload methods, all with complete code examples.

DockerMinIOSpring Boot
0 likes · 12 min read
Integrating MinIO Object Storage with Spring Boot and Vue: Docker Setup, API, and Frontend Upload
Selected Java Interview Questions
Selected Java Interview Questions
Feb 23, 2022 · Backend Development

Graceful Shutdown Techniques for Spring Boot Applications

The article explains why killing a Spring Boot process with SIGKILL is unsafe and presents five practical ways—using Actuator, closing the application context, writing a PID file, invoking SpringApplication.exit, and creating a custom shutdown controller—to achieve a graceful shutdown while ensuring @PreDestroy methods run and resources are released.

ActuatorPreDestroySpring Boot
0 likes · 7 min read
Graceful Shutdown Techniques for Spring Boot Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 21, 2022 · Backend Development

How Spring Boot Auto‑Configures RabbitMQ Listeners: A Deep Dive

This article explains step‑by‑step how Spring Boot’s RabbitAutoConfiguration sets up connection factories, RabbitTemplate, listener containers, and lifecycle management to enable @RabbitListener‑driven message processing, complete with code examples and the underlying bean registration flow.

AutoConfigurationMessage ListenerSpring Boot
0 likes · 22 min read
How Spring Boot Auto‑Configures RabbitMQ Listeners: A Deep Dive
Top Architect
Top Architect
Feb 19, 2022 · Databases

Comprehensive Guide to Configuring Druid DataSource in Spring Boot

This article provides a detailed tutorial on Druid, the Alibaba‑developed Java database connection pool, covering its core concepts, Maven dependencies, extensive Spring Boot configuration options, filter setup, monitoring UI, SQL and slow‑query logging, ad removal techniques, and programmatic access to monitoring data.

DruidSpring Bootjava
0 likes · 15 min read
Comprehensive Guide to Configuring Druid DataSource in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2022 · Backend Development

Implementing a Lightweight Redis‑Based Message Queue: Environment Setup, List, Pub/Sub, and Stream Solutions

This article details the research background, environment preparation, and three Redis‑based message‑queue implementations—using List structures, Pub/Sub, and Stream APIs—along with code examples, design considerations, testing strategies, and deployment tips for building a lightweight messaging component in Java Spring Boot.

Message QueueRedisSpring Boot
0 likes · 17 min read
Implementing a Lightweight Redis‑Based Message Queue: Environment Setup, List, Pub/Sub, and Stream Solutions
Java Backend Technology
Java Backend Technology
Feb 19, 2022 · Backend Development

Boost Your Java Backend: Practical Coding Habits and Best Practices

This article shares a collection of practical Java/Spring coding habits—including using @ConfigurationProperties for YAML configs, Lombok's @RequiredArgsConstructor, modular method design, avoiding null returns, leveraging HashSet for fast lookups, fine‑grained locking, structured cache naming, @Cacheable with TTL, and asynchronous task handling—to help developers write cleaner, more maintainable, and higher‑performance backend code.

ConfigurationSpring Bootbest practices
0 likes · 9 min read
Boost Your Java Backend: Practical Coding Habits and Best Practices
Java Architect Essentials
Java Architect Essentials
Feb 18, 2022 · Backend Development

Comparison of Java Microservice Frameworks: Spring Boot, Spring Cloud, Vert.x, and Other Lightweight Options

The article compares popular Java microservice frameworks, highlighting Spring Boot's ease of use but high memory consumption, Vert.x's lightweight performance, and the characteristics of SparkJava, Micronaut, Javalin, and Quarkus, while also noting required infrastructure components for Spring Cloud.

MicroservicesPerformance TestingSpring Boot
0 likes · 6 min read
Comparison of Java Microservice Frameworks: Spring Boot, Spring Cloud, Vert.x, and Other Lightweight Options
Selected Java Interview Questions
Selected Java Interview Questions
Feb 18, 2022 · Backend Development

Implementing a WebSocket Chat Application with Spring Boot

This tutorial explains the advantages of WebSocket over HTTP and provides a step‑by‑step guide, including Maven dependency, Spring Boot configuration, a ServerEndpoint class, a simple HTML/JavaScript front‑end, and a controller method, to build a real‑time chat system with online/offline notifications and private or broadcast messaging.

Real‑time communicationSpring Bootbackend development
0 likes · 10 min read
Implementing a WebSocket Chat Application with Spring Boot
Java Architect Essentials
Java Architect Essentials
Feb 15, 2022 · Databases

mybatis-mate: An Enterprise‑Level MyBatis‑Plus Extension for Sharding, Data Auditing, Encryption, and More

This article introduces mybatis-mate, an official MyBatis‑Plus extension that provides enterprise‑grade features such as sharding, multi‑datasource support, data auditing, field encryption, sensitive‑data masking, automatic DDL maintenance, dynamic datasource switching, distributed transaction logging, and fine‑grained data permission control, with detailed usage examples and configuration snippets for Spring Boot projects.

Data AuditingDatabaseMyBatis
0 likes · 15 min read
mybatis-mate: An Enterprise‑Level MyBatis‑Plus Extension for Sharding, Data Auditing, Encryption, and More
Top Architect
Top Architect
Feb 14, 2022 · Cloud Native

Comprehensive Guide to Nacos Configuration Center and Service Registry Integration with Spring Boot

This article provides an in-depth comparison of Nacos with other configuration and registration centers, explains its architecture and design principles, and offers detailed step-by-step instructions for deploying Nacos in standalone and cluster modes, integrating it with Spring Boot for both configuration and service discovery, including code snippets and operational tips.

Configuration CenterDockerMicroservices
0 likes · 35 min read
Comprehensive Guide to Nacos Configuration Center and Service Registry Integration with Spring Boot
Programmer DD
Programmer DD
Feb 14, 2022 · Backend Development

How to Integrate Tinylog into Spring Boot for Lightweight Logging

This tutorial shows how to add the tinylog logging framework to a Spring Boot application by excluding the default logger, adding tinylog dependencies, configuring tinylog.properties, and verifying the setup with a simple Lombok‑based logging example.

ConfigurationSpring Bootjava
0 likes · 7 min read
How to Integrate Tinylog into Spring Boot for Lightweight Logging
Java Captain
Java Captain
Feb 12, 2022 · Backend Development

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

This tutorial explains how to embed Dataway—a zero‑code API configuration UI built on DataQL—into a Spring Boot application by adding Hasor dependencies, configuring properties, setting up required database tables, wiring the data source into Hasor, enabling Hasor annotations, and finally creating and publishing APIs through the Dataway UI.

API ConfigurationDatawayHasor
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Feb 11, 2022 · Backend Development

Build a Spring Boot Document Preview Service with kkFileView

This guide introduces kkFileView, an open‑source Spring Boot solution for online preview of office, PDF, CAD, multimedia and text files, outlines its key features, provides documentation links, shows preview examples, and explains how to set up and run the service.

Document PreviewFile ConversionOpen Source
0 likes · 8 min read
Build a Spring Boot Document Preview Service with kkFileView
Selected Java Interview Questions
Selected Java Interview Questions
Feb 11, 2022 · Backend Development

Implementing Sensitive Data Encryption and Decryption in Spring Boot Using MyBatis Interceptors and Custom Annotations

This article demonstrates how to automatically encrypt sensitive fields such as ID numbers and phone numbers before storing them in a database and decrypt them after retrieval by leveraging MyBatis plugins, custom annotations, and Spring Boot components, providing a clean, reusable solution for backend applications.

InterceptorMyBatisSpring Boot
0 likes · 11 min read
Implementing Sensitive Data Encryption and Decryption in Spring Boot Using MyBatis Interceptors and Custom Annotations
Java Backend Technology
Java Backend Technology
Feb 11, 2022 · Backend Development

Boost Your Spring Boot API Docs: Switch from Swagger to Knife4j for Better UI

This article explains why Swagger can become cumbersome as API counts grow, introduces Knife4j as a powerful Swagger enhancement, and provides step‑by‑step instructions with code examples to integrate Knife4j into a Spring Boot project, highlighting its key features such as JSON folding, search, and global parameters.

API documentationKnife4jSpring Boot
0 likes · 10 min read
Boost Your Spring Boot API Docs: Switch from Swagger to Knife4j for Better UI
IT Architects Alliance
IT Architects Alliance
Feb 10, 2022 · Backend Development

Design and Implementation of a Custom RPC Framework

This article presents a detailed overview of a custom Java RPC framework, covering its core concepts, architecture, communication flow, message protocol, load balancing, serialization, handling of TCP packet fragmentation, and practical implementation using Spring Boot, Netty, and Zookeeper, along with deployment instructions.

NettyRPCSpring Boot
0 likes · 15 min read
Design and Implementation of a Custom RPC Framework
IT Xianyu
IT Xianyu
Feb 9, 2022 · Backend Development

Introducing kkFileView: An Open‑Source Spring Boot Document Preview Solution

kkFileView is a free, Apache‑licensed Spring Boot project that enables online preview of numerous file types—including office documents, PDFs, CAD files, images, archives, and multimedia—offering RESTful APIs, easy deployment, and extensible interfaces for developers seeking a versatile document viewer.

Document ViewerOpen SourceSpring Boot
0 likes · 5 min read
Introducing kkFileView: An Open‑Source Spring Boot Document Preview Solution
macrozheng
macrozheng
Feb 9, 2022 · Backend Development

Beyond @Value: 5 Powerful Ways to Read YAML in Spring Boot

This article demonstrates five practical techniques for reading YAML configuration files in Spring Boot—including Environment, YamlPropertiesFactoryBean, custom listeners, SnakeYml, and Jackson—providing code examples, usage details, and tips for handling defaults and profile activation.

JacksonSnakeYmlSpring Boot
0 likes · 14 min read
Beyond @Value: 5 Powerful Ways to Read YAML in Spring Boot
IT Xianyu
IT Xianyu
Feb 8, 2022 · Backend Development

Deploying a Spring Boot Application with Docker Using IntelliJ IDEA

This tutorial explains how to install Docker, configure remote access, create a Spring Boot project in IntelliJ IDEA, add Dockerfile and Maven settings, build a Docker image, run the container, and verify the application through a browser and log inspection.

DockerIntelliJ IDEASpring Boot
0 likes · 7 min read
Deploying a Spring Boot Application with Docker Using IntelliJ IDEA
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 7, 2022 · Backend Development

Why MyBatis SqlSession Fails with Multiple Threads and How Spring Guarantees Thread Safety

An in‑depth guide shows how running 100 concurrent MyBatis queries triggers a ClassCastException, explains the underlying cache placeholder issue, and demonstrates how Spring Boot’s SqlSessionTemplate and transaction management guarantee thread‑safe SqlSession usage through ThreadLocal binding.

MyBatisORMSpring Boot
0 likes · 19 min read
Why MyBatis SqlSession Fails with Multiple Threads and How Spring Guarantees Thread Safety
21CTO
21CTO
Feb 6, 2022 · Backend Development

What’s New in Spring Boot 3.0.0 M1? Key Changes and Upgrade Guide

The article outlines the major updates in Spring Boot 3.0.0 M1, including the jump to Java 17, migration from Java EE to Jakarta EE, removed legacy support, upgraded Spring and third‑party dependencies, and the roadmap for upcoming milestone releases.

Jakarta EEJava 17Spring Boot
0 likes · 5 min read
What’s New in Spring Boot 3.0.0 M1? Key Changes and Upgrade Guide
Top Architect
Top Architect
Jan 29, 2022 · Backend Development

Building a Leave Approval Workflow with Flowable UI and Spring Boot

This article provides a step‑by‑step guide on deploying Flowable‑UI, designing BPMN diagrams, configuring a Spring Boot backend, managing Flowable database tables, and using Flowable engine APIs to implement a complete leave‑approval workflow with code examples.

BPMNFlowableSpring Boot
0 likes · 15 min read
Building a Leave Approval Workflow with Flowable UI and Spring Boot
Senior Brother's Insights
Senior Brother's Insights
Jan 26, 2022 · Backend Development

Master XXL-Job: From Source Code to Scheduled Tasks in Spring Boot

This guide walks you through downloading XXL-Job, setting up its database, configuring Spring Boot profiles, customizing log paths, deploying the admin console, writing a sample executor with @XxlJob, and managing tasks through the web UI, all with concrete commands and code snippets.

Spring BootXXL-JOBbackend
0 likes · 9 min read
Master XXL-Job: From Source Code to Scheduled Tasks in Spring Boot
Alibaba Cloud Native
Alibaba Cloud Native
Jan 24, 2022 · Cloud Native

How to Slash Cold‑Start Delays for Spring Boot on Serverless Platforms

This guide explains why Spring Boot applications suffer 30‑second cold‑start delays on serverless platforms, breaks down each startup phase, and provides three practical optimization techniques—reserved instances, lazy initialization with JVM tweaks, and proper instance‑concurrency sizing—to dramatically improve response times.

Alibaba CloudCloud NativeSpring Boot
0 likes · 9 min read
How to Slash Cold‑Start Delays for Spring Boot on Serverless Platforms
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 24, 2022 · Cloud Computing

How to Slash Cold-Start Delays for Spring Boot on Serverless Platforms

This article, part of a series analyzing Serverless platforms for Spring Boot, explains how to diagnose and reduce cold‑start latency, covering tracing, reserved instances, lazy initialization, JVM options, and instance concurrency tuning, using the high‑traffic Mall demo application as a concrete example.

Instance ConcurrencySpring Bootcold start
0 likes · 10 min read
How to Slash Cold-Start Delays for Spring Boot on Serverless Platforms
Programmer DD
Programmer DD
Jan 24, 2022 · Backend Development

Why VS Code’s 2022 Roadmap Puts Spring Boot Front‑and‑Center

The article reviews VS Code’s 2021 updates, outlines its 2022 roadmap centered on six key areas—including extensive Spring Boot enhancements—and speculates that these improvements aim to keep VS Code competitive against JetBrains’ upcoming Fleet IDE for Java developers.

IDEJetBrainsSpring Boot
0 likes · 3 min read
Why VS Code’s 2022 Roadmap Puts Spring Boot Front‑and‑Center
Java Backend Technology
Java Backend Technology
Jan 23, 2022 · Backend Development

Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis

This tutorial walks through creating a Spring Boot lottery application that caches activity, prize, and record data in Redis, covering project setup, Maven dependencies, YML configuration, MyBatis‑Plus code generation, Redis key management, lottery API, event‑driven data loading, stock handling, and asynchronous record saving.

Lottery SystemRedisSpring Boot
0 likes · 24 min read
Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis
Top Architect
Top Architect
Jan 22, 2022 · Databases

Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their distinct features and thread‑safety models, and provides detailed Spring Boot configuration and code examples for using RedisTemplate, RedissonClient, and annotation‑based caching to implement distributed locks, hash operations, and cache management.

RedisRedissonSpring Boot
0 likes · 13 min read
Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot
Programmer DD
Programmer DD
Jan 21, 2022 · Backend Development

What’s New in Spring Boot 3.0.0 M1? Key Changes and Migration Tips

Spring Boot 3.0.0 M1, released on January 20 2022, upgrades the Java baseline to Java 17, migrates all Java EE APIs to Jakarta EE, drops support for several components, updates numerous Spring and third‑party dependencies, and outlines the upcoming release schedule.

Jakarta EEJava 17M1 release
0 likes · 5 min read
What’s New in Spring Boot 3.0.0 M1? Key Changes and Migration Tips
macrozheng
macrozheng
Jan 20, 2022 · Backend Development

Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown

An in‑depth comparison of Maven, Gradle, and the Maven Daemon (mvnd) examines their features, configuration differences, and real‑world build performance on Spring Boot projects, revealing that Gradle delivers the fastest packaging times while offering simpler, more readable build scripts.

GradleMavenSpring Boot
0 likes · 8 min read
Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown
Architecture Digest
Architecture Digest
Jan 20, 2022 · Backend Development

Implementing Scheduled Device Upgrade with Spring Batch and Quartz in Spring Boot

This article explains how to handle a PC‑triggered device upgrade record by using Quartz for timed execution and Spring Batch for bulk processing, detailing Maven dependencies, YAML configuration, service and batch classes, custom reader/writer logic, a processor that calls an upgrade‑dispatch API, and the overall challenges encountered.

Batch ProcessingQuartzSpring Batch
0 likes · 13 min read
Implementing Scheduled Device Upgrade with Spring Batch and Quartz in Spring Boot
IT Architects Alliance
IT Architects Alliance
Jan 20, 2022 · Cloud Native

How to Build a High‑Availability Microservices System on Kubernetes – A Complete Guide

This guide walks you through designing a simple front‑back separation microservice architecture, implementing it with Java Spring Boot, deploying multiple instances with Eureka, adding Prometheus‑Grafana monitoring, logging, tracing, flow control, and finally installing Kubernetes using K8seasy and verifying high‑availability across the cluster.

Cloud NativeHigh AvailabilityKubernetes
0 likes · 19 min read
How to Build a High‑Availability Microservices System on Kubernetes – A Complete Guide
Top Architect
Top Architect
Jan 17, 2022 · Backend Development

Implementing Device Upgrade Batch Processing with Spring Batch and Quartz

This article explains how to use Spring Batch together with Quartz to periodically process device upgrade records, covering Maven dependencies, configuration files, service implementation, batch job and step definitions, a custom processor for HTTP dispatch, entity mapping, and job retry scheduling for failed updates.

Batch ProcessingJob SchedulingQuartz
0 likes · 10 min read
Implementing Device Upgrade Batch Processing with Spring Batch and Quartz
macrozheng
macrozheng
Jan 17, 2022 · Backend Development

Master Spring Boot Admin: Build, Configure, and Monitor Your Spring Boot Apps

This guide walks you through installing Spring Boot Admin, configuring a monitoring server, adding the client starter to a Spring Boot application, enabling Actuator for expanded metrics, and using SBA to view health, JVM, logs, and real‑time performance data across single or clustered services.

Spring Bootjavaspring-boot-admin
0 likes · 9 min read
Master Spring Boot Admin: Build, Configure, and Monitor Your Spring Boot Apps
Architecture Digest
Architecture Digest
Jan 17, 2022 · Information Security

Understanding Single Sign-On (SSO) with OAuth2.0 and Spring Boot Implementation

This article explains the principles and workflow of Single Sign-On (SSO) using OAuth2.0, illustrates the process with a real‑life scenario, compares multi‑point and single‑point login, and provides a complete Spring Boot example for building an authorization server, client, and role‑based access control in micro‑service architectures.

MicroservicesOAuth2SSO
0 likes · 10 min read
Understanding Single Sign-On (SSO) with OAuth2.0 and Spring Boot Implementation
Alibaba Cloud Native
Alibaba Cloud Native
Jan 15, 2022 · Cloud Native

How to Secure Your Web Services with AHAS: Fine‑Grained Traffic Protection in Cloud‑Native Environments

This guide explains how to use Alibaba Cloud's Application High Availability Service (AHAS) with Sentinel to implement fine‑grained traffic control, hotspot detection, concurrency limits, circuit breaking, and fallback handling for Java and Go web applications, illustrated with a Spring Boot example.

AHASCloud NativeSentinel
0 likes · 9 min read
How to Secure Your Web Services with AHAS: Fine‑Grained Traffic Protection in Cloud‑Native Environments
Java Interview Crash Guide
Java Interview Crash Guide
Jan 15, 2022 · Backend Development

Resolving Spring Boot Timer Conflicts with Multithreaded Scheduling

This article explains why multiple Spring Boot timers can conflict due to single‑threaded execution, demonstrates the problem with example outputs, and shows how to configure a thread pool and use @Async annotations to run timers concurrently, preventing bottlenecks and avalanche effects.

Spring BootThreadPooljava
0 likes · 5 min read
Resolving Spring Boot Timer Conflicts with Multithreaded Scheduling