Tagged articles
5000 articles
Page 25 of 50
Code Ape Tech Column
Code Ape Tech Column
Feb 14, 2025 · Artificial Intelligence

Integrating DeepSeek Large Model with Spring AI: A Step‑by‑Step Guide

This article explains how to integrate DeepSeek's large language models—both the chat‑oriented deepseek‑chat and the reasoning‑focused deepseek‑reasoner—into a Spring AI application, covering API key setup, base‑URL configuration, model selection, and providing full code examples for dependency, configuration, and a simple chat controller.

AIChatbotDeepSeek
0 likes · 6 min read
Integrating DeepSeek Large Model with Spring AI: A Step‑by‑Step Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Feb 14, 2025 · Backend Development

How to Generate PDF Files in Java: A Complete Step‑by‑Step Tutorial

This guide walks through the need for PDF generation in business scenarios, introduces the iText library (both iText5 and iText7), shows how to add Maven dependencies, provides a minimal “Hello World” PDF example, then details converting HTML (with CSS, images, and Freemarker variables) into PDF, and discusses when custom adaptation is required.

FreemarkerHTML to PDFPDF
0 likes · 13 min read
How to Generate PDF Files in Java: A Complete Step‑by‑Step Tutorial
FunTester
FunTester
Feb 14, 2025 · Fundamentals

Design and Implementation of a Multithreaded Task Class in Java for Performance Testing

This article explains the design and implementation of a flexible, extensible Java multithreaded task class for performance testing, covering the choice of Runnable over Thread, execution control mechanisms, data collection methods, and sample abstract code illustrating before, test, and after lifecycle hooks.

Abstract ClassAtomicBooleanPerformance Testing
0 likes · 10 min read
Design and Implementation of a Multithreaded Task Class in Java for Performance Testing
Python Programming Learning Circle
Python Programming Learning Circle
Feb 13, 2025 · Artificial Intelligence

Will Java Overtake Python in AI Development? Insights and Predictions

The article examines Python's recent dominance in AI, cites industry rankings and surveys, presents Simon Ritter's claim that 2025 may be Python's last peak year, and explores whether Java's performance projects and enterprise strengths could soon make it the leading language for AI development.

Artificial IntelligenceEnterprise AIPerformance
0 likes · 8 min read
Will Java Overtake Python in AI Development? Insights and Predictions
Java Tech Enthusiast
Java Tech Enthusiast
Feb 13, 2025 · Backend Development

Facade Design Pattern with Spring Boot Example

The article explains the Facade design pattern and demonstrates its use in a Spring Boot travel‑booking application, where a BookingFacade aggregates FlightService, HotelService, and PackageService to provide a single bookTravel method that a REST controller calls, simplifying the API and reducing coupling.

Design PatternsFacade PatternSoftware Architecture
0 likes · 12 min read
Facade Design Pattern with Spring Boot Example
Java Captain
Java Captain
Feb 13, 2025 · Artificial Intelligence

Integrating DeepSeek AI Assistant into IntelliJ IDEA: A Step‑by‑Step Guide

This tutorial explains how to prepare the environment, install the CodeGPT plugin, configure DeepSeek API keys and model settings in IntelliJ IDEA, and use the AI assistant for code generation, completion, explanation, and troubleshooting, while also showing usage statistics and a complete Java example.

AI code assistantCodeGPTDeepSeek
0 likes · 7 min read
Integrating DeepSeek AI Assistant into IntelliJ IDEA: A Step‑by‑Step Guide
Architect's Guide
Architect's Guide
Feb 13, 2025 · Backend Development

Analyzing and Cleaning Maven Dependencies with the Maven Dependency Plugin

This article explains why and how to use Maven's dependency:analyze command in IntelliJ IDEA to identify used undeclared and unused declared dependencies, offering practical steps, risk considerations, and tips for maintaining clean Java backend projects.

IntelliJ IDEAbackend-developmentdependency management
0 likes · 7 min read
Analyzing and Cleaning Maven Dependencies with the Maven Dependency Plugin
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 13, 2025 · Backend Development

Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More

This article presents a continuously updated collection of over 90 practical Spring Boot 3 examples, covering request/response access, ThreadLocal handling, async interceptors, request metadata extraction, custom type converters, 404 error handling, and related source code to help developers build robust backend services.

Error HandlingRequest HandlingType Converter
0 likes · 10 min read
Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More
Alibaba Cloud Native
Alibaba Cloud Native
Feb 12, 2025 · Artificial Intelligence

Boost AI Agents with Spring AI Alibaba: 20+ RAG Sources & Tool‑Calling Integrations

This article explains how Spring AI Alibaba enables AI agents to leverage Retrieval‑Augmented Generation and Tool Calling by providing over twenty ready‑made RAG data source connectors and more than twenty function‑calling interfaces, along with practical code examples for integrating document readers and weather services.

