Tagged articles
3838 articles
Page 31 of 39
Top Architect
Top Architect
Jul 1, 2021 · Backend Development

Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter

This article explains how to replace direct OkHttp or RestTemplate usage in Spring Boot projects with the retrofit‑spring‑boot‑starter, covering dependency setup, annotation configuration, interface definition, injection, custom interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors.

HTTP clientInterceptorRetrofit
0 likes · 14 min read
Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 29, 2021 · Databases

Quick Integration of ShardingSphere for Database Sharding in Spring Boot

This article explains how to use Spring Boot to quickly integrate ShardingSphere for database sharding, covering the background of massive data storage challenges, the advantages of ShardingSphere, step‑by‑step project setup, configuration of data sources and sharding strategies, and a complete test example.

Inline Sharding StrategySharding-JDBCShardingSphere
0 likes · 13 min read
Quick Integration of ShardingSphere for Database Sharding in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 29, 2021 · Backend Development

Why Your Custom Spring AOP Advisor Isn’t Triggered and How to Fix It

This article explains the behavior of Spring Boot’s @Configuration and @Import annotations, the reasons a custom PointcutAdvisor may not be applied when using JDK proxies, and provides two solutions—adding the @DS annotation to interface methods or forcing CGLIB proxying with proxyTargetClass=true—to ensure the advice executes correctly.

Custom AdvisorJDK Proxyannotations
0 likes · 10 min read
Why Your Custom Spring AOP Advisor Isn’t Triggered and How to Fix It
Top Architect
Top Architect
Jun 28, 2021 · Backend Development

Spring Boot Annotation for Operation Logging (BizLog SDK)

This article introduces a Spring Boot component that automatically records who performed which operation at what time, explains its Maven dependency, configuration, usage of @EnableLogRecord and @LogRecordAnnotation with SpEL expressions, custom operators, detail fields, log categories, and extensibility through custom parse functions and service implementations.

BizLogSpELannotation
0 likes · 13 min read
Spring Boot Annotation for Operation Logging (BizLog SDK)
Programmer DD
Programmer DD
Jun 28, 2021 · Backend Development

Unlocking Spring Boot Actuator: Secure Configuration and Hidden Risks

This article explains what Spring Boot Actuator is, how to quickly add and configure it, details the available endpoints, illustrates common security pitfalls such as exposing sensitive configuration, and provides practical recommendations to safely use Actuator in production environments.

Actuatorbackend-developmentconfiguration
0 likes · 8 min read
Unlocking Spring Boot Actuator: Secure Configuration and Hidden Risks
Top Architect
Top Architect
Jun 27, 2021 · Backend Development

Understanding and Implementing Spring's @Autowired Annotation

This article explains the various ways to use Spring's @Autowired annotation, explores its underlying implementation using reflection, analyzes the core processing classes in the Spring framework, and answers common questions about its lifecycle, bean relationships, and why static injection is discouraged.

AutowiredReflectionannotations
0 likes · 17 min read
Understanding and Implementing Spring's @Autowired Annotation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 27, 2021 · Backend Development

Integrating Apache RocketMQ with Spring Boot: Features, Configuration, Code Samples, and Interview Essentials

This article provides a comprehensive guide to using Apache RocketMQ with Spring Boot, covering core components, basic concepts, key features, step‑by‑step configuration, producer and consumer code examples, advanced message types, transaction handling, and common interview questions for distributed messaging systems.

Distributed SystemsMessage QueueRocketMQ
0 likes · 16 min read
Integrating Apache RocketMQ with Spring Boot: Features, Configuration, Code Samples, and Interview Essentials
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 26, 2021 · Backend Development

Master Spring Boot Startup Tasks: Runners, Config, and Command-Line Tricks

After launching a Spring Boot 2.3.9 application, you can execute custom tasks using ApplicationRunner or CommandLineRunner, access startup arguments, generate random configuration values, disable command-line properties, understand configuration file loading order, and correctly use @EnableConfigurationProperties for bean binding.

ApplicationRunnerConfigurationPropertiesbackend-development
0 likes · 6 min read
Master Spring Boot Startup Tasks: Runners, Config, and Command-Line Tricks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2021 · Backend Development

Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo

This article introduces the open‑source Seata distributed transaction solution, explains its AT, TCC, SAGA and XA modes, describes the TC‑TM‑RM components and workflow, and provides a step‑by‑step Spring Boot demo with Docker, Maven dependencies, configuration, and code examples for a multi‑service purchase scenario.

