Tagged articles
5000 articles
Page 25 of 50
Architect's Guide
Architect's Guide
Feb 24, 2025 · Backend Development

Using Java Optional to Prevent NullPointerException

This article introduces Java 8's Optional class, explains its creation methods and common operations such as get, isPresent, ifPresent, filter, map, flatMap, orElse, orElseGet, orElseThrow, and shows practical usage scenarios and best‑practice recommendations for handling null values in backend code.

BackendFunctional ProgrammingJava
0 likes · 15 min read
Using Java Optional to Prevent NullPointerException
FunTester
FunTester
Feb 24, 2025 · Cloud Native

Master Kubernetes with Fabric8 Java Client: Quick Guide & Advanced Tips

This article introduces the Fabric8 KubernetesClient for Java, explains why it outperforms the official client, shows how to add the Maven dependency, and provides step‑by‑step code examples for listing, creating, deleting, and watching Pods, as well as advanced operations on ConfigMaps, Deployments, and custom resources, illustrating real‑world use cases such as log collection, self‑healing, and dynamic scaling.

DevOpsFabric8Java
0 likes · 8 min read
Master Kubernetes with Fabric8 Java Client: Quick Guide & Advanced Tips
JavaEdge
JavaEdge
Feb 23, 2025 · Artificial Intelligence

How Java Developers Can Build Neural Networks with PyTorch: A Step‑by‑Step Guide

This tutorial walks Java developers through the complete workflow of building, training, and evaluating a neural network in PyTorch, covering network definition, data iteration, forward and backward passes, loss calculation, and parameter updates with detailed code examples and Java‑centric analogies.

BackpropagationDeep LearningJava
0 likes · 12 min read
How Java Developers Can Build Neural Networks with PyTorch: A Step‑by‑Step Guide
Java Web Project
Java Web Project
Feb 23, 2025 · Artificial Intelligence

Build Your First AI Chatbot with Spring Boot and DeepSeek LLM

This guide walks you through creating a Spring Boot project, configuring DeepSeek's large language model via SiliconFlow, setting up OpenAI‑compatible parameters, and implementing a REST controller that returns weather forecasts using the model, complete with step‑by‑step code snippets, configuration files, and deployment instructions.

AIChatbotDeepSeek
0 likes · 7 min read
Build Your First AI Chatbot with Spring Boot and DeepSeek LLM
FunTester
FunTester
Feb 23, 2025 · Operations

How to Efficiently Process Test Data in a Multithreaded Performance Engine

This article explains two design approaches for handling test data in a multithreaded performance testing engine, compares their trade‑offs, and provides complete Java code for data aggregation, statistical analysis, TPS calculation, and refactoring the tool for cleaner extensibility.

BackendData StatisticsJava
0 likes · 14 min read
How to Efficiently Process Test Data in a Multithreaded Performance Engine
Java Architect Essentials
Java Architect Essentials
Feb 23, 2025 · Backend Development

Designing a Modular Spring Boot Backend Management Project (XiaoLe)

This article explains how to design a modular Spring Boot backend management system called XiaoLe, covering essential design principles such as single responsibility, high cohesion, low coupling, reusability, clear interfaces, layered architecture, and testability, and provides detailed Maven module structures and POM configurations for each component.

Backend DevelopmentDesign PrinciplesJava
0 likes · 14 min read
Designing a Modular Spring Boot Backend Management Project (XiaoLe)
Top Architect
Top Architect
Feb 21, 2025 · Artificial Intelligence

DeepSeek4j 1.4: Java Integration Framework for DeepSeek with Full Chain‑of‑Thought and Streaming Support

The article introduces DeepSeek4j 1.4, a Java‑based framework that overcomes Spring AI’s limitations by fully preserving DeepSeek’s chain‑of‑thought and billing features, adding reactive streaming, providing Spring Boot starter integration, and offering quick‑start code samples and configuration guidance.

AIDeepSeekJava
0 likes · 8 min read
DeepSeek4j 1.4: Java Integration Framework for DeepSeek with Full Chain‑of‑Thought and Streaming Support
FunTester
FunTester
Feb 21, 2025 · Backend Development

FastClasspathScanner: High-Performance Java Classpath Scanning Library Overview

FastClasspathScanner (formerly ClassGraph) is a high-performance Java library that dramatically speeds up classpath scanning by using multithreaded processing, smart caching, and efficient handling of complex hierarchies, making reflection-heavy frameworks, plugin systems, web applications, and code-analysis tools faster and more memory-efficient.

Backend DevelopmentClasspath ScanningFastClasspathScanner
0 likes · 9 min read
FastClasspathScanner: High-Performance Java Classpath Scanning Library Overview
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 21, 2025 · Backend Development

Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values

This article introduces a comprehensive Spring Boot 3 case collection and provides a detailed guide on using @ConfigurationProperties, constructor binding, @DefaultValue, and record types for type‑safe configuration, including examples of nested properties, collections, and default values, while promising ongoing updates and free source code for subscribers.

ConfigurationPropertiesDefaultValueJava
0 likes · 9 min read
Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2025 · Backend Development

Loading External JARs into Spring Boot: Four Practical Approaches

This article explains how to make custom classes visible to Spring Boot by loading external JAR files through four methods—extending the classpath, using Spring Boot's loader.path parameter, creating a custom ClassLoader, and modifying the boot classpath—while also showing how to configure scanning and packaging details.

Backend DevelopmentJavaSpring Boot
0 likes · 8 min read
Loading External JARs into Spring Boot: Four Practical Approaches
macrozheng
macrozheng
Feb 20, 2025 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how Java 8 streams and lambda expressions can make code shorter and more elegant, while highlighting common mistakes such as poor formatting, oversized functions, misuse of Optional, and over‑reliance on parallel streams, and offers practical guidelines for writing readable, maintainable backend code.

BackendJavaLambda
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 20, 2025 · Backend Development

Implementing the Chain of Responsibility Pattern for Product Validation and Workflow Approval in Java

This article explains the Chain of Responsibility design pattern, demonstrates its application in multi‑step product validation and expense‑approval workflows with detailed Java code, configuration handling, Spring bean injection, and discusses its advantages and drawbacks.

Chain of ResponsibilityJavadesign pattern
0 likes · 21 min read
Implementing the Chain of Responsibility Pattern for Product Validation and Workflow Approval in Java
Cognitive Technology Team
Cognitive Technology Team
Feb 20, 2025 · Backend Development

Understanding the Java Memory Model and Diagnosing OutOfMemoryError

This article explains the Java memory model, outlines common OutOfMemoryError types, and provides a step‑by‑step guide for diagnosing, fixing, and preventing memory‑related issues in large‑scale Java applications, including heap, metaspace, and stack analysis, JVM flag tuning, and best‑practice recommendations for resource handling and monitoring.

Backend DevelopmentJVMJava
0 likes · 8 min read
Understanding the Java Memory Model and Diagnosing OutOfMemoryError
FunTester
FunTester
Feb 20, 2025 · Backend Development

How to Build a Custom Multithreaded Test Engine in Java

This article walks through designing and implementing a Java multithreaded execution class for performance testing, covering thread‑pool creation, task coordination with CountDownLatch, start/stop control, and a complete demo that runs concurrent tasks with timed logging.

ConcurrencyCountDownLatchJava
0 likes · 10 min read
How to Build a Custom Multithreaded Test Engine in Java
Java Architect Essentials
Java Architect Essentials
Feb 19, 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 AI-powered code assistant within IntelliJ IDEA, including code completion, explanation, and question‑answer features, with usage statistics and sample code.

AI code assistantCodeGPTDeepSeek
0 likes · 9 min read
Integrating DeepSeek AI Assistant into IntelliJ IDEA for Java Development
Sohu Tech Products
Sohu Tech Products
Feb 19, 2025 · Backend Development

Using Apache Commons Pool for Object Pooling and Jedis Connection Pool in Java

The article explains how to use Apache Commons Pool to create reusable object pools in Java—showing Maven setup, a custom PooledObjectFactory, pool configuration, borrowing and returning objects, and demonstrates a Redis Jedis connection pool built on the same framework while detailing the pool’s initialization, borrowing, and return mechanisms.

Apache Commons PoolConnection PoolJava
0 likes · 8 min read
Using Apache Commons Pool for Object Pooling and Jedis Connection Pool in Java
JD Tech
JD Tech
Feb 19, 2025 · Backend Development

Understanding the Design and Implementation of Caffeine Cache

This article provides a comprehensive walkthrough of Caffeine cache's architecture, explaining its fixed-size eviction policy, underlying data structures such as ConcurrentHashMap, MPSC buffers, Count‑Min Sketch frequency tracking, and the dynamic window‑probation‑protected zones, while detailing key methods like put, getIfPresent, and maintenance.

CacheCaffeineConcurrency
0 likes · 71 min read
Understanding the Design and Implementation of Caffeine Cache
Java Architecture Diary
Java Architecture Diary
Feb 19, 2025 · Information Security

How Spring Security 6.4’s One-Time Token Login Enhances Security and UX

Spring Security 6.4 introduces One-Time Token Login, allowing users to authenticate via a magic link sent by email instead of passwords; the article explains its core concepts, token lifecycle, essential components, and provides step‑by‑step code examples for configuring and implementing this secure, user‑friendly authentication method.

AuthenticationJavaMagic Link
0 likes · 5 min read
How Spring Security 6.4’s One-Time Token Login Enhances Security and UX
Ma Wei Says
Ma Wei Says
Feb 19, 2025 · Fundamentals

Safe List Operations: Remove, SubList Casting, and Efficient Traversal in Java

This article explains why modifying a List inside a foreach loop causes ConcurrentModificationException, shows the proper ways to remove elements using iterators or lambda expressions, warns against casting subList to ArrayList, clarifies correct toArray and Arrays.asList usage, compares LinkedList and ArrayList performance, and recommends the most efficient traversal techniques.

Best PracticesCollectionsIterator
0 likes · 9 min read
Safe List Operations: Remove, SubList Casting, and Efficient Traversal in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 19, 2025 · Backend Development

9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection

This guide showcases nine distinct Spring Boot 3 API development techniques—from classic @RestController annotations to functional RouterFunction beans and custom Actuator endpoints—providing complete code samples, configuration details, and a promise of ongoing updates with a downloadable PDF of over 90 practical cases.

API developmentActuatorJava
0 likes · 8 min read
9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection
Top Architect
Top Architect
Feb 18, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article introduces LiteFlow, a lightweight yet powerful Java rule engine, explains its architecture, component types, EL rule file syntax, configuration options, and demonstrates a real‑world e‑commerce workflow example, providing code snippets and deployment tips for backend developers.

Backend DevelopmentJavaLiteFlow
0 likes · 11 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
macrozheng
macrozheng
Feb 18, 2025 · Backend Development

Mastering LiteFlow: A Lightweight Rule Engine for Spring Boot Workflows

This article introduces LiteFlow, a lightweight yet powerful rule engine for Spring Boot, explains its architecture, supported rule formats, core components, EL rule files, data context handling, configuration options, and demonstrates a real‑world e‑commerce order processing workflow with code examples.

JavaLiteFlow
0 likes · 10 min read
Mastering LiteFlow: A Lightweight Rule Engine for Spring Boot Workflows
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 18, 2025 · Backend Development

Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained

This article explores why Spring MVC automatically binds HTTP header values to controller method parameters, demonstrates the issue with a sample Spring Boot 3.4.0 project, analyzes the underlying HandlerMethodArgumentResolver and ServletModelAttributeMethodProcessor code, and provides two practical solutions to prevent unwanted header binding.

HandlerMethodArgumentResolverHeader BindingJava
0 likes · 8 min read
Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained
Java Tech Enthusiast
Java Tech Enthusiast
Feb 17, 2025 · Fundamentals

Why a Java Volatile Example May Terminate Without Volatile

The program that loops on a non‑volatile boolean flag sometimes terminates because changing the counter to a volatile int or to an Integer causes the JVM to emit hidden memory barriers on reference writes, making the flag visible, but this behavior is JVM‑specific and not a reliable substitute for declaring the flag volatile.

ConcurrencyHotSpotJVM
0 likes · 11 min read
Why a Java Volatile Example May Terminate Without Volatile
Su San Talks Tech
Su San Talks Tech
Feb 17, 2025 · Fundamentals

Why Changing int to Integer Lets a Non‑volatile Java Loop Terminate

This article explores a classic Java concurrency puzzle where a non‑volatile flag causes an infinite loop, examines how modifying the loop variable from int to Integer or adding volatile affects termination, and explains the underlying JVM memory‑barrier behavior revealed by DeepSeek.

HotSpotJMMJava
0 likes · 11 min read
Why Changing int to Integer Lets a Non‑volatile Java Loop Terminate
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 16, 2025 · Backend Development

Unlock Remote Server Access in Spring Boot 3 with JSch: Read Files & Run Commands

This article introduces the Java JSch library for Spring Boot 3, demonstrating how to read remote files without downloading, execute commands on a remote host, and obtain an interactive shell prompt, complete with Maven dependency setup, code examples, and execution results, while promising ongoing updates to the case collection.

Backend DevelopmentJSchJava
0 likes · 7 min read
Unlock Remote Server Access in Spring Boot 3 with JSch: Read Files & Run Commands
FunTester
FunTester
Feb 16, 2025 · Operations

Master Byteman: Install, Build, and Configure Java Fault Injection

This guide walks you through downloading Byteman, setting up BYTEMAN_HOME, using Ant or Maven for integration, building from source, configuring the Java agent with detailed options, and leveraging tutorials for effective fault‑injection testing in Java applications.

AntBytemanFault Injection
0 likes · 8 min read
Master Byteman: Install, Build, and Configure Java Fault Injection
Top Architect
Top Architect
Feb 15, 2025 · Information Security

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

The article presents a comprehensive design for securing third‑party API calls by generating unique Access Key/Secret Key pairs, defining permission scopes, implementing signature generation and verification, employing timestamps and nonces to prevent replay attacks, and outlining practical API endpoint specifications and response standards.

Javaaccess control
0 likes · 33 min read
Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Mechanisms
Architect's Guide
Architect's Guide
Feb 15, 2025 · Backend Development

Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus

This article explains how the @TableLogic annotation in MyBatis-Plus implements logical deletion by converting delete operations into updates, details its parameters, supported field types, global configuration, and provides complete Java and SQL code examples for practical usage.

BackendJavaLogical Deletion
0 likes · 8 min read
Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus
Java Captain
Java Captain
Feb 14, 2025 · Fundamentals

Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods

This article explains the differences and usage of Apache Commons Lang3 StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing code examples and behavioral details for handling null, empty, and whitespace strings in Java.

Apache CommonsJavaStringUtils
0 likes · 6 min read
Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods
Top Architect
Top Architect
Feb 14, 2025 · Backend Development

Liteflow Rule Engine: Concepts, Configuration, and Practical Usage in Java Backend Development

This article introduces the Liteflow lightweight rule engine for Java, explains its architecture, configuration, component types, EL rule file syntax, data context handling, and demonstrates a practical e‑commerce workflow, highlighting hot‑deployment and performance benefits for backend development.

Backend DevelopmentJavaRule Engine
0 likes · 11 min read
Liteflow Rule Engine: Concepts, Configuration, and Practical Usage in Java Backend Development
Java Tech Enthusiast
Java Tech Enthusiast
Feb 14, 2025 · Information Security

Electronic Signature Implementation Using Java and PDF

This tutorial explains China’s electronic‑seal regulations, shows how to generate a CA‑based X.509 certificate and a custom seal image with BouncyCastle, and demonstrates signing a PDF in Java using iText 5 to embed a visible seal and a verifiable digital signature.

BouncyCastleJavaPDF
0 likes · 16 min read
Electronic Signature Implementation Using Java and PDF
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 PDFJava
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 ClassAtomicBooleanJava
0 likes · 10 min read
Design and Implementation of a Multithreaded Task Class in Java for Performance Testing
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 PatternJava
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
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.

Async ProcessingBackend DevelopmentError Handling
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 CallingJava
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 ConnectionJava
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.

ConcurrencyHelper APIJava
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.

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

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

ConfigurationPropertiesEnumJava
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 AvroJSONJava
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.

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

CanalJavaMySQL
0 likes · 31 min read
How to Sync MySQL Data to Solr in Real-Time Using Canal
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.

AIDevOpsGPU
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 IDEAJavaMaven
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.

Best PracticesException HandlingJava
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.

Backend DevelopmentCustom Class LoaderJVM
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.

Backend DevelopmentInterview PreparationJava
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.

BytemanInstrumentationJava
0 likes · 12 min read
Mastering Byteman: How AT LINE, AT READ, and Other Specifiers Control Java Bytecode Injection