Tagged articles
3838 articles
Page 34 of 39
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.

Hot DeploymentIntelliJ IDEAJRebel
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.

annotationsbackend-developmentconfiguration
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.

Exception Handlingaopjava
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.

Neo4jOckhambackend-development
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.

Spring FrameworkVersion 5.3backend-development
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 Centraljavaspring-boot
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.

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

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

DataSource Routingabstractroutingdatasourceaop
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 Managementjava
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 SourcesThreadLocal
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.

configurationjavalogback
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 IsolationMicroservicesModular Development
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.

ElasticsearchFull‑Text SearchKotlin
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.

Backendannotationsauto-configuration
0 likes · 10 min read
Master Spring Boot Auto-Configuration: 6 Essential Annotation Patterns
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.

AuthenticationAuthorizationMethod Security
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.

Conditional Annotationbackend-developmentcustom-condition
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.

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

BackendCloud NativeDistributed Systems
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.

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

annotationsbackend-developmentjava
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.

HibernateORMbackend-development
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.

GradleMyBatisPlusREST API
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.

Hmilydistributed-transactionjava
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.

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

distributed-lockjavaredisson
0 likes · 8 min read
Implementing Distributed Locks with Redisson in Spring Boot
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 breakerjavasentinel
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.

Cachemultilevel cacheredis
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.

Quartzbackend-developmentdebugging
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.

database isolationjavamulti-tenancy
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-developmentjavamaven
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.

Bug FixesRelease NotesSecurity Patch
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 SchedulingDockerpowerjob
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
Programmer DD
Programmer DD
Sep 15, 2020 · Backend Development

Build and Deploy a Spring Boot App Using Alibaba Cloud Development Platform

This article walks through creating, configuring, testing, and deploying a Spring Boot application on Alibaba Cloud's Development Platform, covering both online and local development modes, CI/CD pipelines, environment management, and practical tips for smoother serverless workflows.

Alibaba CloudBackendCI/CD
0 likes · 10 min read
Build and Deploy a Spring Boot App Using Alibaba Cloud Development Platform
Java Captain
Java Captain
Sep 14, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, outlines common solutions, and provides a complete Spring Boot implementation using Redis and a token mechanism, including custom annotation, interceptor, utility classes, and testing procedures to ensure safe, single‑execution requests.

InterceptorTokenannotation
0 likes · 17 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Top Architect
Top Architect
Sep 11, 2020 · Backend Development

Non‑Intrusive Unified JSON Response Format with Global Handling in Spring Boot

This article demonstrates how to design a non‑intrusive, unified JSON response structure for Spring Boot applications, defines a standard Result wrapper and status enum, shows static factory methods, and explains global handling via @ResponseResultBody, @RestControllerAdvice, and centralized exception processing.

Exception HandlingJSONREST API
0 likes · 14 min read
Non‑Intrusive Unified JSON Response Format with Global Handling in Spring Boot
Top Architect
Top Architect
Sep 9, 2020 · Backend Development

Implementing JWT Token Refresh in Spring Boot OAuth2

This article explains how to implement seamless JWT token refresh in a Spring Boot OAuth2 application by embedding refresh information into the access token, customizing token services, defining a token refresh executor, and handling the refreshed token on the front‑end with an Axios interceptor.

JWTOAuth2spring-boot
0 likes · 15 min read
Implementing JWT Token Refresh in Spring Boot OAuth2
Programmer DD
Programmer DD
Sep 9, 2020 · Backend Development

Understanding Spring Boot Config File Priority: properties vs yaml

Spring Boot loads configuration files in a defined order, giving higher priority to application.properties over application.yaml, and searches locations such as file:./config/, file:./, classpath:/config/, and classpath:/, with merging behavior that interviewers often test.

YAMLconfigurationproperties
0 likes · 5 min read
Understanding Spring Boot Config File Priority: properties vs yaml
Programmer DD
Programmer DD
Sep 9, 2020 · Backend Development

How to Integrate Spring Boot with Netty Using Protobuf for Efficient Data Transfer

This article walks through integrating Spring Boot with Netty and using Google Protobuf for binary data exchange, covering Protobuf basics, Maven setup, code generation, server and client implementations, heartbeat handling, reconnection logic, and testing results, all with complete Java examples.

Data TransferNettyProtobuf
0 likes · 20 min read
How to Integrate Spring Boot with Netty Using Protobuf for Efficient Data Transfer
The Dominant Programmer
The Dominant Programmer
Sep 9, 2020 · Backend Development

How to Set Up and Run RuoYi-Vue 3.1 Locally: A Step‑by‑Step Guide

This tutorial walks you through downloading RuoYi-Vue 3.1, creating a MySQL database, importing required SQL files, configuring Redis and application settings, and then launching the Spring Boot back‑end and Vue front‑end so you can access the admin console at http://localhost:81/.

IntelliJ IDEAMySQLRuoYi-Vue
0 likes · 5 min read
How to Set Up and Run RuoYi-Vue 3.1 Locally: A Step‑by‑Step Guide
Top Architect
Top Architect
Sep 8, 2020 · Backend Development

Comprehensive Guide to Spring Boot and JPA Annotations

This article provides a detailed overview of common Spring Boot, Spring MVC, and JPA annotations—including @SpringBootApplication, @RestController, @RequestMapping, and JPA mapping annotations—explaining their purposes, usage patterns, and example code snippets for building Java backend applications.

Spring MVCannotationsjava
0 likes · 9 min read
Comprehensive Guide to Spring Boot and JPA Annotations
Architect's Tech Stack
Architect's Tech Stack
Sep 8, 2020 · Backend Development

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

This article explains how to design and build a simple two‑level caching solution in Java, covering generic cache interfaces, local caching with Guava, distributed caching with Redis, configuration details, version‑controlled cache keys, and practical usage within a Spring Boot application.

Guavacachingredis
0 likes · 25 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
Top Architect
Top Architect
Sep 5, 2020 · Backend Development

Spring Boot API Project Seed – A Backend Development Starter Kit with Code Samples

This article introduces a Spring Boot API project seed that combines MyBatis, a generic Mapper plugin, and PageHelper, offering ready‑made project structure, unified response handling, exception processing, code generation utilities, signature authentication, and integration guides to accelerate backend development.

APICode Generatorjava
0 likes · 10 min read
Spring Boot API Project Seed – A Backend Development Starter Kit with Code Samples
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 5, 2020 · Operations

Understanding Message Queues (MQ) and Using ActiveMQ with Java and Spring Boot

This article explains the fundamentals of message queues, why they are needed for decoupling, asynchronous processing and throttling, introduces JMS concepts, details ActiveMQ storage options and protocols, and provides practical Java and Spring Boot code examples for producers, consumers, and advanced features such as transactions, persistence, and delayed delivery.

ActiveMQDecouplingJMS
0 likes · 26 min read
Understanding Message Queues (MQ) and Using ActiveMQ with Java and Spring Boot
Java Architect Essentials
Java Architect Essentials
Sep 4, 2020 · Backend Development

Implementing Reliable Email Sending with RabbitMQ in Spring Boot

This article demonstrates how to build a robust email‑sending service using Spring Boot and RabbitMQ, covering message confirmation, consumer idempotency, retry mechanisms, configuration details, and complete source code examples for producers, consumers, and scheduled re‑delivery tasks.

EmailMessage QueueRabbitMQ
0 likes · 12 min read
Implementing Reliable Email Sending with RabbitMQ in Spring Boot
Programmer DD
Programmer DD
Sep 4, 2020 · Artificial Intelligence

How to Build a Java Spring Boot License Plate Recognition System with OpenCV

An open-source Java Spring Boot project demonstrates license plate detection and recognition using OpenCV, supporting multiple plate colors, with SVM and ANN training, detailed architecture, feature list, installation guide, and visual processing steps, offering a beginner-friendly tutorial for image recognition enthusiasts.

Image ProcessingOpenCVlicense plate recognition
0 likes · 7 min read
How to Build a Java Spring Boot License Plate Recognition System with OpenCV
Programmer DD
Programmer DD
Sep 4, 2020 · Backend Development

How to Integrate QQ Login in Spring Boot: Step‑by‑Step Guide

This tutorial walks you through registering a QQ Connect application, adding the required Maven dependency, creating the login page, implementing the Spring Boot controller and AuthComment utility class, configuring Freemarker, and handling the OAuth flow to achieve seamless QQ authentication in a Java backend.

AuthenticationBackendOAuth
0 likes · 10 min read
How to Integrate QQ Login in Spring Boot: Step‑by‑Step Guide
Java Architecture Diary
Java Architecture Diary
Sep 4, 2020 · Cloud Computing

Boost Java Cloud Run Performance: Proven JVM and Container Optimizations

Learn how to accelerate Java applications on Google Cloud Run by minimizing container image size, leveraging container-aware JVM settings, reducing thread usage, and applying Spring Boot-specific tweaks such as layered JARs, lazy initialization, and avoiding background tasks to cut startup latency and memory consumption.

Cloud RunContainer OptimizationDocker
0 likes · 17 min read
Boost Java Cloud Run Performance: Proven JVM and Container Optimizations
Top Architect
Top Architect
Sep 3, 2020 · Backend Development