AT ModeDistributed TransactionsDocker
0 likes · 11 min read
Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 24, 2021 · Databases

Resolving ShardingSphere Oracle Issues: Config, Custom Sharding & Debugging Tips

This guide walks through configuring ShardingSphere with Oracle in a Spring Boot‑MyBatis‑JPA project, shows custom sharding algorithms, entity/DAO/service code, and details the step‑by‑step debugging that uncovered schema handling bugs and version‑specific quirks, ending with a working solution.

OracleShardingSpheredatabase sharding
0 likes · 13 min read
Resolving ShardingSphere Oracle Issues: Config, Custom Sharding & Debugging Tips
Tencent Cloud Developer
Tencent Cloud Developer
Jun 23, 2021 · Backend Development

Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud

Understanding Java web backend requires grasping how Tomcat parses HTTP requests, dispatches them through servlets, JSPs, listeners and filters, and then leverages Spring’s IoC, AOP, MVC, Boot’s auto‑configuration, and Cloud’s micro‑service tools to build robust, industrial‑grade applications.

BackendServletTomcat
0 likes · 24 min read
Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud
Programmer DD
Programmer DD
Jun 23, 2021 · Backend Development

Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock

A week‑long API freeze in a sandbox environment was traced to Redis connection pool deadlocks caused by missing pool configuration and improper connection handling, and the article walks through the diagnosis with top, jstack, Arthas, and the code changes needed to fix it.

ArthasConnection PoolJedis
0 likes · 9 min read
Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock
Top Architect
Top Architect
Jun 22, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up application.yml and properties, defining POJOs, MyBatis mapper XML, service and controller layers, and building simple Thymeleaf login and registration pages, with full code snippets for each step.

MySQLThymeleafjava
0 likes · 10 min read
Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL
Top Architect
Top Architect
Jun 21, 2021 · Backend Development

Custom Global Exception Handling in Spring Boot

This article explains how to configure Spring Boot to handle default and custom exceptions globally, covering logging of error mappings, adding Fastjson and Freemarker dependencies, configuring properties, defining error entity and custom exception classes, creating an error template, implementing a @ControllerAdvice handler, and testing with sample controllers and JSON responses.

ControllerAdviceException HandlingGlobal Exception
0 likes · 13 min read
Custom Global Exception Handling in Spring Boot
Programmer DD
Programmer DD
Jun 21, 2021 · Backend Development

Mastering Redis Pub/Sub in Spring Boot: Step‑by‑Step Guide

This tutorial explains the Redis publish/subscribe pattern, contrasts it with the observer pattern, and provides a complete Spring Boot example—including configuration, publisher and subscriber code, and verification steps—to help developers quickly implement real‑time messaging with Redis.

BackendMessage Queuejava
0 likes · 8 min read
Mastering Redis Pub/Sub in Spring Boot: Step‑by‑Step Guide
Programmer DD
Programmer DD
Jun 20, 2021 · Backend Development

How to Integrate LDAP with Spring Boot: A Step‑by‑Step Guide

This tutorial explains why centralizing user data with LDAP simplifies multi‑system authentication, introduces LDAP fundamentals, and provides a complete Spring Boot example—including Maven dependencies, embedded LDIF setup, entity mapping, repository usage, and test cases—to help developers quickly connect to both embedded and external LDAP servers.

BackendDirectory ServicesLDAP
0 likes · 12 min read
How to Integrate LDAP with Spring Boot: A Step‑by‑Step Guide
Top Architect
Top Architect
Jun 18, 2021 · Backend Development

Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism

This article explains how Spring Boot's @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration classes are discovered from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat web server, with illustrative code snippets.

annotationsauto-configurationbackend-development
0 likes · 12 min read
Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 18, 2021 · Backend Development

Introducing Apache Pulsar and Its Integration with Spring Boot

This article introduces Apache Pulsar, outlines its key features and advantages over other messaging systems, and provides step‑by‑step Spring Boot integration code examples including dependencies, configuration, producer and consumer implementations for both normal and delayed messages.

Apache PulsarMessage Queuejava
0 likes · 8 min read
Introducing Apache Pulsar and Its Integration with Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 17, 2021 · Backend Development

Comparative Overview of Distributed Configuration Centers for Spring Boot Microservices

This article introduces the need for dynamic configuration in Spring Boot microservices, compares popular open‑source configuration centers such as Apollo, Nacos, Spring Cloud Config, Disconf, and Diamond, and provides detailed features, a comparison table, and code examples for integrating Apollo.

