Tagged articles
3873 articles
Page 34 of 39
Top Architect
Top Architect
Dec 3, 2020 · Backend Development

Extending MyBatis-Plus for Efficient Batch Insert Operations in Spring Boot

This article explains how to enhance MyBatis-Plus by adding Maven dependencies, creating custom injector and mapper interfaces, and implementing a true batch‑insert method for MySQL, enabling developers to persist collections of entities efficiently in a Spring Boot backend.

Batch InsertMybatis-PlusSpring Boot
0 likes · 6 min read
Extending MyBatis-Plus for Efficient Batch Insert Operations in Spring Boot
Programmer DD
Programmer DD
Dec 3, 2020 · Backend Development

How Kotlin Simplifies Spring Boot Backend Development: A Step‑by‑Step Guide

This article introduces Kotlin’s growing role in backend development, explains its interoperability with Java, and walks through creating a Spring Boot microservice using Kotlin, including project setup with Spring Initializr, Maven configuration, and sample code for a simple web endpoint, illustrating the benefits of concise Kotlin syntax.

Backend DevelopmentKotlinKotlin Tutorial
0 likes · 12 min read
How Kotlin Simplifies Spring Boot Backend Development: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Dec 2, 2020 · Backend Development

Build a Kotlin Spring Boot Web Service in Minutes

This article introduces Kotlin for backend development, explains why Kotlin works well with Spring Boot, and provides a step‑by‑step tutorial—including Maven setup, essential dependencies, and sample Kotlin code—to create a simple Spring Boot web application.

Backend DevelopmentKotlinMaven
0 likes · 10 min read
Build a Kotlin Spring Boot Web Service in Minutes
Programmer DD
Programmer DD
Dec 1, 2020 · Backend Development

Build a Kotlin Spring Boot Web App in Minutes: Step‑by‑Step Guide

This article introduces Kotlin for backend development, explains its advantages over Java, and provides a hands‑on tutorial with Maven configuration, source code, and deployment steps to create a simple Spring Boot web service using Kotlin.

Backend DevelopmentKotlinMaven
0 likes · 10 min read
Build a Kotlin Spring Boot Web App in Minutes: Step‑by‑Step Guide
Architect's Tech Stack
Architect's Tech Stack
Nov 29, 2020 · Backend Development

Graceful Shutdown in Spring Boot 2.3.4: Configuration, Code Examples, and Shutdown Mechanisms

This article explains how Spring Boot 2.3.4 implements graceful shutdown for Jetty, Reactor Netty, Tomcat and Undertow, shows the simple YAML configuration, demonstrates code examples using DisposableBean and @PreDestroy, and describes the actuator shutdown endpoint and its relevance to Kubernetes liveness and readiness probes.

Graceful ShutdownKubernetesSpring Boot
0 likes · 8 min read
Graceful Shutdown in Spring Boot 2.3.4: Configuration, Code Examples, and Shutdown Mechanisms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 28, 2020 · Databases

Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot

This guide explains how to install MySQL 8.0.16 on two CentOS7 servers, configure master‑slave replication with binlog, set up read/write splitting, and integrate the setup into a Spring Boot application using dynamic‑datasource, covering all necessary commands, configuration files, and code examples.

MySQLRead/Write SplittingSpring Boot
0 likes · 14 min read
Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot
Top Architect
Top Architect
Nov 25, 2020 · Backend Development

Implementing a Two‑Level Cache System with Guava and Redis in Java

This article explains how to build a two‑level caching solution in Java by defining a generic cache interface, implementing a local Guava‑based cache and a distributed Redis cache, configuring Spring Boot integration, handling versioned keys for timely expiration, and providing sample code and unit tests.

GuavaSpring Bootjava
0 likes · 26 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 25, 2020 · Backend Development

Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot

This guide demonstrates how to enforce login authentication in a Spring Boot application by defining a @LoginUser annotation, creating a corresponding interceptor, registering it in the MVC configuration, and testing the functionality with sample controller endpoints, illustrating session handling and thread‑local user storage.

Custom AnnotationLogin InterceptorSession Management
0 likes · 8 min read
Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Nov 20, 2020 · Backend Development

How Spring Boot Auto‑Configuration Works: Inside @SpringBootApplication and @EnableAutoConfiguration

This article dissects Spring Boot's auto‑configuration mechanism by examining the source code of @SpringBootApplication, @EnableAutoConfiguration, @AutoConfigurationPackage, and the ImportSelector, explaining how starter packages, component scanning, and spring.factories drive the framework's zero‑configuration experience.

Backend DevelopmentSpring Bootannotations
0 likes · 7 min read
How Spring Boot Auto‑Configuration Works: Inside @SpringBootApplication and @EnableAutoConfiguration
Top Architect
Top Architect
Nov 19, 2020 · Backend Development

