Tagged articles
5000 articles
Page 47 of 50
macrozheng
macrozheng
Dec 22, 2023 · Backend Development

Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide

This article introduces the MyBatis-Plus Generator UI, a web‑based tool that streamlines Spring Boot code generation for entities, mappers, services, and controllers, explains how to integrate it via Maven, configure databases, customize templates, and extend its functionality with custom name converters.

Spring Bootbackend-developmentcode-generation
0 likes · 14 min read
Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide
Programmer DD
Programmer DD
Dec 22, 2023 · Backend Development

Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations

This guide introduces Spring Boot 3.2's new JdbcClient, explains how to add the dependency, inject it, and perform fluent, chainable CRUD operations—including queries by ID, custom conditions, named parameters, map parameters, row mapping, and inserts—while highlighting its advantages over traditional ORM tools.

Fluent APIJdbcClientSpring Boot
0 likes · 7 min read
Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 22, 2023 · Backend Development

5 Essential Spring Boot 3 Techniques for Validating and Customizing Configuration Properties

This guide demonstrates five practical Spring Boot 3 techniques—including using @ConfigurationProperties with validation, handling missing @Value entries, defining custom property sources, enforcing required properties, and parsing YML files—to ensure robust configuration management and prevent startup failures.

EnvironmentPostProcessorSpring BootYAML
0 likes · 5 min read
5 Essential Spring Boot 3 Techniques for Validating and Customizing Configuration Properties
IT Services Circle
IT Services Circle
Dec 21, 2023 · Backend Development

Comprehensive Backend Interview Guide: MySQL, Redis, Java Collections, Concurrency, and TCP

This article compiles essential backend interview questions and answers covering MySQL storage engines and indexes, Redis persistence modes, Java collection frameworks and HashMap internals, thread‑safe ConcurrentHashMap implementations, as well as HTTP message structure and TCP reliability mechanisms, providing a thorough review for candidates preparing for backend positions.

TCPconcurrencyinterview
0 likes · 26 min read
Comprehensive Backend Interview Guide: MySQL, Redis, Java Collections, Concurrency, and TCP
Architecture Digest
Architecture Digest
Dec 21, 2023 · Backend Development

Comparison of Delayed Task Solutions in Java: Quartz, DelayQueue, Time Wheel, Redis and RabbitMQ

The article explains the concept of delayed tasks versus scheduled tasks in payment systems, outlines their key differences, and evaluates five practical implementation approaches—Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET/Keyspace notifications, and RabbitMQ delayed queues—detailing their code examples, advantages and drawbacks.

DelayQueueQuartzRabbitMQ
0 likes · 16 min read
Comparison of Delayed Task Solutions in Java: Quartz, DelayQueue, Time Wheel, Redis and RabbitMQ
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 21, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips

This article explains why rate limiting is essential for high‑traffic systems, defines common rate‑limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), provides complete Java code examples for each, and demonstrates practical usage with Guava's RateLimiter in real‑world applications.

BackendDistributed SystemsGuava
0 likes · 19 min read
Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 21, 2023 · Backend Development

Spring WebFlux Functional Endpoints: HandlerFunction, ServerRequest & Response

This article explains how Spring WebFlux's functional programming model uses HandlerFunction, ServerRequest, and ServerResponse to build reactive, immutable HTTP endpoints, covering routing with RouterFunction, request body extraction, response creation, validation, and practical code examples for Java developers.

HandlerFunctionServerRequestServerResponse
0 likes · 8 min read
Spring WebFlux Functional Endpoints: HandlerFunction, ServerRequest & Response
JD Cloud Developers
JD Cloud Developers
Dec 20, 2023 · Backend Development

How to Seamlessly Upgrade Spring Boot 2.7 for JDK 17 on JD Cloud

This guide explains why Spring Boot 2.7 is the optimal bridge to JDK 17, details the new language and performance features, provides step‑by‑step deployment and configuration instructions for JD Cloud, and shares practical compatibility fixes and IDE tips for a smooth migration.

DeploymentJDK 17Spring Boot
0 likes · 20 min read
How to Seamlessly Upgrade Spring Boot 2.7 for JDK 17 on JD Cloud
政采云技术
政采云技术
Dec 20, 2023 · Backend Development