ApolloDistributed ConfigurationNacos
0 likes · 11 min read
Comparative Overview of Distributed Configuration Centers for Spring Boot Microservices
Programmer DD
Programmer DD
Jun 17, 2021 · Backend Development

How to Seamlessly Handle XML Requests and Responses in Spring Boot

This tutorial explains how to configure Spring Boot to automatically convert XML payloads into Java objects using message converters, define XML‑Java mappings with Jackson annotations, and create controller endpoints that both consume and produce XML, complete with code examples and Maven setup.

Message ConverterXMLjava
0 likes · 6 min read
How to Seamlessly Handle XML Requests and Responses in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 17, 2021 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter

This article explains how to add a generic app‑key whitelist authentication feature to a Spring Boot web framework using four different mechanisms—traditional AOP, HandlerInterceptor, custom HandlerMethodArgumentResolver, and Servlet Filter—providing implementation steps, code examples, and a discussion of their execution order.

ArgumentResolverAuthenticationInterceptor
0 likes · 12 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter
Top Architect
Top Architect
Jun 15, 2021 · Information Security

Securing Spring Boot Applications with JWT and Spring Security

This tutorial explains how to protect a Spring Boot web application by integrating Spring Security and JSON Web Tokens (JWT), covering project setup, dependency configuration, custom authentication components, security filters, token generation, role‑based access control, and testing with curl commands.

AuthenticationJWTREST API
0 likes · 15 min read
Securing Spring Boot Applications with JWT and Spring Security
macrozheng
macrozheng
Jun 15, 2021 · Backend Development

Mastering Redisson: Seamless Distributed Locks in Spring Boot

This tutorial explains what Redisson is, how it extends Redis with powerful distributed data structures and lock mechanisms, and provides step‑by‑step Spring Boot integration, code examples, and detailed testing of re‑entrant, read‑write, and semaphore locks.

concurrencydistributed-lockjava
0 likes · 15 min read
Mastering Redisson: Seamless Distributed Locks in Spring Boot
Programmer DD
Programmer DD
Jun 14, 2021 · Databases

Master Real‑Time Change Data Capture with Debezium and Spring Boot

Learn how to capture and stream real‑time database changes using Debezium’s distributed CDC framework, configure MySQL binlog, integrate the embedded engine with Spring Boot, and process change events with sample code and Docker setup for robust data pipelines.

CDCChange Data CaptureDebezium
0 likes · 11 min read
Master Real‑Time Change Data Capture with Debezium and Spring Boot
Programmer DD
Programmer DD
Jun 13, 2021 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, Resolver, Filter

This article explains how to add a generic appkey whitelist authentication feature to a Spring Boot web framework using four approaches—traditional AOP, HandlerInterceptor, HandlerMethodArgumentResolver, and Servlet Filter—providing implementation steps, code examples, and a discussion of their execution order.

ArgumentResolverInterceptoraop
0 likes · 11 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, Resolver, Filter
Java Backend Technology
Java Backend Technology
Jun 13, 2021 · Cloud Native

How Spring Native Beta Enables Fast, Low‑Memory Spring Apps with GraalVM

Spring Native beta introduces Maven and Gradle plugins that let Spring applications be compiled into GraalVM native images, delivering near‑instant startup, reduced memory usage, and container‑ready executables while outlining supported features, AOT transformation, and practical use cases for cloud‑native deployments.

AoTContainerizationNative Images
0 likes · 11 min read
How Spring Native Beta Enables Fast, Low‑Memory Spring Apps with GraalVM
Programmer DD
Programmer DD
Jun 12, 2021 · Backend Development

Spring Boot 2.0: Multi‑Image Upload with Real‑Time Preview

This guide demonstrates how to build a Spring Boot 2.0 backend that accepts multiple image files, returns upload success, and displays real‑time previews on the frontend using HTML, JavaScript, and Spring MVC multipart handling, along with configuration and error handling tips.

JavaScript PreviewMultipartFilebackend-development
0 likes · 7 min read
Spring Boot 2.0: Multi‑Image Upload with Real‑Time Preview
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 11, 2021 · Cloud Native

Integrating Nacos with Spring Boot: Features, Advantages, and Code Example

This article introduces Alibaba's open‑source Nacos service for dynamic configuration and service discovery, explains its core features and the performance benefits of Nacos 2.x with gRPC, and provides step‑by‑step Spring Boot integration code, configuration examples, and a live demonstration using the Nacos web console.