Step-by-Step Guide to Building a Spring Cloud Eureka Server and Client with High Availability

This tutorial walks through creating a Spring Cloud microservice ecosystem by configuring a Eureka registration server, building a service provider and consumer with Spring Boot, demonstrating REST‑template and Ribbon integration, and setting up high‑availability Eureka clusters using multiple instances and load‑balancing strategies.

Spring Booteurekahigh availability
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Cloud Eureka Server and Client with High Availability
Code Ape Tech Column
Code Ape Tech Column
Nov 19, 2020 · Backend Development

Demystifying Spring Boot Startup: A Deep Dive into SpringApplication.run()

This article provides a step‑by‑step technical analysis of Spring Boot's startup process, breaking down the creation of SpringApplication, the configuration of application type, initializers, listeners, and the eight phases executed by the run() method, complete with code snippets and diagrams.

Backend DevelopmentSpring BootSpringApplication
0 likes · 16 min read
Demystifying Spring Boot Startup: A Deep Dive into SpringApplication.run()
Architect's Tech Stack
Architect's Tech Stack
Nov 18, 2020 · Backend Development

Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide

MyBatis-Plus (MP) is a non‑intrusive MyBatis enhancement tool that offers a rich set of CRUD features, multi‑database support, code generation, and plugins, and this article explains its key capabilities, architecture diagram, and provides a step‑by‑step quick‑start example with Maven dependencies and sample query code.

Backend DevelopmentCRUDMybatis-Plus
0 likes · 5 min read
Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide
Java Architecture Diary
Java Architecture Diary
Nov 18, 2020 · Backend Development

How Spring Boot 2.4 Automatically Trims Empty Starter JARs

Spring Boot 2.4 introduces automatic removal of empty starter dependencies when building executable JARs, reducing size by eliminating unnecessary starter JARs; this guide demonstrates the effect, explains what empty starters are, and shows how to customize JARs for automatic slimming using manifest entries.

Backend DevelopmentEmpty StarterJar Slimming
0 likes · 5 min read
How Spring Boot 2.4 Automatically Trims Empty Starter JARs
Java Backend Technology
Java Backend Technology
Nov 17, 2020 · Operations

Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide

This article walks you through setting up Jenkins to clone a Spring Boot project from Gitee, configure JDK, Git, and Maven tools, create a freestyle job with parameterized builds, write shell scripts for stopping and starting the application, and troubleshoot common issues for a fully automated CI/CD pipeline.

JenkinsMavenSpring Boot
0 likes · 7 min read
Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide
Architect's Tech Stack
Architect's Tech Stack
Nov 16, 2020 · Backend Development

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

This tutorial walks through adding Dataway to a Spring Boot project by importing Hasor and Dataway dependencies, configuring Maven, setting Dataway and datasource properties, creating a Hasor module to inject the Spring DataSource, enabling Hasor annotations, launching the application, and finally using the Dataway UI to define and publish SQL or DataQL‑based APIs.

API ConfigurationDataQLDataway
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Programmer DD
Programmer DD
Nov 14, 2020 · Backend Development

What’s New in Spring Boot 2.4.0? Top 12 Features You Must Know

Spring Boot 2.4.0 GA, released on November 12, 2020, introduces twelve major updates—including version naming changes, improved configuration handling, new Kubernetes import support, enhanced startup diagnostics, Docker/Buildpack integration, Java 15 compatibility, upgraded dependencies, refined embedded‑DB detection, Logback property revisions, HTTP trace tweaks, Undertow forwarding behavior, and Elasticsearch client adjustments—providing developers with clearer migration paths and richer functionality.

BackendRelease NotesSpring Boot
0 likes · 6 min read
What’s New in Spring Boot 2.4.0? Top 12 Features You Must Know
Java Architect Essentials
Java Architect Essentials
Nov 13, 2020 · Backend Development

Deploying a Spring Boot Application with Docker Using IntelliJ IDEA

This tutorial walks through preparing the environment, configuring Docker remote access, creating a Spring Boot project in IntelliJ IDEA, setting up Maven and Docker files, building the image, and running the container, demonstrating a complete end‑to‑end Java microservice deployment with Docker.

ContainerizationDockerIntelliJ IDEA
0 likes · 9 min read
Deploying a Spring Boot Application with Docker Using IntelliJ IDEA
Code Ape Tech Column
Code Ape Tech Column
Nov 12, 2020 · Backend Development

Configuring Multiple Environments in Spring Boot and Maven

