Tagged articles

Spring Boot

4358 articles · Page 36 of 44
Java Architecture Diary
Java Architecture Diary
Jul 12, 2021 · Backend Development

Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging

This guide walks you through IntelliJ IDEA 2021’s revamped Profiler, the new microservice call‑graph analysis for Spring Boot, Micronaut and Quarkus, the Docker‑based run configurations, and the built‑in JSONPath expression debugger, showing how to leverage each feature to improve development efficiency.

DockerIntelliJ IDEAJsonPath
0 likes · 3 min read
Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging
Su San Talks Tech
Su San Talks Tech
Jul 12, 2021 · Backend Development

Master Redisson: Simplify Distributed Locks in Spring Boot

This tutorial explains how to integrate Redisson into a Spring Boot application to implement robust distributed locks, covering Redisson's architecture, configuration, code examples, lock types, watchdog mechanism, and practical testing procedures for reentrant, read‑write, and semaphore locks.

RedisRedissonSpring Boot
0 likes · 13 min read
Master Redisson: Simplify Distributed Locks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2021 · Backend Development

Mastering Programmatic Transaction Management in Spring Boot 2.3.9

This guide explains Spring Boot's two programmatic transaction approaches—TransactionTemplate/TransactionalOperator and direct TransactionManager—provides detailed code examples for using TransactionTemplate with return values, rollbacks, property configuration, demonstrates PlatformTransactionManager usage, and shows how to listen to transaction events with @TransactionalEventListener.

Programmatic TransactionsSpring BootTransaction Management
0 likes · 8 min read
Mastering Programmatic Transaction Management in Spring Boot 2.3.9
Programmer DD
Programmer DD
Jul 10, 2021 · Backend Development

Why Lombok Fails After an IDEA Upgrade and How to Fix It

After upgrading IntelliJ IDEA, Lombok annotations may stop working and cause compilation errors, but updating Lombok to version 1.18.14 or later and adjusting IDE settings can restore functionality for Java and Spring Boot projects.

Annotation ProcessingIntelliJ IDEASpring Boot
0 likes · 3 min read
Why Lombok Fails After an IDEA Upgrade and How to Fix It
Top Architect
Top Architect
Jul 8, 2021 · Backend Development

Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot

This article explains how to overcome Spring Boot's static @Scheduled limitation by customizing the task scheduler, creating wrapper classes and a registrar to dynamically add, remove, start, and stop cron‑based jobs, with full code examples and a database‑driven design.

Dynamic SchedulingScheduled TasksSpring Boot
0 likes · 11 min read
Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2021 · Backend Development

Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration

This guide explains three ways to register Servlets in Spring Boot 2.3.9—including @ServletComponentScan with @WebServlet, ServletRegistrationBean, and dynamic registration via ServletContextInitializer—while detailing the underlying scanning mechanism, BeanFactory post‑processor workflow, and how Tomcat ultimately registers the servlet.

AnnotationServletSpring Boot
0 likes · 11 min read
Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration
Top Architect
Top Architect
Jul 7, 2021 · Backend Development

Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size

This article explains how to shrink large Spring Boot fat JAR files by separating dependencies into a lib directory and creating small business JARs, covering three optimization levels—including standard dependency separation, merging modules into a shared lib, and handling system‑scope third‑party SDKs—complete with Maven configurations and code examples.

Dependency ManagementJar OptimizationMaven
0 likes · 21 min read
Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2021 · Backend Development

How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK

This article explains how the BizLog component records who performed which action at what time in Spring Boot applications, covering Maven setup, annotation usage, custom operators, detail fields, category segregation, SpEL expressions, custom parse functions, and extension points for persistence and operator retrieval.

AOPAnnotationBizLog
0 likes · 16 min read
How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 5, 2021 · Databases

Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide

This article provides a comprehensive guide on integrating the Alibaba Druid JDBC connection pool into a Spring Boot application, covering its components, powerful monitoring features, password encryption, SQL parsing, Maven and YAML configuration, filter setup, and how to access the Druid monitoring console.

ConfigurationDruidMonitoring
0 likes · 11 min read
Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide
macrozheng
macrozheng
Jul 5, 2021 · Backend Development

Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More

This article introduces Spring Cache as a unified caching solution that abstracts away the specifics of Redis, Ehcache, and other providers, explains its core concepts, annotations, configuration, and demonstrates practical usage with code examples to eliminate manual cache handling.

EhcacheRedisSpring Boot
0 likes · 16 min read
Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 3, 2021 · 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.1.4 application with JDK 1.8, Oracle, and HikariCP to use separate master and slave data sources, covering Maven dependencies, YAML configuration, custom property classes, JPA EntityManager factories, MyBatis SqlSession factories, mapper scanning, and sample entity definitions.

HikariCPJPAMultiple Data Sources
0 likes · 19 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
Top Architect
Top Architect
Jul 2, 2021 · Backend Development

Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign

This article provides a comprehensive tutorial on the fundamentals of microservices, explains how to set up a Spring Cloud project with Maven and IntelliJ IDEA, configures Eureka registration and discovery, demonstrates service provider and consumer implementations using Spring Boot, and shows how to achieve high‑availability Eureka clusters with load‑balanced calls via Ribbon and Feign.

EurekaFeignMicroservices
0 likes · 19 min read
Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign
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.

ConfigurationHTTP clientInterceptor
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 StrategyMyBatisSharding-JDBC
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.

AOPCGLIBCustom Advisor
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.

AnnotationBizLogOperation Logging
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.

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

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

Message QueueRocketMQSpring Boot
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.

ApplicationRunnerConfigurationPropertiesSpring Boot
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 ModeDockerSeata
0 likes · 11 min read
Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo
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.

ServletSpringSpring Boot
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 PoolDebugging
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.

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

Message QueueSpring Bootbackend
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.

Directory ServicesLDAPSpring Boot
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.

Spring Bootannotationsauto-configuration
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 QueueSpring Boot
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 ConverterRESTSpring Boot
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.

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

JWTREST APISpring Boot
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.

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

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

AOTGraalVMNative 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 PreviewMultipartFileSpring Boot
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.

NacosSpring Bootconfiguration management
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.

Dependency ManagementJar OptimizationMaven
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 PulsarDockerMicroservices
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 OptimizationMavenMicroservices
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.

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

HTTP header sizeIllegalArgumentExceptionSpring Boot
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.

CRUDORMSpring Boot
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 securityRedisSpring Boot
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.

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

MicroservicesOpen SourceSpring Boot
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.

CronJob SchedulingQuartz
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 DeletionOptimistic Locking
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.

AnnotationBizLogMaven
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 pluginLinuxProfiles
0 likes · 15 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool
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.

ActuatorLinux killSIGTERM
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.

ActuatorDependency ManagementDocker
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.

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

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

ActuatorLinux killSpring Boot
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.

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

MQTTReal‑time communicationSpring Boot
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.

ActuatorDependency ManagementDocker
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.

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

ConfigurationSpring Bootbackend
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.

ConfigurationSpring Bootbackend development
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.

Food DeliveryFull-StackMongoDB
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.

Spring BootThreadLocalbest practices
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.

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

ActivitiSpring BootWorkflow
0 likes · 10 min read
How to Visualize Real-Time Workflow Progress with Spring Boot and Activiti