Configuration ManagementNacosgRPC
0 likes · 7 min read
Integrating Nacos with Spring Boot: Features, Advantages, and Code Example
Top Architect
Top Architect
Jun 11, 2021 · Backend Development

Optimizing Spring Boot Fat JARs: Reducing Deployment Package Size by Separating Dependencies

This article explains how to shrink large Spring Boot fat JARs by extracting common dependencies into a shared lib directory and building lightweight business JARs, offering step‑by‑step Maven configurations for four optimization levels that dramatically reduce deployment size and improve update speed for both monolithic and microservice projects.

Jar OptimizationMicroservicesdependency management
0 likes · 21 min read
Optimizing Spring Boot Fat JARs: Reducing Deployment Package Size by Separating Dependencies
macrozheng
macrozheng
Jun 8, 2021 · Backend Development

Master Apache Pulsar with Docker and Spring Boot: A Hands‑On Guide

This article provides a step‑by‑step tutorial on installing Apache Pulsar with Docker, managing it via Pulsar Manager, and integrating it into a Spring Boot application using the Pulsar Java Spring Boot starter, complete with code examples and UI screenshots.

Apache PulsarDockerMessaging
0 likes · 9 min read
Master Apache Pulsar with Docker and Spring Boot: A Hands‑On Guide
Programmer DD
Programmer DD
Jun 7, 2021 · Backend Development

How to Shrink Spring Boot Fat JARs from Hundreds MB to a Few KB

This article explains how to break down large Spring Boot fat JARs by extracting dependencies into a shared lib directory and packaging only the business code, reducing single‑service JARs to a few hundred kilobytes and cutting total deployment size from gigabytes to a few hundred megabytes.

Jar OptimizationMicroservicesjava
0 likes · 23 min read
How to Shrink Spring Boot Fat JARs from Hundreds MB to a Few KB
Top Architect
Top Architect
Jun 5, 2021 · Backend Development

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

This article provides a detailed overview of the most commonly used Spring Boot, Spring MVC, and JPA annotations, explains their purposes, shows how they interact, and includes practical code examples for building robust Java backend applications.

Spring MVCannotationsbackend-development
0 likes · 11 min read
Comprehensive Guide to Spring Boot, Spring MVC, and JPA Annotations
Programmer DD
Programmer DD
Jun 3, 2021 · Backend Development

How to Fix Java IllegalArgumentException: Request Header Too Large in Spring Boot

When a Java application throws IllegalArgumentException: Request header is too large, the issue stems from oversized HTTP headers, and you can resolve it by increasing the server's max‑http‑header‑size setting in Spring Boot or by moving large data from headers to the request body.

BackendHTTP header sizeIllegalArgumentException
0 likes · 3 min read
How to Fix Java IllegalArgumentException: Request Header Too Large in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 2, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage

This article provides a detailed tutorial on using MyBatis-Plus with Spring Boot, covering installation, quick start, CRUD operations, annotation usage, condition builders, pagination, AR mode, primary key strategies, configuration options, code generation, logical deletion, auto-filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, and best‑practice summaries.

CRUDORMjava
0 likes · 50 min read
Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage
Java Architect Essentials
Java Architect Essentials
Jun 1, 2021 · Information Security

API Security Practices: Token, Timestamp, Signature, and Replay Prevention in Spring Boot

This article explains how to protect data exchange with third‑party systems by using access tokens, timestamps, cryptographic signatures, and duplicate‑submission safeguards, providing detailed Java/Spring Boot examples and code snippets for implementing secure API authentication and request validation.

API SecurityThreadLocaljava
0 likes · 27 min read
API Security Practices: Token, Timestamp, Signature, and Replay Prevention in Spring Boot
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features

This article provides a detailed tutorial on using MyBatis‑Plus with Spring Boot, covering quick setup, entity and mapper definitions, CRUD operations, condition wrappers (including lambda and chain wrappers), pagination, ActiveRecord mode, primary‑key strategies, configuration options, code generation, and advanced features such as logical deletion, auto‑fill, optimistic locking, performance analysis, multi‑tenant and dynamic table name handling.

CRUDORMannotations
0 likes · 46 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features
Java Backend Technology
Java Backend Technology
May 31, 2021 · Backend Development

13 Must‑Try Open‑Source Spring Boot Projects for Java Developers