This article explains how to set up separate configuration files for development, testing, and production environments in Spring Boot, how to activate the desired profile via properties or command line, and how to use Maven profiles and resource filtering to package the application accordingly.

MavenMulti-EnvironmentProfiles
0 likes · 8 min read
Configuring Multiple Environments in Spring Boot and Maven
Code Ape Tech Column
Code Ape Tech Column
Nov 9, 2020 · Operations

Step-by-Step Guide to Installing Jenkins with Docker and Building Spring Boot Projects

This tutorial walks you through preparing the environment, installing Jenkins via Docker, configuring initial settings, integrating JDK, Maven, and Git, adding SSH servers and credentials, creating Maven jobs, and automating builds for Spring Boot applications on both GitHub and GitLab, including multi‑module project handling.

DevOpsDockerJenkins
0 likes · 13 min read
Step-by-Step Guide to Installing Jenkins with Docker and Building Spring Boot Projects
Programmer DD
Programmer DD
Nov 9, 2020 · Backend Development

How to Implement a Non‑Intrusive Unified JSON Response in Spring Boot

This tutorial explains why a unified JSON format is needed in a Spring Boot project, defines a standard {code, message, data} schema, shows how to create a Result enum and generic wrapper class, and demonstrates global handling with @ResponseResultBody, ResponseBodyAdvice, and @ExceptionHandler for clean, consistent API responses.

BackendException HandlingJSON response
0 likes · 14 min read
How to Implement a Non‑Intrusive Unified JSON Response in Spring Boot
Top Architect
Top Architect
Nov 7, 2020 · Backend Development

Integrating Swagger with Spring Boot Using Springfox 3.0.0

This article provides a comprehensive guide on using Swagger for REST API documentation in Spring Boot projects, covering Swagger fundamentals, Springfox introduction, the features of Springfox 3.0.0, compatibility requirements, Maven integration, configuration classes, common annotations, and a complete example with code snippets.

API documentationOpenAPISpring Boot
0 likes · 11 min read
Integrating Swagger with Spring Boot Using Springfox 3.0.0
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2020 · Cloud Native

Overview of Spring Boot, Spring Cloud, Spring Cloud Alibaba, and Nacos

This article introduces Spring Boot as a lightweight Java framework, explains Spring Cloud's microservice components such as Eureka, Zuul, Ribbon, Feign, Hystrix, and Turbine, outlines Spring Cloud Alibaba's features, and describes Nacos as a combined service registry and configuration center for cloud‑native applications.

Configuration ManagementNacosSpring Boot
0 likes · 7 min read
Overview of Spring Boot, Spring Cloud, Spring Cloud Alibaba, and Nacos
Top Architect
Top Architect
Nov 6, 2020 · Backend Development

Configuring Logback Logging in Spring Boot: XML, Properties, and Code Examples

This article provides a comprehensive guide to configuring Logback in Spring Boot, covering Maven dependencies, SLF4J usage, step‑by‑step XML setup, application.yml integration, controller logging code, Lombok shortcuts, appender types, logger definitions, log levels, rolling policies, filters, and best practices for backend development.

LoggingSpring Bootconfiguration
0 likes · 20 min read
Configuring Logback Logging in Spring Boot: XML, Properties, and Code Examples
Java Captain
Java Captain
Nov 5, 2020 · Cloud Native

Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign

This tutorial walks through creating a Spring Cloud microservices architecture using Spring Boot, Eureka service registry, Ribbon load balancing, and Feign clients, covering project initialization in IntelliJ IDEA, Maven configuration, YAML setup, service implementation, high‑availability Eureka server clustering, and testing the end‑to‑end workflow.

RibbonSpring Booteureka
0 likes · 17 min read
Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign
Code Ape Tech Column
Code Ape Tech Column
Nov 5, 2020 · Backend Development

Master Swagger 3.0 Integration with Spring Boot: Step‑by‑Step Guide

This article walks through the complete process of integrating Swagger 3.0 into a Spring Boot 2.3.5 application, covering dependency setup, the role of springfox‑boot‑starter, custom OpenAPI configuration, API grouping, security schemes, and global request parameters with concrete code examples.

API documentationOpenAPISpring Boot
0 likes · 11 min read
Master Swagger 3.0 Integration with Spring Boot: Step‑by‑Step Guide
macrozheng
macrozheng
Nov 5, 2020 · Backend Development

Build Your Own Spring Boot Starter for SMS Integration – Step‑by‑Step Guide

This article walks you through creating a custom Spring Boot starter for SMS services, covering naming conventions, Maven dependencies, configuration properties, auto‑configuration, sender implementations, activation methods, packaging, and usage with practical code examples and diagrams.