MyBatis Cache Issues

This article explains MyBatis's first‑level and second‑level cache mechanisms, illustrates common consistency problems caused by default cache settings in both distributed and single‑session scenarios, and provides practical recommendations such as adjusting localCacheScope or deep‑copying results to avoid cache pitfalls.

BackendCacheMyBatis
0 likes · 12 min read
MyBatis Cache Issues
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2023 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, explaining how the client initializes ConfigService, schedules periodic checks, processes configuration changes, and how the server receives listener requests, manages long‑polling tasks, and triggers change events, all illustrated with code snippets and diagrams.

BackendConfigurationMicroservices
0 likes · 12 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation
Su San Talks Tech
Su San Talks Tech
Dec 20, 2023 · Fundamentals

Why Does Comparing Two Java Integer Objects Sometimes Return True?

This article explains why using the == operator on two Java Integer objects can yield true for values between -128 and 127 but false for larger numbers, detailing the Integer cache mechanism, reference vs value comparison, and the proper use of equals for value equality.

Object Comparisonequals methodinteger
0 likes · 6 min read
Why Does Comparing Two Java Integer Objects Sometimes Return True?
Architect
Architect
Dec 19, 2023 · Backend Development

How Graceful Response Simplifies Spring Boot API Error Handling

This article analyzes the inefficiencies and duplication in typical Spring Boot controller code, introduces the Graceful Response library, and provides step‑by‑step instructions—including Maven integration, annotation setup, controller and service examples, exception mapping, validation handling, and response style configuration—to achieve cleaner, unified API responses.

Exception ManagementResponse HandlingSpring Boot
0 likes · 12 min read
How Graceful Response Simplifies Spring Boot API Error Handling
Selected Java Interview Questions
Selected Java Interview Questions
Dec 19, 2023 · Backend Development

Dynamic Change of Cron Expression in SpringBoot Scheduling

This article explains how to dynamically modify Cron expressions for scheduled tasks in a SpringBoot application by using @EnableScheduling, @Scheduled, custom interfaces, and a refresh mechanism that registers, updates, or disables tasks at runtime without additional middleware.

BackendSchedulingSpringBoot
0 likes · 11 min read
Dynamic Change of Cron Expression in SpringBoot Scheduling
macrozheng
macrozheng
Dec 19, 2023 · Backend Development

How to Design a Scalable Permission System for SpringBoot E‑Commerce

This article walks through the complete design and implementation of a permission module for the Mall e‑commerce project, covering functional design, database schema, API specifications, and key technical choices such as Spring Security, JWT, and Redis‑based AOP optimization.

Database designMicroservicesPermission System
0 likes · 7 min read
How to Design a Scalable Permission System for SpringBoot E‑Commerce
Java Captain
Java Captain
Dec 19, 2023 · Backend Development

Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin

This guide explains how to protect Spring Boot production packages from reverse engineering by applying code obfuscation with ProGuard and full encryption using the ClassFinal Maven plugin, including configuration steps, encrypted startup commands, machine‑binding activation, and the resulting decompilation behavior.

ClassFinalSpring Bootcode obfuscation
0 likes · 6 min read
Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin
Java Captain
Java Captain
Dec 19, 2023 · Fundamentals

An Introduction to Java Multithreading: Basics, Techniques, and Applications

This article introduces Java multithreading, covering core concepts such as thread lifecycle, creation via Thread subclass and Runnable, synchronization mechanisms, thread pools, and practical applications in web, Android, game, and big data development, helping readers fully grasp multithreaded programming in Java.

SynchronizationThreadPoolconcurrency
0 likes · 4 min read
An Introduction to Java Multithreading: Basics, Techniques, and Applications
Code Ape Tech Column
Code Ape Tech Column
Dec 19, 2023 · Information Security

Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms

This article explains the concept, advantages, and three implementation methods of Single Sign-On (SSO), then provides two complete practical examples—including architecture diagrams, step‑by‑step flows, and full Java code for ticket‑based and encrypted data‑based SSO—followed by supplementary RSA key generation notes and a brief promotional note.