This article curates thirteen high‑quality Spring Boot open‑source projects—ranging from e‑commerce platforms and microservice frameworks to payment systems and HR tools—providing star counts, repository links, brief feature overviews, and demo screenshots to help Java developers choose valuable reference implementations.

BackendMicroservicesOpen-source
0 likes · 11 min read
13 Must‑Try Open‑Source Spring Boot Projects for Java Developers
Code Ape Tech Column
Code Ape Tech Column
May 31, 2021 · Backend Development

Comprehensive Guide to Creating Job Scheduling Tasks with Quartz, xxl-job, and Spring Boot

This article provides a step‑by‑step tutorial on five different ways to implement Java job scheduling—including raw threads, TimerTask, thread pools, Quartz framework, and Spring @Scheduled—followed by detailed instructions for setting up the xxl‑job admin console, configuring a Spring Boot project, and deploying sample job handlers.

Job SchedulingQuartzcron
0 likes · 13 min read
Comprehensive Guide to Creating Job Scheduling Tasks with Quartz, xxl-job, and Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
May 30, 2021 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips

This comprehensive tutorial demonstrates how to integrate MyBatis-Plus with Spring Boot, covering basic setup, entity and mapper creation, CRUD operations, condition wrappers, pagination, logical deletion, automatic field filling, optimistic locking, and advanced features such as multi‑tenant and dynamic table name handling, complete with code examples.

CRUDLogical Deletionmybatis-plus
0 likes · 46 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips
Architecture Digest
Architecture Digest
May 29, 2021 · Backend Development

Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions

This article introduces the BizLog SDK for Spring Boot, explains how to add the Maven dependency, enable the @EnableLogRecord switch, use @LogRecordAnnotation for various logging scenarios, customize operators, details, categories, and parse functions, and shows how to extend the framework with custom services and implementations.

BizLogSpELannotation
0 likes · 14 min read
Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions
IT Xianyu
IT Xianyu
May 28, 2021 · Backend Development

Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool

This article explains how to use Maven profiles to manage multiple Spring Boot environments, configure the maven‑assembly‑plugin to create a zip release containing the jar, configuration files and a custom shell script, and then deploy and control the application on Linux using the provided shenniu_publish.sh tool.

Assembly pluginDeploymentLinux
0 likes · 15 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool
Programmer DD
Programmer DD
May 28, 2021 · Backend Development

Mastering Spring Boot Read‑Write Splitting with AbstractRoutingDataSource

This article explains how to implement read‑write separation in Spring Boot by extending AbstractRoutingDataSource, using ThreadLocal for key storage, and creating AOP aspects that prioritize datasource switching over transaction management.

DataSource RoutingThreadLocalabstractroutingdatasource
0 likes · 9 min read
Mastering Spring Boot Read‑Write Splitting with AbstractRoutingDataSource
Code Ape Tech Column
Code Ape Tech Column
May 28, 2021 · Backend Development

Why kill -9 Can Corrupt Your Data and How to Gracefully Shut Down Spring Boot

The article explains the dangers of using kill -9 to terminate Java processes, illustrates how it can cause data loss in database operations, and provides several practical approaches—including SIGTERM, ConfigurableApplicationContext.close(), Spring Boot Actuator, and a custom Tomcat shutdown hook—to gracefully stop Spring Boot services while preserving data integrity.

ActuatorGraceful ShutdownLinux kill
0 likes · 21 min read
Why kill -9 Can Corrupt Your Data and How to Gracefully Shut Down Spring Boot
macrozheng
macrozheng
May 27, 2021 · Backend Development

What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades

Spring Boot 2.5 introduces major enhancements such as Java 16 support, Gradle 7 and Jetty 10 compatibility, HTTP/2 over TCP, a revamped datasource initialization mechanism, environment‑variable prefixes, Docker build improvements, layered WARs, actuator endpoint changes, extensive dependency upgrades, and several deprecations, while urging careful migration.

ActuatorDockerJava 16
0 likes · 11 min read
What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades
Top Architect
Top Architect
May 25, 2021 · Backend Development

Spring Boot Resource Initialization: CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener

This article explains several Spring Boot techniques for initializing resources at application startup, including CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener, and provides code examples and usage guidelines for each method.

ApplicationListenerApplicationRunnerCommandLineRunner
0 likes · 8 min read
Spring Boot Resource Initialization: CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener
macrozheng
macrozheng
May 25, 2021 · Backend Development