BackendSMSSpring Boot
0 likes · 12 min read
Build Your Own Spring Boot Starter for SMS Integration – Step‑by‑Step Guide
Code Ape Tech Column
Code Ape Tech Column
Nov 2, 2020 · Backend Development

Using JRebel for Local and Remote Hot Deployment in Spring Boot

This article explains how to install and configure JRebel for both local and remote hot deployment in Spring Boot projects, compares it with Spring DevTools, provides step‑by‑step setup instructions, and addresses multi‑module deployment pitfalls.

Backend DevelopmentHot DeploymentIntelliJ IDEA
0 likes · 8 min read
Using JRebel for Local and Remote Hot Deployment in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 2, 2020 · Backend Development

Understanding the Three Core Annotations of Spring Boot: @Configuration, @ComponentScan, and @EnableAutoConfiguration

This tutorial explains Spring Boot's three core annotations—@Configuration, @ComponentScan, and @EnableAutoConfiguration—by showing how Java Config replaces XML, demonstrating bean creation, lifecycle management, component scanning, and auto‑configuration with practical code examples for a Spring application.

Backend DevelopmentSpring Bootannotations
0 likes · 6 min read
Understanding the Three Core Annotations of Spring Boot: @Configuration, @ComponentScan, and @EnableAutoConfiguration
Java Architect Essentials
Java Architect Essentials
Nov 1, 2020 · Backend Development

Dynamic Configuration of Quartz Scheduled Tasks in Spring Boot

This article demonstrates how to implement a dynamic, non‑blocking Quartz scheduler in a Spring Boot application, allowing tasks to be added, paused, resumed, deleted, or triggered instantly without restarting the service, and provides complete code examples and configuration steps.

Dynamic ConfigurationQuartzScheduled Tasks
0 likes · 11 min read
Dynamic Configuration of Quartz Scheduled Tasks in Spring Boot
Top Architect
Top Architect
Nov 1, 2020 · Backend Development

Implementing Operation and Exception Logging with Spring Boot AOP

This article demonstrates how to use Spring Boot AOP to automatically record operation and exception logs by defining log tables, adding the AOP starter dependency, creating a custom @OperLog annotation, implementing an aspect that captures request details and errors, and applying the annotation to controller methods, providing a clean, reusable logging solution for Java backend applications.

AOPException HandlingLogging
0 likes · 11 min read
Implementing Operation and Exception Logging with Spring Boot AOP
Programmer DD
Programmer DD
Nov 1, 2020 · Backend Development

What’s New in Spring Data Ockham (2020.0.0) Release?

The October 2020 Spring Data Ockham (2020.0.0) release introduces a new version‑naming scheme, updates to Spring Data Neo4j, JDBC, R2DBC, Redis, adds RxJava 3 and De‑lombok support, and outlines compatibility notes for Spring Boot 2.4 and Neo4j users.

Backend DevelopmentNeo4jOckham
0 likes · 3 min read
What’s New in Spring Data Ockham (2020.0.0) Release?
Programmer DD
Programmer DD
Oct 31, 2020 · Backend Development

What’s New in Spring Framework 5.3? Key Features and Upgrade Benefits

Spring Framework 5.3 GA, released on October 27, brings JDK 8+ support, new R2DBC capabilities, performance tweaks, enhanced MockMvc and WebFlux features, and is the recommended long‑term upgrade for both 5.x and 4.x users with maintenance through 2024.

Backend DevelopmentSpring BootSpring Framework
0 likes · 4 min read
What’s New in Spring Framework 5.3? Key Features and Upgrade Benefits
Java Architecture Diary
Java Architecture Diary
Oct 30, 2020 · Backend Development

What’s New in Spring Boot 2.3.5, 2.2.11, and 2.1.18 Releases?

Spring Boot 2.3.5, 2.2.11, and 2.1.18 have been released on Maven Central, each bringing dozens of bug fixes, documentation improvements, and dependency upgrades, while the 2.1.x line has reached end‑of‑life and users are urged to migrate to newer versions.

Maven CentralSpring Bootjava
0 likes · 3 min read
What’s New in Spring Boot 2.3.5, 2.2.11, and 2.1.18 Releases?
Top Architect
Top Architect
Oct 30, 2020 · Backend Development

Implementing Login Authentication with Session and JWT in Spring Boot

This article provides a step‑by‑step guide to implementing login authentication in Spring Boot, covering both session‑based and JWT‑based approaches, including code for controllers, filters, interceptors, context utilities, and best‑practice considerations for secure and scalable backend development.

JWTSecuritySession
0 likes · 22 min read
Implementing Login Authentication with Session and JWT in Spring Boot
Top Architect
Top Architect
Oct 29, 2020 · Backend Development