AuthenticationBackendRSA
0 likes · 18 min read
Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms
FunTester
FunTester
Dec 19, 2023 · Backend Development

How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade

After upgrading to IntelliJ 2023.3 for better JDK 21 virtual‑thread support, users encounter a Groovyc ClassNotFoundError caused by missing IntelliJ internal classes, and the article outlines the affected builds and three practical work‑arounds, including a JVM option to run Groovyc in‑process.

Build ProcessGroovyIntelliJ
0 likes · 4 min read
How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade
Architect
Architect
Dec 18, 2023 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource

This article demonstrates how to build a custom dynamic data‑source solution for Spring Boot by using ThreadLocal to store the current datasource key, extending AbstractRoutingDataSource for routing, configuring multiple datasources in application.yml, and optionally adding annotation‑driven switching and runtime datasource registration.

DynamicDataSourceMyBatisPlusThreadLocal
0 likes · 15 min read
Implementing Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource
Selected Java Interview Questions
Selected Java Interview Questions
Dec 18, 2023 · Backend Development

Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains the concept of idempotency, presents several strategies to achieve it, and provides a complete Spring Boot implementation using Redis, a custom @AutoIdempotent annotation, token generation and verification, interceptor configuration, and test cases to ensure only the first request succeeds.

BackendIdempotencyInterceptor
0 likes · 10 min read
Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations
Architecture Digest
Architecture Digest
Dec 18, 2023 · Backend Development

Design Patterns Used in the MyBatis Framework

This article examines the various design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—employed within the MyBatis source code, explaining their structures, usage scenarios, and related components to illustrate how the framework achieves modularity and flexibility.

MyBatisORMbackend-development
0 likes · 9 min read
Design Patterns Used in the MyBatis Framework
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 18, 2023 · Backend Development

Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload

This article explains how to retrieve and handle various Spring Boot API parameters—including query, path, request body, header, and file uploads—covers parameter type handling such as dates and lists, demonstrates validation annotations, and provides complete code examples for each scenario.

API parametersSpring Bootbackend-development
0 likes · 11 min read
Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload
FunTester
FunTester
Dec 17, 2023 · Fundamentals

Understanding Java Generics: Concepts, Benefits, and Practical Examples

This article explains Java generics, covering type parameters, generic classes and interfaces, bounded types, wildcards, and generic methods, while highlighting benefits such as type safety, code reuse, readability, and performance, and provides multiple code examples demonstrating generic usage across different data types.

GenericsType Safetycode-reuse
0 likes · 15 min read
Understanding Java Generics: Concepts, Benefits, and Practical Examples
Architect
Architect
Dec 16, 2023 · Databases

Detailed Walkthrough of Druid Connection Pool Lifecycle and Configuration

This article provides an in‑depth analysis of Druid's connection‑pool lifecycle, covering initialization, connection acquisition, validation, eviction, keep‑alive, and recycling processes, while offering performance‑related configuration recommendations and code examples for Java developers.

Connection PoolDruidThread Management
0 likes · 24 min read
Detailed Walkthrough of Druid Connection Pool Lifecycle and Configuration
Architecture Digest
Architecture Digest
Dec 15, 2023 · Operations

Diagnosing High CPU and Frequent GC in a Java Container: A Step‑by‑Step Analysis

When a production container suddenly hit over 90% CPU and excessive JVM garbage collection, the author walks through entering the pod, using top and top‑H to locate the offending thread, extracting its stack with jstack, downloading the data via a simple HTTP server, and ultimately discovering an Excel export routine that caused massive object allocation, fixing the code and restoring stability.

CPUJVMKubernetes
0 likes · 6 min read
Diagnosing High CPU and Frequent GC in a Java Container: A Step‑by‑Step Analysis
macrozheng
macrozheng
Dec 15, 2023 · Backend Development

How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java

This article explains the core concepts, architecture, and implementation details of the lightweight distributed scheduling platform Xxl-Job, including its scheduler center, executor, job handlers, registration, task triggering, routing strategies, execution flow, and result callbacks, with a step‑by‑step demo and code examples.