Accelerate Java API Development with magic-api: No Controllers Needed

magic-api is a Java-based rapid API development framework that eliminates the need for traditional Controllers, Services, DAOs, and XML files by providing a UI for defining endpoints, supporting Spring Boot integration, CRUD operations, validation, transactions, result mapping, and Swagger integration, with detailed configuration examples.

APICRUDSwagger
0 likes · 10 min read
Accelerate Java API Development with magic-api: No Controllers Needed
MaGe Linux Operations
MaGe Linux Operations
May 24, 2021 · Backend Development

The Risks of kill -9 on Spring Boot and How to Shut Down Gracefully

This article explains why using the forceful kill -9 command to terminate Spring Boot services can cause data inconsistency and errors, and demonstrates three safer shutdown methods—using kill -15, invoking ConfigurableApplicationContext.close(), and leveraging Spring Boot Actuator—complete with code examples and configuration steps.

ActuatorGraceful ShutdownLinux kill
0 likes · 20 min read
The Risks of kill -9 on Spring Boot and How to Shut Down Gracefully
Programmer DD
Programmer DD
May 24, 2021 · Backend Development

Master Spring Boot 2.5.0 DataSource Initialization: New Configurations Explained

This article walks through Spring Boot 2.5.0's redesigned DataSource script initialization, clarifies deprecated properties, introduces the new SqlInitializationProperties class, and provides a complete example with Maven dependencies, configuration settings, SQL scripts, and best‑practice recommendations for automated database setup.

BackendDataSourceSQL Initialization
0 likes · 10 min read
Master Spring Boot 2.5.0 DataSource Initialization: New Configurations Explained
Programmer DD
Programmer DD
May 23, 2021 · Backend Development

Master Real-Time Push: Spring Boot WebSocket Integration Guide

This article walks through building a real‑time push system with Spring Boot by integrating WebSocket and MQTT, covering the protocol basics, Maven setup, configuration classes, server implementation, controller endpoints, front‑end testing page, common pitfalls, and deployment tips.

MQTTbackend-developmentjava
0 likes · 12 min read
Master Real-Time Push: Spring Boot WebSocket Integration Guide
Programmer DD
Programmer DD
May 22, 2021 · Backend Development

What’s New in Spring Boot 2.5.0? Key Features, Updates & Deprecations

Spring Boot 2.5.0 introduces Java 16, Gradle 7, Jetty 10 support, enhanced Docker image building, dark‑mode docs, numerous configuration improvements, updated dependency versions, and several deprecations, providing developers with a richer, more modern backend framework.

ActuatorDockerbackend-development
0 likes · 6 min read
What’s New in Spring Boot 2.5.0? Key Features, Updates & Deprecations
Wukong Talks Architecture
Wukong Talks Architecture
May 21, 2021 · Backend Development

Using Redisson for Distributed Locks in Spring Boot

This article explains how to integrate Redisson into a Spring Boot application to implement various Redis‑based distributed synchronization primitives—including re‑entrant locks, read‑write locks, and semaphores—while covering configuration, code examples, the watchdog mechanism, and practical testing procedures.

concurrencyjavaredis
0 likes · 12 min read
Using Redisson for Distributed Locks in Spring Boot
Java Architecture Diary
Java Architecture Diary
May 21, 2021 · Backend Development

What’s New in Spring Boot 2.5? Features, Dark Mode & Key Changes

Spring Boot 2.5.0 (alongside 2.4.6 and 2.3.11) introduces Java 16 support, Gradle 7 compatibility, enhanced Docker image building, a new datasource loading mechanism, dark‑mode documentation, and several important configuration and security changes for backend developers.

Backendconfigurationfeatures
0 likes · 3 min read
What’s New in Spring Boot 2.5? Features, Dark Mode & Key Changes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2021 · Backend Development

Master Spring Boot: Core Concepts, Configuration, and Top Interview Questions

This article compiles essential Spring Boot interview questions, covering its definition, benefits, core configuration files, starter modules, auto‑configuration, embedded containers, actuator monitoring, security concerns, exception handling, differences from Spring MVC, and integration with tools like ELK and Docker.

backend-developmentconfigurationspring-boot
0 likes · 10 min read
Master Spring Boot: Core Concepts, Configuration, and Top Interview Questions
Top Architect
Top Architect
May 19, 2021 · Backend Development

Full‑Stack Food Delivery System (Spring Boot + Vue) – Setup Guide and Code