Building a Robust Backend API with Spring Boot: Validation, Global Exception Handling, and Unified Response

This article demonstrates how to construct a well‑structured Spring Boot backend API by integrating request validation with Hibernate Validator, implementing global exception handling, defining custom exceptions, and standardizing responses using a unified response object and response‑body advice.

Exception HandlingParameter ValidationUnified response
0 likes · 18 min read
Building a Robust Backend API with Spring Boot: Validation, Global Exception Handling, and Unified Response
Selected Java Interview Questions
Selected Java Interview Questions
Sep 2, 2020 · Backend Development

Three Ways to Start a Spring Boot Application

This article explains the three primary ways to launch a Spring Boot application—running a class with a main method, using the java -jar command, and leveraging the spring-boot-maven-plugin—along with code examples, configuration details, and Maven command options.

Backendjavamaven
0 likes · 5 min read
Three Ways to Start a Spring Boot Application
Code Ape Tech Column
Code Ape Tech Column
Sep 2, 2020 · Backend Development

Master MyBatis with Spring Boot: Setup, Configuration, and CRUD Guide

This tutorial walks through integrating MyBatis with Spring Boot, covering Maven dependencies, datasource configuration, mapper scanning, basic CRUD XML mappings, the differences between #{ } and ${ }, auto‑generated key handling, SQL fragments, and enabling camel‑case mapping for seamless Java‑to‑database interaction.

CRUDORMdatabase
0 likes · 14 min read
Master MyBatis with Spring Boot: Setup, Configuration, and CRUD Guide
Architect
Architect
Aug 30, 2020 · Backend Development

Root Cause Analysis of Excessive Swap Memory Usage in a Spring Boot Application

The article details a step‑by‑step investigation of abnormal swap memory consumption in a Spring Boot project, revealing that native memory allocated by the Inflater during JAR scanning was not released promptly, leading to apparent memory leaks that were ultimately resolved by configuring package scanning and updating Spring Boot.

Native MemoryPerformance debugginggperftools
0 likes · 12 min read
Root Cause Analysis of Excessive Swap Memory Usage in a Spring Boot Application
Architecture Digest
Architecture Digest
Aug 29, 2020 · Databases

Cleaning Up Shared Redis Keys After a Business Line Decommission: Challenges and Solutions

This article describes how a team released resources after shutting down a business line, focusing on the difficulties of deleting Redis keys from a shared cluster, the step‑by‑step approach using code search, Python scripts, SCAN and DEBUG OBJECT commands, and the implementation of a custom key‑prefix serializer to prevent future issues.

Pythondatabase cleanupkey management
0 likes · 7 min read
Cleaning Up Shared Redis Keys After a Business Line Decommission: Challenges and Solutions
Java Architecture Diary
Java Architecture Diary
Aug 27, 2020 · Information Security

How to Mitigate the Critical Jackson‑databind CVE‑2020‑24616 Vulnerability in Spring Boot

This article explains the high‑severity CVE‑2020‑24616 deserialization flaw in jackson‑databind, identifies affected Jackson and Spring Boot versions, and provides Maven‑based remediation steps such as version pinning, dependency exclusions, and dependencyManagement configuration to prevent remote code execution.

CVE-2020-24616DeserializationJackson
0 likes · 4 min read
How to Mitigate the Critical Jackson‑databind CVE‑2020‑24616 Vulnerability in Spring Boot
Java Architecture Diary
Java Architecture Diary
Aug 24, 2020 · Backend Development

Why Is Spring Boot Admin’s HTTP Trace Missing? How to Restore It

This article explains why the HTTP trace feature disappears in Spring Boot Admin after version 2.2.x, details the investigation steps that reveal the default disabling of the InMemoryHttpTraceRepository, and recommends using third‑party tracing solutions such as Prometheus with Grafana for observable metrics.

GrafanaHTTP TraceObservability
0 likes · 3 min read
Why Is Spring Boot Admin’s HTTP Trace Missing? How to Restore It
Top Architect
Top Architect
Aug 23, 2020 · Backend Development

Comprehensive Guide to RabbitMQ: Usage Scenarios, Exchange Types, Configuration, and Reliability Practices

This article explains the core purposes of message queues such as converting synchronous operations to asynchronous, decoupling services, and handling traffic spikes, then details RabbitMQ architecture, various exchange types (Direct, Topic, Fanout), provides Spring‑Boot code examples for producers and consumers, and discusses persistence, acknowledgment mechanisms, and best‑practice configurations for reliable messaging.

Message QueueMessagingRabbitMQ
0 likes · 17 min read
Comprehensive Guide to RabbitMQ: Usage Scenarios, Exchange Types, Configuration, and Reliability Practices
Top Architect
Top Architect
Aug 22, 2020 · Backend Development

Comprehensive Guide to Spring Validation: Usage, Advanced Features, and Implementation Principles

This article provides a thorough tutorial on Spring Validation, covering basic usage with requestBody and requestParam, dependency setup, group, nested, collection and custom validations, programmatic validation, fail‑fast mode, differences between @Valid and @Validated, as well as the underlying implementation mechanisms in Spring MVC and method‑level AOP validation.

APIHibernate Validatorjava
0 likes · 17 min read
Comprehensive Guide to Spring Validation: Usage, Advanced Features, and Implementation Principles
Selected Java Interview Questions
Selected Java Interview Questions
Aug 19, 2020 · Backend Development

Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot

This article introduces MyBatis‑Plus, a powerful Java ORM that eliminates the need for manual XML mappings by providing ready‑made CRUD APIs, demonstrates how to configure Maven dependencies, define entity and mapper classes, and implement common database operations such as insert, delete, update, select, pagination, and complex conditional queries within a Spring Boot controller, all while showing the generated SQL statements.

CRUDORMjava
0 likes · 20 min read
Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 19, 2020 · Backend Development

Implementing Transactional Messages with Apache RocketMQ

This article explains how to use Apache RocketMQ's 2PC-based transactional messaging feature, covering the overall workflow, key concepts such as half messages and compensation, and providing complete Java/Spring Boot code examples for producers, transaction listeners, and consumers.

2PCDistributed SystemsRocketMQ
0 likes · 12 min read
Implementing Transactional Messages with Apache RocketMQ
Senior Brother's Insights
Senior Brother's Insights
Aug 18, 2020 · Backend Development

How to Send Emails with Spring Boot in Minutes: A Step‑by‑Step Guide

This guide explains the fundamentals of email protocols, shows how to configure Spring Boot’s mail starter, and provides complete code examples for sending plain‑text and HTML emails—including dependency setup, property configuration, and unit‑test snippets—so developers can quickly integrate reliable email functionality into their Java backend applications.

BackendEmailHTML email
0 likes · 9 min read
How to Send Emails with Spring Boot in Minutes: A Step‑by‑Step Guide
Senior Brother's Insights
Senior Brother's Insights
Aug 17, 2020 · Backend Development

Integrating ActiveMQ with Spring Boot for Asynchronous Messaging

This guide explains how to use Spring Boot's ActiveMQ starter to configure, code, and test both queue (point‑to‑point) and topic (publish‑subscribe) messaging, covering JMS fundamentals, project setup, bean definitions, listener annotations, and dual‑mode container factories.

ActiveMQAsynchronousJMS
0 likes · 13 min read
Integrating ActiveMQ with Spring Boot for Asynchronous Messaging
macrozheng
macrozheng
Aug 17, 2020 · Backend Development

Mastering Spring Boot & RabbitMQ Message Confirmation: Tips & Pitfalls

This article walks through implementing message confirmation in a Spring Boot application using RabbitMQ, covering environment setup, configuration, producer and consumer callback implementations, acknowledgment methods, common pitfalls such as missed acks and infinite redelivery, and practical debugging and retry strategies to ensure reliable messaging.

BackendMessage ConfirmationRabbitMQ
0 likes · 12 min read
Mastering Spring Boot & RabbitMQ Message Confirmation: Tips & Pitfalls
Top Architect
Top Architect
Aug 16, 2020 · Backend Development

Implementing API Idempotency in Spring Boot Using Redis and Token Mechanism

This article explains how to achieve API idempotency in a Spring Boot application by generating unique tokens, storing them in Redis, and using a custom @ApiIdempotent annotation with an interceptor to prevent duplicate requests, including code examples, configuration, and testing procedures.

APIIdempotencyInterceptor
0 likes · 14 min read
Implementing API Idempotency in Spring Boot Using Redis and Token Mechanism
Programmer DD
Programmer DD
Aug 16, 2020 · Backend Development

What’s New in Spring Boot 2.4.0-M2? Explore the Latest Features

Spring Boot 2.4.0-M2 has been released, bringing a host of backend enhancements such as non‑reflection configuration processing, optional cookie tracing, HTTP/2 improvements, new r2dbc support, Redis Cluster controls, and added authentication for Prometheus, all detailed in the official release notes.

featuresreleasespring-boot
0 likes · 2 min read
What’s New in Spring Boot 2.4.0-M2? Explore the Latest Features