Implementing API Idempotency in Spring Boot Using Redis and Token Mechanism

This article explains the concept of API idempotency, presents common solutions such as unique indexes, token mechanisms, and distributed locks, and provides a complete Spring Boot implementation using Redis to generate, store, and validate tokens via custom annotations, interceptors, and service classes, including testing and performance verification.

APIIdempotencyInterceptor
0 likes · 14 min read
Implementing API Idempotency in Spring Boot Using Redis and Token Mechanism
Code Ape Tech Column
Code Ape Tech Column
Oct 29, 2020 · Backend Development

Enabling Remote Debugging for Spring Boot Applications with JPDA

This article explains what remote debugging is, why it is useful, introduces the JPDA architecture, details the JDWP command‑line options such as transport, server, suspend, address, and shows step‑by‑step how to start a Spring Boot service in remote‑debug mode and attach IntelliJ IDEA for debugging.

DebuggingIDEAJPDA
0 likes · 9 min read
Enabling Remote Debugging for Spring Boot Applications with JPDA
Java Architect Essentials
Java Architect Essentials
Oct 28, 2020 · Backend Development

Implementing Read/Write Splitting with Spring's AbstractRoutingDataSource

This article demonstrates how to implement read/write splitting in a Spring Boot application by configuring multiple data sources, using AbstractRoutingDataSource for dynamic routing, and applying AOP and custom annotations to direct read operations to slave databases and write operations to the master, with full Maven and MyBatis setup.

AOPDataSource RoutingMyBatis
0 likes · 17 min read
Implementing Read/Write Splitting with Spring's AbstractRoutingDataSource
Code Ape Tech Column
Code Ape Tech Column
Oct 27, 2020 · Backend Development

Mastering JSR‑303 Validation in Spring Boot: From Basics to Custom Constraints

This article walks through the fundamentals of JSR‑303 Bean Validation in Spring Boot, explains how to add the starter dependency, lists built‑in constraint annotations, demonstrates simple, group and nested validation, shows how to capture validation errors, and guides you through creating custom constraint annotations and validators with full code examples.

Bean ValidationCustom ConstraintGroup Validation
0 likes · 18 min read
Mastering JSR‑303 Validation in Spring Boot: From Basics to Custom Constraints
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot

This guide explains how to use Redis key expiration notifications in a Spring Boot application to automatically close unpaid orders by storing an order‑ID key with a TTL, configuring Redis to emit expiration events, and implementing a listener that updates order status when the key expires.

Key ExpirationOrder ManagementRedis
0 likes · 6 min read
Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Oct 21, 2020 · Backend Development

Mastering Spring Boot: How to Integrate Multiple Data Sources with MyBatis

This tutorial explains how to configure Spring Boot with a single Druid data source, extend it to multiple dynamic data sources using AbstractRoutingDataSource, and seamlessly integrate MyBatis, including custom annotations, AOP switching, thread‑local isolation, and transaction management for robust multi‑database applications.

Dynamic Data SourceMultiple Data SourcesMyBatis
0 likes · 18 min read
Mastering Spring Boot: How to Integrate Multiple Data Sources with MyBatis
Programmer DD
Programmer DD
Oct 20, 2020 · Backend Development

Mastering Java Logging: SLF4J, Logback, and Spring Boot Configuration Guide

This article explains how to choose and integrate Java logging frameworks, use SLF4J with Logback, understand Spring Boot's default logging setup, customize log output, and switch between implementations such as Log4j2, providing practical code snippets and configuration examples.

LoggingSpring Bootconfiguration
0 likes · 10 min read
Mastering Java Logging: SLF4J, Logback, and Spring Boot Configuration Guide
Architect's Tech Stack
Architect's Tech Stack
Oct 18, 2020 · Backend Development

SOFABoot: An Open‑Source Spring Boot‑Based Framework for Microservice Development

SOFABoot, an open‑source framework from Ant Financial built on Spring Boot, enhances microservice development by adding readiness checks, class isolation via SOFAArk, log space isolation, unified middleware integration, and modular development support, helping prevent class conflicts and simplify large‑scale service deployments.

Class IsolationModular DevelopmentReadiness Check
0 likes · 4 min read
SOFABoot: An Open‑Source Spring Boot‑Based Framework for Microservice Development
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 18, 2020 · Backend Development

Spring Boot 2.0.5 Integration with Elasticsearch: Installation, Configuration, Entity Mapping, CRUD, and Full‑Text Search

This guide demonstrates how to integrate Spring Boot 2.0.5 with Elasticsearch 5.6.11 by installing Elasticsearch and Kibana, adding the required Maven dependencies, configuring the client via application.yml or Java code, defining @Document‑annotated entities, implementing repository, service and controller layers for CRUD and full‑text search, handling Netty conflicts at startup, and verifying the setup with health, list and search endpoints.

Backend DevelopmentElasticsearchFull-Text Search
0 likes · 8 min read
Spring Boot 2.0.5 Integration with Elasticsearch: Installation, Configuration, Entity Mapping, CRUD, and Full‑Text Search
Code Ape Tech Column
Code Ape Tech Column
Oct 15, 2020 · Backend Development

Master Spring Boot Auto-Configuration: 6 Essential Annotation Patterns

This article explains six key patterns for customizing Spring Boot auto‑configuration, covering how to locate auto‑configuration classes, the role of @Conditionalxxx, @EnableConfigurationProperties, @Import, @AutoConfigurexxx annotations, and the significance of internal static configuration classes, with concrete code examples.

BackendSpring Bootannotations
0 likes · 10 min read
Master Spring Boot Auto-Configuration: 6 Essential Annotation Patterns
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 15, 2020 · Databases

Which Primary Key Is Faster in MySQL? Auto‑Increment vs UUID vs Snowflake

This article creates three MySQL tables with auto‑increment, UUID, and Snowflake‑generated random keys, runs identical insert workloads using Spring Boot and JdbcTemplate, measures performance, compares index structures, discusses the pros and cons of each key type, and concludes with best‑practice recommendations.

MySQLSpring Bootauto_increment
0 likes · 10 min read
Which Primary Key Is Faster in MySQL? Auto‑Increment vs UUID vs Snowflake
Top Architect
Top Architect
Oct 15, 2020 · Information Security

Spring Security Guide: Authentication, Authorization, and Web Security

This comprehensive Spring Security guide explains core concepts of authentication and access control, details the AuthenticationManager and ProviderManager interfaces, shows how to customize authentication managers, configure authorization with AccessDecisionManager, secure web requests with filter chains, and apply method-level security, including asynchronous contexts.

AuthenticationAuthorizationSpring Boot
0 likes · 23 min read
Spring Security Guide: Authentication, Authorization, and Web Security
Code Ape Tech Column
Code Ape Tech Column
Oct 13, 2020 · Backend Development

Understanding Spring Boot @Conditional Annotation and Custom Conditions

This article explains the evolution, usage, and customization of Spring Boot's @Conditional annotation, detailing its underlying Condition interface, execution phases, ordering mechanisms, and providing practical code examples for environment-specific bean registration in Spring applications.

Backend DevelopmentConditional AnnotationSpring Boot
0 likes · 11 min read
Understanding Spring Boot @Conditional Annotation and Custom Conditions
Top Architect
Top Architect
Oct 10, 2020 · Databases

Redis Interview Guide: Core Concepts, Caching with Spring Boot, Persistence, Replication, Sentinel and Performance

This comprehensive guide explains what Redis is, its data structures and features, demonstrates how to use Redis as a cache in Spring Boot applications, discusses cache eviction policies, persistence mechanisms, replication, Sentinel high‑availability, and performance characteristics while also covering common interview questions such as cache snowball, penetration and breakdown.

PerformancePersistenceSpring Boot
0 likes · 30 min read
Redis Interview Guide: Core Concepts, Caching with Spring Boot, Persistence, Replication, Sentinel and Performance
Selected Java Interview Questions
Selected Java Interview Questions
Oct 9, 2020 · Cloud Native

Why Learn Spring Cloud: Core Concepts, Architecture, Projects and Best Practices

This article explains the motivations for adopting Spring Cloud, defines its components and design goals, compares it with Spring Boot and other frameworks, outlines its main sub‑projects, versioning scheme, and provides practical guidance on configuration, service discovery, load balancing, fault tolerance, and gateway development for cloud‑native microservices.

BackendDistributed SystemsSpring Boot
0 likes · 21 min read
Why Learn Spring Cloud: Core Concepts, Architecture, Projects and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Oct 8, 2020 · Backend Development

Extending and Fully Controlling Spring MVC in Spring Boot

This article explains how to extend Spring MVC in Spring Boot by implementing WebMvcConfigurer, how the default auto‑configuration works, and why using @EnableWebMvc fully takes over MVC configuration, while also providing code examples and resource links for deeper learning.

Backend DevelopmentEnableWebMvcMVC
0 likes · 8 min read
Extending and Fully Controlling Spring MVC in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Oct 7, 2020 · Backend Development

Mastering Spring Boot Filters: From Basics to CORS Solutions

This article explains the role of Servlet Filters in Spring Boot, details their execution chain, shows how to implement custom filters, and provides step‑by‑step configurations using FilterRegistrationBean and @WebFilter, including a practical CORS filter example.

BackendCORSServlet
0 likes · 8 min read
Mastering Spring Boot Filters: From Basics to CORS Solutions
Programmer DD
Programmer DD
Oct 7, 2020 · Backend Development

Spring Boot Annotations: @SpringBootApplication, @RestController & JPA Basics

This article provides a comprehensive overview of essential Spring Boot and Spring MVC annotations—including @SpringBootApplication, @RestController, @RequestMapping, @Autowired, and JPA annotations—explaining their purposes, usage examples, and how they simplify configuration, component scanning, request handling, and database mapping in Java backend development.

Backend DevelopmentSpring Bootannotations
0 likes · 10 min read
Spring Boot Annotations: @SpringBootApplication, @RestController & JPA Basics
Top Architect
Top Architect
Oct 4, 2020 · Backend Development

Dynamic Configuration of Quartz Scheduled Tasks in Spring Boot

This article demonstrates how to implement a dynamic, non‑blocking Quartz scheduling solution in a Spring Boot application, covering Maven dependencies, database schema, initialization steps, custom job factory, listener, and common Scheduler API operations such as pause, resume, delete, and trigger.

Dynamic ConfigurationQuartzScheduled Tasks
0 likes · 11 min read
Dynamic Configuration of Quartz Scheduled Tasks in Spring Boot
Architect
Architect
Oct 3, 2020 · Backend Development

Integrating Hibernate and MyBatis in a Spring Boot Project

This tutorial demonstrates how to integrate both Hibernate and MyBatis ORM frameworks within a single Spring Boot application, covering environment setup, project configuration, entity and repository definitions, service and controller implementation, and testing to verify concurrent operation.

Backend DevelopmentHibernateMyBatis
0 likes · 10 min read
Integrating Hibernate and MyBatis in a Spring Boot Project
Java Architect Essentials
Java Architect Essentials
Oct 1, 2020 · Backend Development

Spring Boot + MyBatisPlus Project Setup and Implementation Guide

This article provides a comprehensive step‑by‑step guide on selecting technologies, configuring Gradle, integrating Spring Boot 2.1.5 with MyBatisPlus, setting up FastJSON, Hutool, Undertow, and other tools, and includes complete source code for entity, mapper, service, controller, and utility classes to build a clean Java backend application.

Backend DevelopmentGradleMyBatisPlus
0 likes · 23 min read
Spring Boot + MyBatisPlus Project Setup and Implementation Guide
Architect's Tech Stack
Architect's Tech Stack
Sep 30, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, reviews common solutions, and provides a complete Spring Boot implementation using a Redis‑based token mechanism, custom @ApiIdempotent annotation, interceptor, and supporting services, along with testing and important concurrency considerations.

APIIdempotencyInterceptor
0 likes · 14 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Programmer DD
Programmer DD
Sep 30, 2020 · Backend Development

What’s New in Hmily 2.1.1? A Deep Dive into the New Architecture and Features

Hmily 2.1.1 introduces a completely refactored architecture, new modules, expanded RPC support, configurable storage options, and detailed upgrade guides, enabling developers to build high‑availability, high‑performance distributed transactions with minimal code changes across Spring Boot, Dubbo, and Spring Cloud ecosystems.

HmilySpring Bootdistributed-transaction
0 likes · 12 min read
What’s New in Hmily 2.1.1? A Deep Dive into the New Architecture and Features
Code Ape Tech Column
Code Ape Tech Column
Sep 29, 2020 · Backend Development

How to Switch Logging Frameworks in Spring Boot Using SLF4J

This article explains how to seamlessly replace Spring Boot's default Logback logging framework with alternatives like Log4j2 by leveraging the SLF4J facade, covering version requirements, dependency management, configuration files, and detailed XML examples for various log levels.

BackendLoggingSpring Boot
0 likes · 11 min read
How to Switch Logging Frameworks in Spring Boot Using SLF4J
Top Architect
Top Architect
Sep 29, 2020 · Backend Development

Implementing Distributed Locks with Redisson in Spring Boot

This article demonstrates how to integrate Redisson with Spring Boot to create Redis‑based distributed locks, provides Maven dependency configuration, shows a Spring @Configuration class for Redisson, offers a utility wrapper for lock operations, and includes a REST controller with a concurrent test to illustrate correct locking behavior versus no‑lock scenarios.

RedissonSpring Bootdistributed-lock
0 likes · 8 min read
Implementing Distributed Locks with Redisson in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 28, 2020 · Backend Development

Configuring Logging in Spring Boot: Levels, Frameworks, and Custom Settings

This article explains how to configure logging in Spring Boot, covering supported versions, log levels, available logging frameworks, default Logback setup, code usage with Lombok, customizing log levels, directing output to files, formatting patterns, and detailed Logback XML configuration.

LoggingSpring Bootconfiguration
0 likes · 17 min read
Configuring Logging in Spring Boot: Levels, Frameworks, and Custom Settings
Top Architect
Top Architect
Sep 28, 2020 · Backend Development

Getting Started with Alibaba Sentinel for Rate Limiting and Circuit Breaking in Spring Boot

This article introduces Alibaba Sentinel, explains its key features for traffic control and circuit breaking, and provides step‑by‑step instructions with code samples to set up the Sentinel dashboard, integrate it into a Spring Boot microservice, configure rate‑limiting rules, and verify the protection in action.

Circuit BreakerSpring Bootjava
0 likes · 9 min read
Getting Started with Alibaba Sentinel for Rate Limiting and Circuit Breaking in Spring Boot
Java Architecture Diary
Java Architecture Diary
Sep 27, 2020 · Backend Development

Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache

This article explains why a multi‑level cache combining JVM‑level Caffeine and distributed Redis is essential for modern Spring Boot applications, outlines design challenges, provides step‑by‑step integration instructions, and demonstrates performance gains with benchmark results and core implementation code.

CacheRedisSpring Boot
0 likes · 6 min read
Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache
Top Architect
Top Architect
Sep 26, 2020 · Backend Development

My Journey of Reading Source Code: From Java Collections to Spring Boot and Quartz

The article shares the author's personal experience of reading source code—starting with Java collections, moving to Spring and MyBatis, diving deep into Spring Boot and Quartz integration, and offering practical tips such as using official guides, books, blogs, design‑pattern knowledge, and IDE breakpoint debugging to master backend frameworks.

Backend DevelopmentDebuggingQuartz
0 likes · 14 min read
My Journey of Reading Source Code: From Java Collections to Spring Boot and Quartz
Top Architect
Top Architect
Sep 25, 2020 · Backend Development

Implementing Multi‑Tenancy with MyBatis‑Plus in a Spring Boot Application

This article explains the concepts of multi‑tenant architecture, compares three data isolation strategies, and provides a complete Spring Boot example that uses MyBatis‑Plus to automatically inject a tenant identifier into SQL queries, including configuration, entity definitions, and unit tests.

Mybatis-PlusSpring Bootdatabase isolation
0 likes · 14 min read
Implementing Multi‑Tenancy with MyBatis‑Plus in a Spring Boot Application
Code Ape Tech Column
Code Ape Tech Column
Sep 24, 2020 · Backend Development

Master Spring Boot: From Project Creation to Hello World in Minutes

This guide walks through the fundamentals of Spring Boot, explaining its purpose, showing how to create a project with Spring Initializr, writing a Hello World REST controller, understanding starter dependencies, configuring properties, exploring the main application class annotations, and adding a simple unit test.

Backend DevelopmentMavenREST
0 likes · 12 min read
Master Spring Boot: From Project Creation to Hello World in Minutes
Programmer DD
Programmer DD
Sep 23, 2020 · Backend Development

What’s New in Spring Boot 2.3.4, 2.2.10, and 2.1.17? Detailed Release Highlights

Spring Boot’s latest multi‑version release, now available via repo.spring.io and Maven Central, delivers critical bug fixes and a security patch for CVE‑2020‑5421, with detailed version‑specific changes for 2.3.4, 2.2.10, and 2.1.17, including the number of fixes and upgrade notes.

Backend DevelopmentBug FixesRelease Notes
0 likes · 3 min read
What’s New in Spring Boot 2.3.4, 2.2.10, and 2.1.17? Detailed Release Highlights
macrozheng
macrozheng
Sep 21, 2020 · Backend Development

Master Distributed Task Scheduling with PowerJob: A Step‑by‑Step Guide

This article introduces PowerJob, a next‑generation distributed scheduling and computation framework, explains why a central scheduler is needed in microservice architectures, and provides detailed installation, configuration, and code examples for setting up the server, worker, and tasks using Docker, MySQL, MongoDB, and Spring Boot.

Distributed SchedulingDockerSpring Boot
0 likes · 10 min read
Master Distributed Task Scheduling with PowerJob: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Sep 18, 2020 · Backend Development

How to Slim Down Spring Boot JARs for Faster Deployment

This guide explains why Spring Boot JARs become oversized when packed with many dependencies, demonstrates how to extract and reuse the lib folder, modify Maven settings to exclude embedded libraries, and run a much smaller JAR together with the external libs for efficient deployment.

Jar OptimizationMavenSpring Boot
0 likes · 4 min read
How to Slim Down Spring Boot JARs for Faster Deployment