This article provides a complete tutorial for building a food‑delivery system with a mobile app, backend management, and API, detailing the technology stack, module structure, database setup, code snippets, and step‑by‑step instructions to launch both the admin and mobile front‑ends.

MongoDBMySQLTutorial
0 likes · 4 min read
Full‑Stack Food Delivery System (Spring Boot + Vue) – Setup Guide and Code
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 19, 2021 · Backend Development

Understanding ThreadLocal in Java: Concepts, Memory‑Leak Risks, Source‑Code Walkthrough, and Best Practices

This article explains what ThreadLocal is, demonstrates how it works with and without it, analyses its source code, discusses potential memory‑leak issues, and provides best‑practice guidelines and a Spring‑Boot example for safe usage in multithreaded Java applications.

ThreadLocalbest practicesconcurrency
0 likes · 12 min read
Understanding ThreadLocal in Java: Concepts, Memory‑Leak Risks, Source‑Code Walkthrough, and Best Practices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 18, 2021 · Backend Development

Troubleshooting Spring Boot OAuth2 Integration: Session Issues and Fixes

This guide walks through configuring Spring Boot 2.3.10 with OAuth2 client support, detailing required dependencies, application and security settings, common session‑related errors, step‑by‑step debugging of OAuth2LoginAuthenticationFilter and OAuth2AuthorizationRequestRedirectFilter, and the final solution of aligning hostnames to preserve cookies.

OAuth2Sessiondebugging
0 likes · 9 min read
Troubleshooting Spring Boot OAuth2 Integration: Session Issues and Fixes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 14, 2021 · Backend Development

How to Visualize Real-Time Workflow Progress with Spring Boot and Activiti

This tutorial demonstrates how to extend a Spring Boot application with Activiti to query historic process data, configure a diagram generator bean, compute highlighted flows, expose a REST endpoint for real-time process diagram rendering, and verify the workflow through a series of API calls and screenshots.

Activitiprocess diagramspring-boot
0 likes · 10 min read
How to Visualize Real-Time Workflow Progress with Spring Boot and Activiti
Baidu Geek Talk
Baidu Geek Talk
May 12, 2021 · Operations

BRCC: A Distributed Configuration Center Solution for Modern Applications

BRCC (Better Remote Config Center) is an open‑source, lightweight, Spring‑Boot‑based distributed configuration center that simplifies management of dynamic, multi‑environment settings across dozens of instances by offering easy SDK/API access, push notifications, traceability, fine‑grained security, high performance, and a user‑friendly UI.

BRCCBaidu open sourceConfiguration Center
0 likes · 12 min read
BRCC: A Distributed Configuration Center Solution for Modern Applications
IT Xianyu
IT Xianyu
May 11, 2021 · Backend Development

Integrating Dataway with Spring Boot for API Configuration

This article provides a step‑by‑step guide on integrating the open‑source Dataway tool with a Spring Boot application, covering dependency inclusion, configuration of Dataway and data sources, module setup, enabling Hasor, and creating and testing API endpoints without writing custom code.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot for API Configuration
FunTester
FunTester
May 11, 2021 · Backend Development

Design and Implementation of a Distributed Load‑Testing Framework Using HttpRequestBase in FunTester

This article outlines the planning, design, and Java implementation of a distributed load‑testing framework called FunTester, focusing on two test‑case schemes (case transmission and execution), an HttpRequestBase‑based demo, case creation, transmission, execution, and the complete FunRequest class code.

Distributed Systemsjavaspring-boot
0 likes · 17 min read
Design and Implementation of a Distributed Load‑Testing Framework Using HttpRequestBase in FunTester
Java Architect Essentials
Java Architect Essentials
May 9, 2021 · Backend Development

Full‑Stack Food Delivery System Based on Spring Boot and Vue.js

This article presents a complete food‑delivery system with mobile, admin, and API modules, detailing its Spring Boot and Vue.js technology stack, module structure, database setup, quick‑start commands, and how to run both the management console and mobile client for learning purposes.

MongoDBMySQLVue.js
0 likes · 4 min read
Full‑Stack Food Delivery System Based on Spring Boot and Vue.js
Java Backend Technology
Java Backend Technology
May 9, 2021 · Backend Development

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

This article explains the dangers of using the kill -9 command on Java services, illustrates how it can cause data loss, and presents several graceful shutdown techniques for Spring Boot—including SIGTERM, Actuator endpoints, custom Tomcat shutdown hooks, and @PreDestroy backups—complete with code examples and screenshots.