Document ReaderFunction CallingRAG
0 likes · 12 min read
Boost AI Agents with Spring AI Alibaba: 20+ RAG Sources & Tool‑Calling Integrations
Selected Java Interview Questions
Selected Java Interview Questions
Feb 12, 2025 · Backend Development

Comparison and Selection Guide for Open‑Source Workflow Engines: Flowable vs Camunda and Others

This article reviews major open‑source Java workflow engines—including Osworkflow, JBPM, Activiti, Flowable, and Camunda—examines their features, version histories, and suitability, then provides a detailed functional and performance comparison between Flowable and Camunda, concluding with a recommendation to adopt Camunda with bpmn‑js for enterprise projects.

BPMCamundaFlowable
0 likes · 13 min read
Comparison and Selection Guide for Open‑Source Workflow Engines: Flowable vs Camunda and Others
Architect's Guide
Architect's Guide
Feb 12, 2025 · Databases

Analyzing MySQL Database Connection Latency in Java Applications

This article investigates the time cost of establishing and closing a MySQL connection from a Java web application, using Wireshark packet captures and simple code examples to quantify latency and illustrate why connection pooling is essential for high‑traffic services.

Connection PoolingDatabase ConnectionMySQL
0 likes · 7 min read
Analyzing MySQL Database Connection Latency in Java Applications
FunTester
FunTester
Feb 12, 2025 · Backend Development

Mastering Thread Coordination: Waiters, Rendezvous, Joiners in Java

The article explains the Helper class’s built‑in thread coordination operations—including Waiters, Rendezvous, Joiners, and execution‑aborting methods—detailing their APIs, usage scenarios, parameters, and behavior such as signaling, timeouts, rejoinable points, and how they differ from standard Java synchronization primitives.

Helper APISynchronizationThread Coordination
0 likes · 12 min read
Mastering Thread Coordination: Waiters, Rendezvous, Joiners in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 12, 2025 · Backend Development

Master Spring Boot 3 Conditional Annotations with Real‑World Examples

This article introduces a continuously updated Spring Boot 3 case collection and PDF e‑book, then dives into the @Conditional annotation, custom condition interfaces, parameterized enhancements, SpringBootCondition usage, and multi‑condition combinations, providing complete code examples and test results.

ConditionalCustom Annotationjava
0 likes · 9 min read
Master Spring Boot 3 Conditional Annotations with Real‑World Examples
Architecture Digest
Architecture Digest
Feb 11, 2025 · Backend Development

Outdated Java Backend Technologies You Can Stop Learning

The article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—explaining why they are now considered obsolete or low‑priority and recommending modern alternatives such as Spring MVC, MyBatis, and deep Servlet knowledge for current development.

HibernateJSPServlet
0 likes · 9 min read
Outdated Java Backend Technologies You Can Stop Learning
Top Architect
Top Architect
Feb 11, 2025 · Backend Development

Avoiding the Pitfalls of Java Stream and Lambda: Best Practices and Optimizations

The article examines how Java Stream and Lambda, while powerful for concise code, can become cumbersome when overused, and offers practical tips such as proper line breaks, function extraction, predicate reuse, cautious Optional handling, and mindful use of parallel streams to maintain readability and performance.

BestPracticesCodeOptimizationLambda
0 likes · 11 min read
Avoiding the Pitfalls of Java Stream and Lambda: Best Practices and Optimizations
Java Tech Enthusiast
Java Tech Enthusiast
Feb 11, 2025 · Backend Development

Using Enums for Configuration Management in Spring Boot

The article shows how to replace hard‑coded strings in Spring Boot configuration files with type‑safe Java enums, using @ConfigurationProperties to bind YAML values to enum fields, thereby improving readability, maintainability, and eliminating magic numbers, illustrated through a user‑role example with controller and Thymeleaf view.

ConfigurationPropertiesThymeleafenum
0 likes · 12 min read
Using Enums for Configuration Management in Spring Boot
Java Web Project
Java Web Project
Feb 11, 2025 · Information Security

How to Use Apache Tika in Spring Boot for Automatic Sensitive Data Detection

This article explains Apache Tika’s core features and architecture, outlines common use‑cases, and provides a step‑by‑step Spring Boot tutorial—including Maven/Gradle setup, a service that extracts text with Tika, regex‑based sensitive‑info detection, a REST controller, optional front‑end, testing instructions, expected output, and extension ideas.

Apache TikaContent ExtractionInformation Security
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Automatic Sensitive Data Detection
FunTester
FunTester
Feb 11, 2025 · Fundamentals

Reconsidering Java Serialization: Challenges and Modern Alternatives

Java serialization, while convenient for object persistence, suffers from security vulnerabilities, versioning issues, performance constraints, and difficulties handling complex object graphs, prompting developers to evaluate alternatives such as JSON, Protocol Buffers, and Apache Avro, each offering distinct trade‑offs in readability, efficiency, and safety.

Apache AvroJSONPerformance
0 likes · 9 min read
Reconsidering Java Serialization: Challenges and Modern Alternatives
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Feb 10, 2025 · Artificial Intelligence

How to Seamlessly Integrate DeepSeek AI API into Your Java Projects

Learn step-by-step how Java developers can obtain a DeepSeek API key, understand the chat and reasoning models, and implement them with Apache HttpClient, covering code examples, key parameters, best practices, and real-world use cases such as smart customer service, education tools, and code generation assistants.

AI APIApache HttpClientChatbot
0 likes · 11 min read
How to Seamlessly Integrate DeepSeek AI API into Your Java Projects
Top Architect
Top Architect
Feb 10, 2025 · Backend Development

Encapsulating EasyExcel in Spring Boot for Simplified Import and Export

This article demonstrates how to wrap EasyExcel within a Spring Boot + MyBatis‑Plus project, providing step‑by‑step guidance on environment preparation, component design, usage examples, full source code, and solutions to common issues such as template export, date conversion, and POI version compatibility.

ExcelImportExporteasyexceljava
0 likes · 17 min read
Encapsulating EasyExcel in Spring Boot for Simplified Import and Export
Su San Talks Tech
Su San Talks Tech
Feb 10, 2025 · Backend Development

How to Sync MySQL Data to Solr in Real-Time Using Canal

This guide explains why real‑time data synchronization between MySQL and services like Redis, Memcached, Solr, or Elasticsearch is essential in modern micro‑service architectures, and demonstrates four synchronization methods—inline code, scheduled tasks, message queues, and Canal—complete with setup, configuration, and Java code examples.

CanalMySQLSolr
0 likes · 31 min read
How to Sync MySQL Data to Solr in Real-Time Using Canal
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 10, 2025 · Backend Development

Master Java Asynchronous Programming: 7 Powerful Techniques with Code Samples

This article explains why asynchronous programming boosts Java application performance and walks through seven practical methods—Thread, FutureTask, CompletableFuture, Guava ListenableFuture, EA‑Async, Cactoos, and Jcabi‑Aspects—each illustrated with complete, runnable code examples.

CompletableFutureThreadasynchronous programming
0 likes · 14 min read
Master Java Asynchronous Programming: 7 Powerful Techniques with Code Samples
Architecture Digest
Architecture Digest
Feb 9, 2025 · Artificial Intelligence

Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development

This tutorial explains how to prepare the environment, install the CodeGPT plugin, configure DeepSeek with an API key, set up chat and inference models in IntelliJ IDEA, and use the AI assistant for code generation, completion, explanation, and token usage monitoring, all illustrated with Java examples.

AI AssistantCodeGPTDeepSeek
0 likes · 8 min read
Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development
21CTO
21CTO
Feb 8, 2025 · Artificial Intelligence

Can Java Overtake Python in AI? Insights from the 2025 Azul Report

A recent Azul Systems study suggests that Java may surpass Python in enterprise AI development within the next 18‑36 months, highlighting Java's scalability, performance, and emerging GPU projects while acknowledging cultural and tooling advantages that still favor Python.

AIDevOpsEnterprise
0 likes · 9 min read
Can Java Overtake Python in AI? Insights from the 2025 Azul Report
Java Tech Enthusiast
Java Tech Enthusiast
Feb 8, 2025 · Backend Development

Managing Maven Dependencies in Java Projects

The article explains how to manage Maven dependencies in Java projects by using the mvn dependency:analyze command in IntelliJ IDEA to detect unused or undeclared libraries, interpret the results, clean up the pom.xml, and follow best‑practice testing to ensure project stability.

IntelliJ IDEAdependency managementjava
0 likes · 6 min read
Managing Maven Dependencies in Java Projects
AI Architecture Hub
AI Architecture Hub
Feb 8, 2025 · Backend Development

Integrating DeepSeek AI into IntelliJ IDEA for Java Development

This guide walks Java developers through preparing the environment, installing the CodeGPT proxy plugin, adding the DeepSeek AI plugin, configuring API keys and model endpoints, and using the assistant for code generation, completion, explanation, and troubleshooting within IntelliJ IDEA.

AI code assistantDeepSeekIntelliJ IDEA
0 likes · 9 min read
Integrating DeepSeek AI into IntelliJ IDEA for Java Development
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 8, 2025 · Artificial Intelligence

Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development

This article provides a step‑by‑step guide to installing the DeepSeek AI code‑assistant plugin (via CodeGPT) in IntelliJ IDEA, configuring the required Python environment and API key, using its code‑completion, explanation, and question‑answer features, and also includes usage statistics and a brief promotion of a paid plugin bundle.

AI code assistantCodeGPTDeepSeek
0 likes · 10 min read
Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development
DaTaobao Tech
DaTaobao Tech
Feb 7, 2025 · R&D Management

Non-Functional Quality Delivery and Code Documentation Practices

The article highlights how vague requirements, weak architecture, and inconsistent team habits undermine non‑functional quality, then offers Java‑focused guidance on using concise comments, proper Javadoc, self‑documenting code, clear exception versus business‑error handling, and balancing standard interfaces with targeted specialization to improve maintainability and performance.

Exception HandlingNon-functional qualitybest practices
0 likes · 19 min read
Non-Functional Quality Delivery and Code Documentation Practices
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Feb 7, 2025 · Fundamentals

Mastering Java Class Loaders: Break and Follow the Parent Delegation Model

This article explains how to create custom Java class loaders by extending java.lang.ClassLoader, when to override findClass versus loadClass, demonstrates both adhering to and breaking the parent delegation model with complete code examples, and discusses common scenarios such as web servers, SPI, and hot deployment where the delegation mechanism is intentionally altered.

Custom Class LoaderJVMParent Delegation
0 likes · 11 min read
Mastering Java Class Loaders: Break and Follow the Parent Delegation Model
Top Architect
Top Architect
Feb 7, 2025 · Artificial Intelligence

Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development

This guide walks Java developers through preparing the environment, installing the CodeGPT plugin, configuring DeepSeek API keys, and using the DeepSeek AI assistant within IntelliJ IDEA to generate, complete, explain, and troubleshoot code, while also showing usage statistics.

AI code assistantCodeGPTDeepSeek
0 likes · 8 min read
Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development
Java Architecture Stack
Java Architecture Stack
Feb 7, 2025 · Backend Development

Master MyBatis Interview: Advanced Tips, Performance Hacks, and Real-World Code

This article walks senior Java developers through MyBatis fundamentals, core components, result mapping, the trade‑offs between #{} and ${}, dynamic SQL, second‑level caching, batch inserts, plugin creation, thread‑safety concerns, and concrete interview‑question solutions, all illustrated with real code snippets and performance numbers.

Interview PreparationORMPerformance Optimization
0 likes · 11 min read
Master MyBatis Interview: Advanced Tips, Performance Hacks, and Real-World Code
FunTester
FunTester
Feb 7, 2025 · Backend Development

Mastering Byteman: How AT LINE, AT READ, and Other Specifiers Control Java Bytecode Injection

This article explains Byteman's injection point specifiers—AT LINE, AT READ, AFTER READ, AT WRITE, AFTER WRITE, AT INVOKE, AFTER INVOKE, AT NEW, AFTER NEW, AT SYNCHRONIZE, AFTER SYNCHRONIZE, AT THROW, and AT EXCEPTION EXIT—detailing their syntax, matching rules, counting options, and practical usage in Java bytecode instrumentation.

BytemanInstrumentationSpecifiers
0 likes · 12 min read
Mastering Byteman: How AT LINE, AT READ, and Other Specifiers Control Java Bytecode Injection
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 7, 2025 · Backend Development

Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques

This article explains why Spring Boot 3 uses Jackson for JSON handling, describes four effective methods—JsonNode, Map, @JsonAnySetter, and custom deserializer—to process dynamic JSON properties, and promotes a continuously updated collection of over 90 Spring Boot case studies with source code.

Custom DeserializerDynamic JSONJackson
0 likes · 9 min read
Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques
Top Architect
Top Architect
Feb 6, 2025 · Backend Development

Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide

This article provides a step‑by‑step tutorial on integrating the Flowable BPMN workflow engine into a Spring Boot application, covering dependencies, BPMN diagram creation, task configuration, service implementation, process visualization, and common pitfalls such as font issues and process definition updates.

BPMNIntegrationjava
0 likes · 21 min read
Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2025 · Fundamentals

Facade Pattern: Overview, Benefits, UML Diagram, and Practical Spring Boot Implementation

This article explains the Facade design pattern, its purpose of simplifying complex systems, outlines its benefits and UML structure, and demonstrates a complete Spring Boot example that encapsulates flight, hotel, and package services behind a BookingFacade for a travel‑booking application.

Design PatternsFacade PatternSoftware Architecture
0 likes · 13 min read
Facade Pattern: Overview, Benefits, UML Diagram, and Practical Spring Boot Implementation
Architect's Guide
Architect's Guide
Feb 6, 2025 · Backend Development

Optimizing Large IN Queries with Spring AOP and Multi‑Threaded Splitting

This article explains how to improve performance of massive IN‑list database queries in Java by defining custom Spring AOP annotations that automatically split the parameter list, execute the sub‑queries concurrently in a thread pool, and merge the results using a configurable return‑handling strategy.

Performanceaopin-query
0 likes · 10 min read
Optimizing Large IN Queries with Spring AOP and Multi‑Threaded Splitting
FunTester
FunTester
Feb 6, 2025 · Backend Development

Choosing and Customizing Thread Pools for Java Performance Testing

This article explains how to select and customize a Java thread pool for performance testing, covering parameter considerations, modifications to the standard fixed thread pool, custom thread factories, work queue choices, and provides complete example code for both fixed and TPS models.

ExecutorServicePerformanceTestingThreadPool
0 likes · 8 min read
Choosing and Customizing Thread Pools for Java Performance Testing
Open Source Linux
Open Source Linux
Feb 6, 2025 · Operations

How to Quickly Diagnose and Fix 100% CPU Usage on Linux Servers

When a Linux server's CPU spikes to 100%, this guide walks you through a systematic investigation—from identifying the high‑load process and pinpointing the offending Java thread to applying a streamlined shell script—so you can resolve the issue and restore normal performance.

CPUPerformancejava
0 likes · 11 min read
How to Quickly Diagnose and Fix 100% CPU Usage on Linux Servers
Java Tech Enthusiast
Java Tech Enthusiast
Feb 5, 2025 · Backend Development

Optimizing Large-Scale Excel Import/Export in Java with EasyExcel and Thread Pools

By combining EasyExcel’s low‑memory parsing with Java 8 functional style, reflection‑based generic annotations, a thread‑pool‑driven batch listener, and flexible export utilities that support dynamic headers and map‑based rows, Java back‑ends can safely import and export millions of Excel rows without OOM errors.

Excel Importdata-processingeasyexcel
0 likes · 13 min read
Optimizing Large-Scale Excel Import/Export in Java with EasyExcel and Thread Pools
21CTO
21CTO
Feb 4, 2025 · Fundamentals

Explore Java 24: New Experimental, Incubator, Preview & Permanent JEPs

Java 24, a short‑term JDK release slated for March 2025, introduces 24 new features—including two experimental JEPs, one incubator JEP, seven preview JEPs, and fourteen permanent JEPs—while outlining Oracle’s roadmap toward the subsequent long‑term Java 25 version.

JDKJEPJava 24
0 likes · 10 min read
Explore Java 24: New Experimental, Incubator, Preview & Permanent JEPs
Java Tech Enthusiast
Java Tech Enthusiast
Feb 4, 2025 · Fundamentals

LeetCode 31 – Next Permutation: Problem, Analysis, and Code

The Next Permutation problem asks to rearrange an integer array into the immediate lexicographically larger ordering—or the smallest order if none exists—by scanning from the right to find the first decreasing pair, swapping with the next larger element, and reversing the suffix, using O(1) extra space, with implementations provided in Java, C++, and Python.

LeetCodePythonalgorithm
0 likes · 7 min read
LeetCode 31 – Next Permutation: Problem, Analysis, and Code
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2025 · Backend Development

Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation

This article introduces the lightweight Sa-Token Java authentication framework, explains why it is chosen over Spring Security and Shiro, details its login and permission APIs with code examples, shows how to configure it in Spring Boot and WebFlux projects, and lists its extensive feature set for secure backend development.

AuthenticationBackendSa-Token
0 likes · 23 min read
Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Feb 4, 2025 · Backend Development

When to Use Class.forName vs. ClassLoader in Java? A Deep Dive

This article explains Java's reflection mechanisms, comparing Class.forName and ClassLoader as two primary ways to load classes, detailing their behavior, static initialization effects, code examples, and practical scenarios such as loading JDBC drivers versus custom dynamic loading.

Class.forNameDynamic LoadingJDBC driver
0 likes · 6 min read
When to Use Class.forName vs. ClassLoader in Java? A Deep Dive
Selected Java Interview Questions
Selected Java Interview Questions
Feb 3, 2025 · Backend Development

Advanced MapStruct Usage: Expressions, qualifiedByName, nullValueMappingStrategy, and Decorators

MapStruct is a compile‑time Java annotation processor that automates bean mapping, offering concise, high‑performance, type‑safe conversions, and advanced features such as expression mapping, qualifiedByName methods, null‑value strategies, and decorators, with full IDE support and illustrative code examples.

Annotation Processorbackend-developmentbean-mapping
0 likes · 7 min read
Advanced MapStruct Usage: Expressions, qualifiedByName, nullValueMappingStrategy, and Decorators
Java Tech Enthusiast
Java Tech Enthusiast
Feb 3, 2025 · Backend Development

Auto‑Registration of Executors and JobHandlers for XXL‑Job with a Spring Boot Starter

The Spring Boot starter automatically registers XXL‑Job executors and job handlers at application startup by logging into the admin console, scanning beans for methods annotated with @XxlJob and @XxlRegister, and invoking the admin APIs to create missing groups and jobs, eliminating manual configuration.

XXL-JOBannotationauto registration
0 likes · 14 min read
Auto‑Registration of Executors and JobHandlers for XXL‑Job with a Spring Boot Starter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 3, 2025 · Backend Development

Master QLExpress: A Hands‑On Guide to Rule Engine Integration with Spring Boot 3

This article introduces the QLExpress rule engine, outlines its key features such as thread‑safety and high‑performance execution, and provides step‑by‑step Spring Boot 3 integration examples—including dependency setup, simple expressions, function definitions, operator aliases, macro usage, and variable querying—complete with runnable code snippets and output illustrations.

QLExpressjavarule engine
0 likes · 10 min read
Master QLExpress: A Hands‑On Guide to Rule Engine Integration with Spring Boot 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 3, 2025 · Backend Development

Code Review of Coupon Claim and Approval Workflow: Issues and Optimization Strategies

This article reviews Java Spring code for a coupon claim and approval workflow, identifies concurrency and transaction issues such as missing locks and inconsistent update order, and proposes optimizations including user‑level locking, simplifying lock management, and aligning transactional update sequences to prevent deadlocks.

Code reviewconcurrencydistributed-lock
0 likes · 12 min read
Code Review of Coupon Claim and Approval Workflow: Issues and Optimization Strategies
Java Tech Enthusiast
Java Tech Enthusiast
Feb 2, 2025 · Backend Development

Optimizing XML-to-MySQL Bulk Import with JDBC Batch and Disruptor

By switching from a naïve per‑record insert to JDBC batch writes with rewriteBatchedStatements and then off‑loading those batches to multiple consumer threads via a LMAX Disruptor ring buffer, the XML‑to‑MySQL import of 60,000 rows dropped from roughly 300 seconds to about 4 seconds while keeping memory usage modest.

BatchDisruptorJDBC
0 likes · 11 min read
Optimizing XML-to-MySQL Bulk Import with JDBC Batch and Disruptor
Architecture Digest
Architecture Digest
Feb 2, 2025 · Backend Development

UniHttp – A Declarative HTTP Interface Integration Framework for Java

This article introduces UniHttp, a declarative Java HTTP client framework that simplifies third‑party API integration by using annotations to generate request metadata, supports various parameter types, lifecycle hooks, custom processors, and provides practical enterprise‑level examples with full code snippets.

APIDeclarativeHTTP
0 likes · 20 min read
UniHttp – A Declarative HTTP Interface Integration Framework for Java
Java Web Project
Java Web Project
Feb 1, 2025 · Backend Development

Choosing the Right Java Async Tool: Future, CompletableFuture, or FutureTask

This article compares three Java concurrency approaches—Future with Callable, CompletableFuture, and FutureTask—explaining their underlying principles, step‑by‑step usage, code examples, and trade‑offs so you can decide which asynchronous tool best fits your reporting workload.

CompletableFutureFutureFutureTask
0 likes · 10 min read
Choosing the Right Java Async Tool: Future, CompletableFuture, or FutureTask
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2025 · Backend Development

Optimizing Nested Loops in Java with Map and Break

To avoid the O(n × m) cost of naïve nested loops when matching IDs, replace the inner scan with a break after a unique match or, far more efficiently, build a HashMap of the secondary list so each lookup becomes O(1), dropping overall complexity to O(n + m) and cutting execution time from tens of seconds to a few hundred milliseconds.

HashMapMAPNested Loop
0 likes · 8 min read
Optimizing Nested Loops in Java with Map and Break
Top Architect
Top Architect
Feb 1, 2025 · Backend Development

Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter

This article describes an experiment using SpringBoot 2.5.4 and JMeter to measure the heap memory allocated per HTTP and RPC request, detailing the setup, GC logging configuration, results showing average memory consumption around 34 KB per request, and recommendations for logging and performance optimization.

JMeterPerformance TestingSpringBoot
0 likes · 11 min read
Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Backend Development

Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison

Java 21’s virtual threads provide a lightweight, JVM‑managed alternative to OS threads that enables hundreds of thousands of concurrent tasks, simplifies scheduling, integrates easily into Spring Boot via a preview flag and Tomcat executor, and delivers up to five‑fold speed‑ups and lower latency in high‑load I/O‑intensive applications.

PerformanceVirtual Threadsconcurrency
0 likes · 7 min read
Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison
IT Services Circle
IT Services Circle
Jan 30, 2025 · Backend Development

15 Practical Spring Framework Tips for Developers

This article presents fifteen useful Spring techniques—including bean retrieval, event handling, custom interceptors, retry mechanisms, global exception handling, startup initialization, bean lifecycle methods, resource cleanup, dynamic configuration injection, conditional bean registration, caching, transaction management, bean loading order, AOP aspects, and conditional bean creation—each illustrated with clear Java code examples.

BackendDependencyInjectionTips
0 likes · 17 min read
15 Practical Spring Framework Tips for Developers
Java Tech Enthusiast
Java Tech Enthusiast
Jan 30, 2025 · Fundamentals

8 Classic Beginner Bugs Every Programmer Should Avoid

This article lists eight common beginner programming mistakes—from using wrong punctuation and forgetting WHERE clauses to leaking resources, storing passwords in plain text, exposing API keys, mixing environments, force‑pushing code, and committing secrets—explaining why they happen, showing concrete code examples, and offering practical fixes.

Gitbest practicescommon mistakes
0 likes · 9 min read
8 Classic Beginner Bugs Every Programmer Should Avoid
Architect's Guide
Architect's Guide
Jan 30, 2025 · Backend Development

JVM Parameter Tuning for 1 Million Daily Login Requests on an 8 GB Server

This article walks through a systematic, eight‑step approach to sizing and configuring JVM memory parameters—including heap, young generation, stack, object age thresholds, and garbage‑collector selection—so that a service handling one million daily logins on an 8 GB machine can achieve stable performance and predictable GC behavior.

Garbage CollectionJVMMemory Management
0 likes · 24 min read
JVM Parameter Tuning for 1 Million Daily Login Requests on an 8 GB Server
Architecture Digest
Architecture Digest
Jan 29, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide

This tutorial explains how to combine Spring Boot and Redis using Lua scripts, covering Lua fundamentals, performance advantages, practical use cases, step‑by‑step implementation in Spring Boot, error handling, security considerations, and best‑practice recommendations for backend developers.

LuaPerformanceScripting
0 likes · 21 min read
Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide
IT Services Circle
IT Services Circle
Jan 29, 2025 · Backend Development

How to Handle Frequent Full GC and High CPU Usage in Java Backend Development

This article explains common interview questions on frequent Full GC and high CPU usage in Java backend development, detailing root causes, JVM parameter adjustments, memory leak prevention, and code optimization techniques, along with practical code examples and tool recommendations for effective performance tuning.

CPU optimizationFull GCJVM
0 likes · 8 min read
How to Handle Frequent Full GC and High CPU Usage in Java Backend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 29, 2025 · Backend Development

Mastering MyBatisPlus: 12 Practical Tips to Unlock New Knowledge

This article presents twelve practical MyBatisPlus optimization techniques—including avoiding isNull, specifying select fields, batch operations, using EXISTS, safe ordering, LambdaQuery, between, index‑aware sorting, pagination, null‑handling, performance tracking, enum mapping, logical deletion, and optimistic locking—to help Java developers write cleaner, more efficient backend code.

Database OptimizationMyBatisPlusORM
0 likes · 14 min read
Mastering MyBatisPlus: 12 Practical Tips to Unlock New Knowledge
Alibaba Cloud Observability
Alibaba Cloud Observability
Jan 27, 2025 · Backend Development

How to Quickly Diagnose and Fix CPU & JVM Memory Hotspots in Java Apps

This article explains common CPU and JVM memory bottlenecks in Java applications, shows how to detect abnormal usage with monitoring and alerts, and provides step‑by‑step methods—including top, jstack, flame‑graph analysis, and APM tools—to pinpoint and resolve performance hotspots efficiently.

APMCPU optimizationJVM Memory
0 likes · 11 min read
How to Quickly Diagnose and Fix CPU & JVM Memory Hotspots in Java Apps
Code Ape Tech Column
Code Ape Tech Column
Jan 27, 2025 · Backend Development

Comprehensive Guide to Rate Limiting Strategies and Implementations in Microservice Architecture

This article systematically explains the importance of rate limiting in microservice systems, compares various governance frameworks such as Dubbo and Spring Cloud, introduces common algorithms like token‑bucket and leaky‑bucket, and provides detailed implementation examples using Guava, Sentinel, Redis+Lua, and a custom Spring Boot starter.

Microservicesjavarate limiting
0 likes · 25 min read
Comprehensive Guide to Rate Limiting Strategies and Implementations in Microservice Architecture
Architect's Guide
Architect's Guide
Jan 27, 2025 · Backend Development

Advanced MapStruct Techniques: expression, qualifiedByName, nullValueMappingStrategy, and Decorator

This article introduces MapStruct, a compile‑time Java bean mapping framework, and demonstrates advanced features such as expression‑based mappings, qualifiedByName custom converters, nullValueMappingStrategy handling, and decorator‑based post‑processing with concrete code examples for Spring‑based projects.

Annotation Processingbean-mappingjava
0 likes · 6 min read
Advanced MapStruct Techniques: expression, qualifiedByName, nullValueMappingStrategy, and Decorator
Top Architect
Top Architect
Jan 26, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article introduces the LiteFlow rule engine, explaining its architecture, supported rule file formats, component types, EL rule definitions, data context handling, configuration options, and demonstrates its application in an e‑commerce order processing scenario, highlighting hot‑deployment and performance benefits for Java backend development.

LiteFlowbackend-developmentjava
0 likes · 12 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
Architect
Architect
Jan 25, 2025 · Backend Development

HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries

This article explores practical HTTP retry solutions for offline store applications, covering a basic loop retry, the built‑in retry mechanism of Apache HttpClient with custom handlers, and an asynchronous retry approach using message queues to achieve higher reliability and eventual consistency.

Apache HttpClientBackendHTTP
0 likes · 12 min read
HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries
Architect's Guide
Architect's Guide
Jan 25, 2025 · Information Security

Understanding Session and Token‑Based Authentication with JWT in Java

This article explains the stateless nature of HTTP, compares session‑based and token‑based authentication, describes JWT structure and security considerations, and provides Java code examples for implementing login, token generation, verification, and extraction in a backend application.

BackendJWTjava
0 likes · 8 min read
Understanding Session and Token‑Based Authentication with JWT in Java
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 25, 2025 · Backend Development

Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices

This comprehensive guide introduces Java's CompletableFuture, explains its advantages over the traditional Future API, demonstrates how to create and compose asynchronous tasks, manage thread pools, handle timeouts and cancellations, and apply robust exception handling techniques for reliable concurrent programming.

CompletableFutureException HandlingFuture
0 likes · 16 min read
Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices
Architect
Architect
Jan 24, 2025 · Backend Development

Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration

This article deep‑dives into Spring Boot’s inner workings, explaining why dependency versions are omitted, how the spring‑boot‑starter‑parent and spring‑boot‑dependencies manage libraries, and how the composite @SpringBootApplication annotation orchestrates @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan to achieve seamless auto‑configuration and rapid application startup.

Spring Frameworkauto-configurationbackend-development
0 likes · 29 min read
Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration
Code Ape Tech Column
Code Ape Tech Column
Jan 24, 2025 · Backend Development

FastExcel: High‑Performance Java Library for Excel Read/Write – Features, Usage, and Comparison with EasyExcel

FastExcel is a Java library that builds on EasyExcel to provide higher performance, low‑memory streaming, and additional features such as PDF conversion, offering simple APIs, full compatibility, and detailed code examples for creating entity classes, listeners, and read/write operations.

ExcelFastExcelStreaming
0 likes · 9 min read
FastExcel: High‑Performance Java Library for Excel Read/Write – Features, Usage, and Comparison with EasyExcel
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2025 · Backend Development

Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide

This article walks you through configuring Spring Cloud for dynamic property updates, covering dependency setup, enabling bootstrap, defining configuration properties, exposing a refresh endpoint, and listening to EnvironmentChangeEvent, all illustrated with complete code snippets and screenshots.

Backendconfiguration-refreshdynamic-config
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
dbaplus Community
dbaplus Community
Jan 23, 2025 · Backend Development

10 Proven Techniques to Supercharge Java API Performance

This guide presents a comprehensive set of practical strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction sizing, program refactoring, pagination, SQL tuning, and lock granularity—to dramatically reduce API latency in Java backend services.

API optimizationAsynchronouscaching
0 likes · 10 min read
10 Proven Techniques to Supercharge Java API Performance
Architect's Guide
Architect's Guide
Jan 23, 2025 · Backend Development

Integrating Apache Tika with Spring Boot for Document Parsing

This article demonstrates how to add Apache Tika dependencies to a Spring Boot project, configure tika-config.xml, create a Java configuration class, and use the injected Tika bean to detect, translate, and parse various document formats such as PDF, PPT, and XLS.

Apache TikaDocument Parsingconfiguration
0 likes · 6 min read
Integrating Apache Tika with Spring Boot for Document Parsing
Su San Talks Tech
Su San Talks Tech
Jan 23, 2025 · Backend Development

How to Prevent Overselling in High‑Concurrency Flash Sale Systems

This article explores common overselling problems in high‑concurrency flash‑sale scenarios and presents seven practical solutions—including lock timing adjustments, AOP locking, pessimistic and optimistic database locks, and queue‑based approaches—each illustrated with SpringBoot code and performance test results.

LockSeckillSpringBoot
0 likes · 20 min read
How to Prevent Overselling in High‑Concurrency Flash Sale Systems
FunTester
FunTester
Jan 23, 2025 · Backend Development

Chapter 3: Developing a Performance Testing Engine

This chapter explains how to build a Java-based performance testing engine by dissecting common testing requirements, illustrating queue and throttling models through a supermarket analogy, and presenting thread‑based and TPS‑based designs with code examples and future extensions.

Performance TestingTPS Modelbackend-development
0 likes · 13 min read
Chapter 3: Developing a Performance Testing Engine
Architect's Journey
Architect's Journey
Jan 22, 2025 · Backend Development

Deep Dive into DDD Rich Model: Best Practices

The article explains the DDD rich (or active) model, its core characteristics, compares it with the anemic model, and shows how to apply it in a shared‑rental billing domain using Java, DDD layers, domain events, and a lightweight framework.

Backend ArchitectureDDDDomain Events
0 likes · 10 min read
Deep Dive into DDD Rich Model: Best Practices
Top Architect
Top Architect
Jan 22, 2025 · Information Security

Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management

This article presents a comprehensive design for securing third‑party API calls by generating unique Access Key/Secret Key pairs, defining permission granularity, implementing signature generation with timestamps and nonces, handling token lifecycle, and providing concrete Java and SQL code examples for practical deployment.

AK/SKAPI SecurityAuthentication
0 likes · 31 min read
Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management
Top Architect
Top Architect
Jan 22, 2025 · Backend Development

Understanding Plugin Mechanisms in Java and Spring Boot

This article explains the concept of plugin mechanisms in Java and Spring Boot, covering benefits, common implementation approaches such as ServiceLoader and custom configuration, detailed code examples, and practical guidance for building extensible backend systems.

SPIbackend-developmentjava
0 likes · 22 min read
Understanding Plugin Mechanisms in Java and Spring Boot