BackendDistributed SchedulingSpringBoot
0 likes · 21 min read
How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java
Programmer DD
Programmer DD
Dec 15, 2023 · Backend Development

12 Counterproductive Coding Practices That Kill Readability

The article enumerates twelve common defensive coding habits—like per‑table microservices, overly long methods, deep nesting, misleading comments, and unnecessary frameworks—that degrade readability and increase maintenance effort, illustrating each with a fictional programmer’s missteps and their impact on teams.

code qualityjavarefactoring
0 likes · 11 min read
12 Counterproductive Coding Practices That Kill Readability
Su San Talks Tech
Su San Talks Tech
Dec 15, 2023 · Backend Development

Boost Java Development with Hutool: Essential Modules and Practical Examples

This article introduces the Hutool Java utility library, outlines its core modules, shows how to integrate it via Maven, and provides practical code examples for HTTP requests, random code generation, pinyin conversion, timing, number handling, data masking, email sending, and Bloom filter usage.

Code ExamplesHTTPUtility Library
0 likes · 12 min read
Boost Java Development with Hutool: Essential Modules and Practical Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 15, 2023 · Backend Development

How Spring Cloud Dynamically Refreshes @ConfigurationProperties Beans

This article explains how Spring Cloud discovers classes annotated with @ConfigurationProperties, wraps them into ConfigurationPropertiesBean objects, and dynamically rebinds them at runtime using RefreshScope, EnvironmentChangeEvent, and the RefreshEndpoint actuator, enhancing application flexibility and scalability.

@RefreshScopeConfigurationPropertiesDynamic Refresh
0 likes · 9 min read
How Spring Cloud Dynamically Refreshes @ConfigurationProperties Beans
21CTO
21CTO
Dec 14, 2023 · Databases

Why esProc SPL Beats SQLite for Lightweight Data Processing

esProc SPL, a pure‑Java, lightweight data‑processing engine, offers richer data source support, built‑in flow control, and easier complex calculations compared to SQLite, making it a powerful alternative for small applications that need database‑like capabilities without the overhead of traditional databases.

SPLSQLitedata-processing
0 likes · 7 min read
Why esProc SPL Beats SQLite for Lightweight Data Processing
macrozheng
macrozheng
Dec 14, 2023 · Backend Development

How Graceful Response Simplifies Spring Boot API Development

Graceful Response is a Spring Boot library that provides unified response wrapping, global exception handling, and customizable error codes, reducing boilerplate code, improving readability, and streamlining validation for Java web APIs.

APIGraceful ResponseResponse wrapper
0 likes · 11 min read
How Graceful Response Simplifies Spring Boot API Development
Java High-Performance Architecture
Java High-Performance Architecture
Dec 14, 2023 · Backend Development

Master Dynamic Data Source Switching with ThreadLocal in SpringBoot

This guide explains how to implement dynamic data source switching in SpringBoot by leveraging ThreadLocal and AbstractRoutingDataSource, covering basic concepts, code examples for context holder, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources with practical testing steps.

Dynamic Data SourceSpringBootThreadLocal
0 likes · 18 min read
Master Dynamic Data Source Switching with ThreadLocal in SpringBoot
JD Cloud Developers
JD Cloud Developers
Dec 13, 2023 · Backend Development

Resolving Unexpected 2‑Second Young GC Pauses in Java Rule Engine

A Java rule‑engine experiences occasional 1‑2 second Young GC pauses after warm‑up, caused by dynamic promotion thresholds that trigger massive object promotion, and the article explains the root cause, demonstrates log analysis, and provides JVM tuning steps to eliminate the long pauses.

Garbage CollectionJVMYoung Generation
0 likes · 15 min read
Resolving Unexpected 2‑Second Young GC Pauses in Java Rule Engine
Architect's Tech Stack
Architect's Tech Stack
Dec 13, 2023 · Databases

MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight and high‑performance MyBatis enhancement framework, outlines its key features, compares it with similar tools, presents benchmark results, lists supported databases, and provides a step‑by‑step quick‑start tutorial with complete code examples for Spring Boot integration.

MyBatis-FlexORMTutorial
0 likes · 11 min read
MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide
FunTester
FunTester
Dec 12, 2023 · Backend Development

Understanding ResultSet Resource Release and Statement Concurrency in MySQL JDBC

This article examines how MySQL's JDBC driver manages ResultSet resource release, the internal close mechanisms, and the concurrency limitations of Statement objects, illustrated with code excerpts and a Groovy virtual‑thread demo that reveals runtime exceptions when ResultSets are accessed after implicit closure.

JDBCResultSetStatement
0 likes · 8 min read
Understanding ResultSet Resource Release and Statement Concurrency in MySQL JDBC
JD Cloud Developers
JD Cloud Developers
Dec 12, 2023 · Backend Development

Why @ResponseBody Fails When Writing Directly to the Output Stream in Spring

This article analyzes a Spring MVC issue where a batch template download failed due to missing configuration, explores how @ResponseBody interacts with manual stream writes, presents code examples, debugging insights, and offers best‑practice recommendations for reliable file‑download endpoints.

FileDownloadResponseBodyjava
0 likes · 5 min read
Why @ResponseBody Fails When Writing Directly to the Output Stream in Spring
Selected Java Interview Questions
Selected Java Interview Questions
Dec 12, 2023 · Backend Development

Spring Boot Integration with Spring Batch: A Complete Tutorial and Example

This article provides a step‑by‑step guide on integrating Spring Batch with Spring Boot, covering business scenarios, database setup, Maven dependencies, configuration of JobRepository, JobLauncher, Job, Step, ItemReader, ItemProcessor, ItemWriter, listeners, validators, execution via REST endpoints, troubleshooting with Druid and switching to HikariCP, and demonstrates processing CSV and database data in large batches.

Batch ProcessingMyBatisSpring Batch
0 likes · 19 min read
Spring Boot Integration with Spring Batch: A Complete Tutorial and Example
macrozheng
macrozheng
Dec 12, 2023 · Backend Development

Mastering Retry Strategies in Java: 8 Proven Methods for Reliable API Calls

This article explains why retry mechanisms are essential for distributed Java applications and walks through eight practical implementations—including loop, recursion, Apache HttpClient, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based retries—plus best‑practice guidelines to avoid common pitfalls.

HttpClientRetryconcurrency
0 likes · 17 min read
Mastering Retry Strategies in Java: 8 Proven Methods for Reliable API Calls
macrozheng
macrozheng
Dec 12, 2023 · Backend Development

RediSearch vs Elasticsearch: Cheap Setup, Performance Benchmarks, Java Guide

RediSearch, a low‑memory Redis module, offers comparable full‑text search capabilities to Elasticsearch, with faster indexing and query performance on modest hardware; this article explains its features, compares benchmarks, shows Docker installation, and provides Java/Jedis code examples for creating, querying, and managing indexes.

DockerElasticsearchFull‑Text Search
0 likes · 11 min read
RediSearch vs Elasticsearch: Cheap Setup, Performance Benchmarks, Java Guide
Qunar Tech Salon
Qunar Tech Salon
Dec 12, 2023 · Backend Development

System Slimming at Qunar Travel: Reducing Code and Service Footprint by 50% Using Observability and Automation

This article presents Qunar Travel's "system slimming" project, describing how observability techniques, a two‑stage strategy, and automated tooling were used to identify and remove unused services and code, achieving a 50% reduction in code size, a 26% cut in services, and measurable improvements in reliability and release efficiency.

Microservicesbackend optimizationcode reduction
0 likes · 20 min read
System Slimming at Qunar Travel: Reducing Code and Service Footprint by 50% Using Observability and Automation
Architect's Guide
Architect's Guide
Dec 12, 2023 · Backend Development

Understanding Kafka Consumer: Delivery Guarantees, Rebalance Mechanisms, Partition Assignment, and Thread Safety

This article provides a comprehensive guide to KafkaConsumer, covering message delivery semantics (at‑most‑once, at‑least‑once, exactly‑once), practical exactly‑once implementations, consumer rebalance triggers and strategies, partition assignment algorithms, thread‑safety considerations, and detailed Java code examples of the consumer workflow.

ConsumerKafkaMessage Delivery
0 likes · 14 min read
Understanding Kafka Consumer: Delivery Guarantees, Rebalance Mechanisms, Partition Assignment, and Thread Safety
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 12, 2023 · Backend Development

Master Advanced Spring Cloud Function Techniques in Spring Boot

This tutorial walks through advanced Spring Cloud Function features—including handling HTTP request parameters, function mapping and filtering rules, functional bean definitions, visualization via Actuator, and package scanning—providing code examples and configuration tips for Spring Boot 2.7.15 projects.

MicroservicesSpring BootSpring Cloud Function
0 likes · 8 min read
Master Advanced Spring Cloud Function Techniques in Spring Boot
DevOps Cloud Academy
DevOps Cloud Academy
Dec 11, 2023 · Operations

Managing Java Process Memory in Kubernetes Pods to Prevent OOMKilled

This article explains why Java processes in Kubernetes pods often encounter OOMKilled despite correct JVM heap settings, analyzes the discrepancy between JVM‑reported memory and container metrics, and provides practical steps such as adjusting MaxRAMPercentage and pod memory limits to stabilize memory usage.

JVMKubernetesMemory Management
0 likes · 9 min read
Managing Java Process Memory in Kubernetes Pods to Prevent OOMKilled
Architect
Architect
Dec 11, 2023 · Backend Development

How to Integrate Dataway into a Spring Boot Project – A Step‑by‑Step Guide

This article walks through the complete process of adding Dataway to a Spring Boot application, covering Maven dependencies, configuration properties, database schema creation, data source setup, Hasor module integration, enabling Hasor in Spring, and finally creating and testing API endpoints using both SQL and DataQL, all illustrated with concrete code snippets and log output.

API ConfigurationDataQLDataway
0 likes · 16 min read
How to Integrate Dataway into a Spring Boot Project – A Step‑by‑Step Guide
DaTaobao Tech
DaTaobao Tech
Dec 11, 2023 · Big Data

Design and Implementation of an Online Batch Processing Framework for Large-Scale Promotion Systems

The paper presents a centralized online batch‑processing framework for large‑scale promotion systems, where applications integrate via an SDK, a task‑center schedules and dispatches sub‑tasks through RocketMQ to Dubbo‑enabled containers, employing MapReduce‑style splitting, Guava rate‑limiting, heartbeat health checks, and has successfully handled over 1.3 million tasks during Double‑11.

Batch ProcessingBig DataDistributed Scheduling
0 likes · 9 min read
Design and Implementation of an Online Batch Processing Framework for Large-Scale Promotion Systems
Code Ape Tech Column
Code Ape Tech Column
Dec 11, 2023 · Information Security

Design and Implementation of a Lightweight Maven Jar Encryption and Agent‑Based Decryption Solution for Java IP Protection

This article examines common Java jar obfuscation tools, identifies their limitations for protecting both proprietary code and third‑party dependencies, and proposes a lightweight Maven‑based encryption combined with a runtime agent that decrypts classes on demand while keeping performance impact under five percent.

AgentBackend SecurityIP Protection
0 likes · 9 min read
Design and Implementation of a Lightweight Maven Jar Encryption and Agent‑Based Decryption Solution for Java IP Protection
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 11, 2023 · Backend Development

Configuring Multiple Data Sources in Spring Boot with MyBatis

This article explains the underlying principles and step‑by‑step configuration for integrating Spring Boot with MyBatis to manage multiple data sources, covering BeanFactory, FactoryBean, SqlSessionFactoryBean setup, datasource properties, mapper scanning, and sample controller code for accessing distinct databases.

BackendMulti-DataSourceMyBatis
0 likes · 8 min read
Configuring Multiple Data Sources in Spring Boot with MyBatis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 11, 2023 · Backend Development

Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient

Spring 6 offers four powerful ways to perform remote HTTP calls—WebClient, RestTemplate, HTTP Interface, and RestClient—each with distinct APIs, configuration options, and usage patterns, and this guide walks through their setup, method signatures, request handling, and error management for Java developers.

HTTP InterfaceRestClientjava
0 likes · 12 min read
Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient
IT Xianyu
IT Xianyu
Dec 10, 2023 · Backend Development

Caffeine Cache: Introduction, Core Concepts, and Spring Boot Integration

This article provides a comprehensive overview of the Caffeine local cache library, covering its fundamentals, configuration options, loading strategies, eviction policies, statistics, and detailed steps for integrating Caffeine with Spring Boot using annotations and custom cache managers.

CacheCaffeineSpringBoot
0 likes · 17 min read
Caffeine Cache: Introduction, Core Concepts, and Spring Boot Integration
JavaEdge
JavaEdge
Dec 10, 2023 · Backend Development

How to Size Java Thread Pools for Optimal Performance

This guide explains why thread pools are essential in Java, walks through factors such as CPU cores, I/O latency, and workload characteristics, and provides formulas and concrete code examples for calculating the ideal pool size for both CPU‑bound and I/O‑bound tasks.

CPU BoundI/O Boundjava
0 likes · 14 min read
How to Size Java Thread Pools for Optimal Performance
Senior Brother's Insights
Senior Brother's Insights
Dec 10, 2023 · Backend Development

Why a Veteran Java Developer Chose Rust: Performance, Concurrency, and Ecosystem

A seasoned Java engineer shares his journey transitioning to Rust, highlighting Rust’s advantages for CLI tools, superior resource utilization, easier concurrency and async programming, while also acknowledging Java’s strengths in rapid feature delivery, mature ecosystem, and ease of learning, and discussing practical migration considerations.

Rustjavaperformance
0 likes · 10 min read
Why a Veteran Java Developer Chose Rust: Performance, Concurrency, and Ecosystem
Java Architect Essentials
Java Architect Essentials
Dec 10, 2023 · Fundamentals

Common For‑Loop Optimizations in Java

This article presents more than ten practical techniques for writing faster, cleaner Java for‑loops, covering basic size caching, reverse iteration, iterator usage, enhanced for‑loops, nested loop reduction, exception handling placement, and method‑call minimization to improve overall program performance.

coding best practicesfor loopiteration
0 likes · 8 min read
Common For‑Loop Optimizations in Java
Code Ape Tech Column
Code Ape Tech Column
Dec 9, 2023 · Backend Development

PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples

This article introduces the PowerJob distributed task framework, explains why it was chosen, details its architecture and high‑availability design, demonstrates various job types—including standalone, broadcast, map, and map‑reduce—with Java code examples, and covers scheduling options such as CRON, fixed‑rate, and fixed‑delay execution.

BackendDistributed SchedulingMapReduce
0 likes · 14 min read
PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples
Java High-Performance Architecture
Java High-Performance Architecture
Dec 9, 2023 · Backend Development

Simplify Spring Boot API Development with Graceful Response

Graceful Response is a Spring Boot component that unifies response wrapping, global exception handling, and custom error codes, helping developers reduce boilerplate, improve readability, and accelerate API development while supporting validation and customizable response styles.

APIException HandlingGraceful Response
0 likes · 12 min read
Simplify Spring Boot API Development with Graceful Response
Bitu Technology
Bitu Technology
Dec 8, 2023 · Backend Development

Why Every Java Developer Should Learn Scala – Key Advantages and Insights from the Scala Meetup

The article reviews a Scala meetup where experts compare Java and Scala, highlighting Scala's stronger expressiveness, type inference, pattern matching, safety, and concurrency features, and discusses real‑world adoption, developer experiences, and a recruitment opportunity for a Scala‑focused big‑data team.

Big DataScalaType Inference
0 likes · 13 min read
Why Every Java Developer Should Learn Scala – Key Advantages and Insights from the Scala Meetup
DaTaobao Tech
DaTaobao Tech
Dec 8, 2023 · Backend Development

ZSTD Compression and GC Optimization in Java Netty Backend

Switching a Java Netty gateway from GZIP to ZSTD compression using zstd‑jni doubled GC time and introduced heap and Netty off‑heap memory leaks, which were resolved by employing the library’s direct off‑heap API with a NoFinalizer compressor, promptly releasing ByteBufs, avoiding finalize(), and adopting jemalloc to reduce fragmentation.

MemoryLeakNettygc
0 likes · 19 min read
ZSTD Compression and GC Optimization in Java Netty Backend
Java Architect Essentials
Java Architect Essentials
Dec 7, 2023 · Backend Development

Essential IntelliJ IDEA Tips and Shortcuts for Java Developers

This article compiles a comprehensive list of IntelliJ IDEA shortcuts, configuration tweaks, and useful plugins—including history navigation, memory settings, Eclipse keymap, code inspection, bookmark management, Maven helpers, and multi‑port debugging—to boost Java developers' productivity and streamline their workflow.

IDE shortcutsIntelliJ IDEAPlugins
0 likes · 12 min read
Essential IntelliJ IDEA Tips and Shortcuts for Java Developers
JavaEdge
JavaEdge
Dec 7, 2023 · Backend Development

Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It

Java’s traditional synchronous blocking model wastes thread resources during I/O, leading to scalability limits, while asynchronous, reactive, and especially Java 21’s virtual threads offer non‑blocking execution paths that improve performance and simplify development without complex reactive pipelines.

AsyncVirtual Threadsjava
0 likes · 11 min read
Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 7, 2023 · Backend Development

In-Depth Analysis of XXL‑RPC Framework: Design, Implementation, and Source Code Walkthrough

This article provides a comprehensive overview of the lightweight XXL‑RPC framework, covering fundamental RPC concepts, the framework's architecture built on Spring and Netty, detailed provider and consumer implementations, various call types, and the service registry‑discovery mechanism, concluding with practical insights for developers.

Distributed SystemsMicroservicesNetty
0 likes · 17 min read
In-Depth Analysis of XXL‑RPC Framework: Design, Implementation, and Source Code Walkthrough
Java High-Performance Architecture
Java High-Performance Architecture
Dec 7, 2023 · Backend Development

Master Distributed Locks in Java with Lock4j: Features, Setup, and Advanced Usage

This article introduces the Lock4j distributed lock library for Java, outlines its key features and supported backends, provides step‑by‑step Maven dependency setup, Redis configuration, annotation details, and demonstrates both basic and advanced usage patterns including custom executors and lock‑failure strategies.

Lock4jdistributed-lockjava
0 likes · 6 min read
Master Distributed Locks in Java with Lock4j: Features, Setup, and Advanced Usage
21CTO
21CTO
Dec 6, 2023 · Backend Development

Master Java Development in VS Code: Step‑by‑Step Guide for 2024

Microsoft reports over 2.5 million Java developers using VS Code and outlines a new roadmap, while this guide walks you through installing the JDK, adding the Java extension pack, and creating Java projects in VS Code with troubleshooting tips.

Development EnvironmentTutorialVS Code
0 likes · 4 min read
Master Java Development in VS Code: Step‑by‑Step Guide for 2024
FunTester
FunTester
Dec 6, 2023 · Backend Development

Groovy Script setLength Error with StringBuilder and How to Work Around It

The article describes a Groovy scripting issue where calling StringBuilder.setLength(0) triggers a NoSuchMethodError, explains Groovy's automatic property generation, demonstrates debugging steps, metaprogramming attempts, and the final workaround that resolves the error.

Groovydebuggingjava
0 likes · 6 min read
Groovy Script setLength Error with StringBuilder and How to Work Around It
dbaplus Community
dbaplus Community
Dec 5, 2023 · Backend Development

Taming Chaotic Logs: Practical Governance and Stack Trace Optimization

Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.

BackendLog Managementjava
0 likes · 16 min read
Taming Chaotic Logs: Practical Governance and Stack Trace Optimization
Top Architect
Top Architect
Dec 5, 2023 · Backend Development

Unified Exception Handling and Assertion Practices in Spring Boot Backend Development

This article explains how to implement unified exception handling in Spring Boot applications using @ControllerAdvice, custom Assert utilities, and enum-based error codes, demonstrating code examples, response structures, and best practices for reducing try-catch clutter, improving readability, and handling various HTTP and business exceptions consistently.

AssertException HandlingSpring Boot
0 likes · 24 min read
Unified Exception Handling and Assertion Practices in Spring Boot Backend Development