BackendGraceful ShutdownKill Command
0 likes · 19 min read
Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully
Top Architect
Top Architect
May 8, 2021 · Backend Development

Implementing a Global Exception Handler in Spring Boot

This article explains how to replace repetitive try‑catch blocks in Spring Boot applications with a unified global exception handling solution by defining a standard AjaxResult response, a custom BusinessException, an error enumeration, and a @RestControllerAdvice handler, enabling clean, extensible error management.

Error Handlingbackend-developmentglobal exception handling
0 likes · 5 min read
Implementing a Global Exception Handler in Spring Boot
Java Architect Essentials
Java Architect Essentials
May 7, 2021 · Backend Development

Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More

This article provides a step‑by‑step tutorial on building a Spring Boot project, covering project generation, core starters, automatic Redis configuration, common annotations like @SpringBootApplication and @ControllerAdvice, web container and HTTPS settings, profile management, CORS, MVC interceptors, AOP, MyBatis‑Druid integration, mail sending, and Swagger API documentation.

IntegrationMailbackend-development
0 likes · 18 min read
Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More
macrozheng
macrozheng
May 7, 2021 · Backend Development

Customizing Spring Boot Error Handling for Non‑Controller Exceptions

This guide explains why Spring Boot’s default @ControllerAdvice cannot catch servlet‑level errors, introduces the ErrorPageFilter mechanism, and shows how to replace the BasicErrorController with a custom ExceptionController that rethrows errors for unified handling across the application.

BackendCustom ErrorControllerError Handling
0 likes · 7 min read
Customizing Spring Boot Error Handling for Non‑Controller Exceptions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2021 · Backend Development

How to Build a Spring OAuth2 Authorization Server with Redis Token Store

This tutorial walks through setting up a Spring Boot 2.2.11 OAuth2 authorization server that stores tokens in Redis, covering Maven dependencies, YAML configuration, JPA entities, DAO interfaces, core server configuration, custom client details, authentication provider, password encoder, and detailed testing of all OAuth2 grant types.

Authorization ServerOAuth2security
0 likes · 16 min read
How to Build a Spring OAuth2 Authorization Server with Redis Token Store
Selected Java Interview Questions
Selected Java Interview Questions
May 4, 2021 · Backend Development

Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration

This article explains how to create a reusable backend foundation for new Spring Boot projects by assembling common utilities such as Swagger API documentation, MyBatis‑Plus code generation, unified response objects, pagination helpers, custom exception handling, multi‑environment Maven and Spring profiles, logback configuration, and a Jenkins pipeline.

BackendException Handlingjava
0 likes · 15 min read
Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration
Ops Development Stories
Ops Development Stories
May 2, 2021 · Backend Development

Mastering Unit Testing with TestNG and PowerMock in Spring Boot

This article explains unit testing concepts, introduces TestNG and PowerMock frameworks for Spring Boot, details common annotations, provides Maven dependency snippets and comprehensive Java test examples, and demonstrates advanced mocking techniques, parameterized tests, and assertion strategies to improve code reliability and coverage.

MockingPowerMockTestNG
0 likes · 14 min read
Mastering Unit Testing with TestNG and PowerMock in Spring Boot
Top Architect
Top Architect
May 2, 2021 · Backend Development

Integrating Alipay's New Transfer Interface with Spring Boot (Java)

This tutorial explains how to upgrade to Alipay's new transfer API alipay.fund.trans.uni.transfer, update the SDK, configure certificates and properties, and implement Spring Boot components and utility classes for secure backend payment integration.

AlipayPayment IntegrationSDK
0 likes · 12 min read
Integrating Alipay's New Transfer Interface with Spring Boot (Java)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer

This article investigates how Spring Boot’s connectionTimeout parameter behaves by conducting three experiments—controller‑side delay, HttpURLConnection requests, and raw socket connections—revealing that the timeout only applies after a client establishes a connection and remains idle, not to the overall request processing time.

BackendTomcatconnectionTimeout
0 likes · 5 min read
Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 30, 2021 · Backend Development

Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide

This tutorial walks through configuring Spring Boot 2.3.10 with Elasticsearch 7.8, defining Maven dependencies, setting up application properties, creating a searchable Product model, implementing a repository with derived query methods and custom @Query annotations, and testing CRUD and advanced search operations using both repository and RestTemplate approaches.

Repositorybackend-developmentspring-boot
0 likes · 7 min read
Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide