Tagged articles
699 articles
Page 2 of 7
macrozheng
macrozheng
Jul 22, 2025 · Fundamentals

Why Java Packages Use Reverse Domain Names – Benefits and Real‑World Example

This article explains Java’s reverse‑domain package naming convention, illustrates it with a Maven project structure, and outlines four key advantages—collision avoidance, global uniqueness, readability, and logical layering—while showing how the open‑source mall‑swarm micro‑service project applies these principles.

JavaMicroservicesPackage Naming
0 likes · 6 min read
Why Java Packages Use Reverse Domain Names – Benefits and Real‑World Example
Cognitive Technology Team
Cognitive Technology Team
Jul 7, 2025 · Backend Development

Master Automatic Maven Dependency Updates with the Versions Plugin

This tutorial explains how to use the Maven Versions plugin to automate dependency upgrades, integrate them into CI pipelines, handle snapshots, filter unwanted versions, and apply various update goals, providing a reliable and repeatable approach to keep Java projects up‑to‑date.

Build AutomationCIVersions Plugin
0 likes · 11 min read
Master Automatic Maven Dependency Updates with the Versions Plugin
Cognitive Technology Team
Cognitive Technology Team
Jul 6, 2025 · Fundamentals

Master Maven Dependency Scopes: Optimize Builds and Avoid Conflicts

This guide explains Maven's dependency scopes—including compile, provided, runtime, test, system, and import—detailing their purposes, how they affect transitive dependencies, and offering practical examples and best‑practice recommendations to help Java developers manage builds efficiently and avoid conflicts.

Maven ScopesTransitive Dependenciesbuild tools
0 likes · 14 min read
Master Maven Dependency Scopes: Optimize Builds and Avoid Conflicts
Cognitive Technology Team
Cognitive Technology Team
Jul 6, 2025 · Backend Development

How to Force Maven to Update a Corrupted Local Repository

This tutorial explains why a Maven local repository can become corrupted, demonstrates how to identify broken dependencies, and provides step‑by‑step commands—including -U, dependency:resolve, and purge‑local‑repository—to force Maven to refresh or clean the repository safely.

Force UpdateJava Build Toolslocal repository
0 likes · 8 min read
How to Force Maven to Update a Corrupted Local Repository
Cognitive Technology Team
Cognitive Technology Team
Jul 5, 2025 · Backend Development

Master Maven Dependency Order to Prevent Build Conflicts

This guide explains Maven’s dependency mechanism, including transitive dependencies and mediation, demonstrates ordering problems with Apache POI and OpenCSV, shows how to detect version conflicts using Maven plugins, and provides practical tips to avoid compile‑time and runtime errors in Java projects.

Dependency MediationJavaTransitive Dependencies
0 likes · 9 min read
Master Maven Dependency Order to Prevent Build Conflicts
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code

This guide explains how to improve Spring Boot configuration management by mapping external properties to Java enums using @ConfigurationProperties, demonstrating a complete example with Maven dependencies, YAML settings, enum definitions, configuration classes, a controller, and a Thymeleaf view to achieve flexible and readable code.

ConfigurationPropertiesJavaSpring Boot
0 likes · 11 min read
Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

How to Load External JARs into Spring Boot: Simple 2‑Step Solutions

This guide explains two straightforward steps to load external JAR files into the JVM and make Spring Boot scan them, covering three implementation options—extending the classpath, using Spring Boot’s loader.path parameter, and creating a custom classloader—along with configuration details, Maven settings, and runtime considerations.

JavaSpring Bootclassloader
0 likes · 9 min read
How to Load External JARs into Spring Boot: Simple 2‑Step Solutions
Java Architect Essentials
Java Architect Essentials
Jul 3, 2025 · Backend Development

Tame Maven Dependency Chaos with Custom Spring Boot Starters

This article shares real‑world stories and step‑by‑step techniques for diagnosing Maven dependency conflicts, enforcing version control, and building reusable Spring Boot starters to streamline configuration, improve team efficiency, and prevent costly runtime failures.

Backend DevelopmentCustom StarterJava
0 likes · 7 min read
Tame Maven Dependency Chaos with Custom Spring Boot Starters
Top Architect
Top Architect
Jul 2, 2025 · Backend Development

Quickly Bootstrap a Spring Boot Project and Dodge Version Compatibility Issues

This guide walks you through initializing a Spring Boot project, handling IDE setup frustrations, managing Spring Cloud and Kafka version compatibility, leveraging Maven for dependencies, implementing global exception handling, logging, CORS, and Swagger configurations, and recommends essential tools for efficient backend development.

Backend DevelopmentException HandlingSpring Boot
0 likes · 10 min read
Quickly Bootstrap a Spring Boot Project and Dodge Version Compatibility Issues
Selected Java Interview Questions
Selected Java Interview Questions
Jul 2, 2025 · Backend Development

Boost Java Build Speed: How Maven‑mvnd Cuts Build Time by Up to 80%

Maven‑mvnd, a Maven daemon that keeps a long‑running JVM alive, dramatically speeds up Java project builds by eliminating repeated JVM startup, reducing resource consumption, supporting parallel builds, and offering seamless migration from Maven, making it ideal for large multi‑module projects and CI/CD pipelines.

Build OptimizationJavaci/cd
0 likes · 9 min read
Boost Java Build Speed: How Maven‑mvnd Cuts Build Time by Up to 80%
Java Tech Enthusiast
Java Tech Enthusiast
Jul 2, 2025 · Backend Development

Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls

The article examines recurring Java backend problems such as duplicated configuration files, hard‑coded parameters, mixed logging practices, unchecked code releases, unsynchronized databases, and Maven dependency issues, then offers concrete solutions like externalized configuration, standardized logging, proper code review, and correct Maven pom settings.

ConfigurationJavaSpring Boot
0 likes · 5 min read
Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls
Java Captain
Java Captain
Jun 28, 2025 · Backend Development

How to Build a Spring Boot Multi‑Module Project with Maven

Learn step‑by‑step how to create a Spring Boot multi‑module Maven project, from designing the parent and child module structure, configuring pom.xml files, writing simple application and controller code, to building and running the modules with Maven commands.

MicroservicesMulti‑moduleSpring Boot
0 likes · 7 min read
How to Build a Spring Boot Multi‑Module Project with Maven
Su San Talks Tech
Su San Talks Tech
Jun 20, 2025 · Backend Development

Why Environment Setup Is the Real Pain in Spring Boot Projects (And How to Fix It)

This article walks through the common frustrations of IDE and environment setup for Spring Boot projects, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates how Maven and auto‑configuration simplify dependencies, and provides ready‑to‑use code snippets and useful tooling recommendations for backend developers.

IDE setupKafkaSpring Boot
0 likes · 11 min read
Why Environment Setup Is the Real Pain in Spring Boot Projects (And How to Fix It)
Java Tech Enthusiast
Java Tech Enthusiast
Jun 7, 2025 · Backend Development

Master Java Project Setup: From IDE to Spring Boot Scaffolding

This article walks through setting up a Java Spring Boot project, managing compatible Spring Cloud, Spring Boot and Kafka versions, handling common dependency pitfalls with Maven, and provides ready‑to‑use scaffolding code for exception handling, logging, CORS, Swagger, and response wrapping, plus a list of useful development tools.

Backend DevelopmentJavaSpring Boot
0 likes · 11 min read
Master Java Project Setup: From IDE to Spring Boot Scaffolding
JD Tech Talk
JD Tech Talk
Jun 6, 2025 · Backend Development

Upgrade Java Projects to JDK 21: Challenges, Solutions & Best Practices

This article outlines the motivations, challenges, and step‑by‑step solutions for migrating over 100 Java applications to JDK 21, covering dependency conflicts, module system adjustments, Maven plugin compatibility, garbage‑collector selection, and practical build and deployment practices to ensure a smooth upgrade.

Backend DevelopmentGarbage CollectionJDK21
0 likes · 13 min read
Upgrade Java Projects to JDK 21: Challenges, Solutions & Best Practices
JD Cloud Developers
JD Cloud Developers
Jun 6, 2025 · Backend Development

Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges

This article outlines the motivations, progress, and common issues encountered when upgrading over 100 Java applications to JDK 21, including deprecated APIs, module system constraints, Maven plugin incompatibilities, and GC choices, and provides concrete migration steps, configuration templates, and best‑practice recommendations for a smooth transition.

GarbageCollectionJDK21Java
0 likes · 12 min read
Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges
Top Architect
Top Architect
Jun 3, 2025 · Backend Development

Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation

This article explains how to activate Spring Boot DevTools for hot deployment, integrate Lombok to simplify Java beans, and add the Spring Configuration Processor for property metadata, providing step‑by‑step IDE settings, Maven dependencies, and configuration snippets for a smoother backend development experience.

Configuration ProcessorDevToolsJava
0 likes · 8 min read
Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation
Cognitive Technology Team
Cognitive Technology Team
May 30, 2025 · Backend Development

Using Google AutoService to Simplify Java SPI Implementations

This tutorial introduces Google AutoService, explains Java SPI concepts, shows Maven setup and @AutoService annotation examples, and demonstrates loading translation service providers with ServiceLoader, highlighting how the library automates SPI configuration and reduces errors.

AnnotationProcessorAutoServiceJava
0 likes · 6 min read
Using Google AutoService to Simplify Java SPI Implementations
Cognitive Technology Team
Cognitive Technology Team
May 29, 2025 · Backend Development

Managing Multiple JDK Versions with jEnv

This guide explains how to install jEnv, add and configure multiple JDK versions, set global and local JDKs per project, and integrate the tool with Maven and Gradle to ensure the correct Java version is used across diverse development environments.

GradleJDK managementJEnv
0 likes · 8 min read
Managing Multiple JDK Versions with jEnv
Code Ape Tech Column
Code Ape Tech Column
May 29, 2025 · Backend Development

Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java

Apache Commons Lang3 provides Pair and Triple classes that let Java developers return multiple related values without custom wrappers, offering immutable and mutable variants, easy Maven integration, and clear APIs for handling key‑value pairs and three‑element tuples, improving code readability and maintainability.

Apache Commons LangImmutableJava
0 likes · 15 min read
Using Apache Commons Lang3 Pair and Triple Classes to Return Multiple Values in Java
Cognitive Technology Team
Cognitive Technology Team
May 29, 2025 · Backend Development

Testing Java Architecture with ArchUnit: A Comprehensive Guide

This article explains how Java developers can use ArchUnit to automatically import and analyze compiled classes, define custom architectural rules, enforce package naming conventions, prevent cyclic dependencies, and integrate the library with Maven or Gradle builds to maintain a clean, layered backend architecture.

ArchUnitBackendGradle
0 likes · 9 min read
Testing Java Architecture with ArchUnit: A Comprehensive Guide
Lin is Dream
Lin is Dream
May 27, 2025 · Backend Development

Master Maven: Essential Tips for Java Backend Projects

This guide walks you through Maven installation, local repository configuration, dependency coordinates, common Maven commands, profile usage, multi‑module project setup, the difference between dependencyManagement and dependencies, and practical Maven tricks such as installing local jars, removing version numbers from generated artifacts, and resolving dependency conflicts.

Javabuild toolsdependency management
0 likes · 11 min read
Master Maven: Essential Tips for Java Backend Projects
Lin is Dream
Lin is Dream
May 27, 2025 · Backend Development

Master Maven Mirrors: Configure Repositories, Mirrors, and Private Deployments

This guide explains how Maven repositories and mirrors work, the role of the mirrorOf attribute, how to set up central and third‑party repositories in pom.xml, configure mirrors in settings.xml with various matching rules, and properly configure private repository deployment with authentication and profile activation.

JavaMirrorRepository
0 likes · 7 min read
Master Maven Mirrors: Configure Repositories, Mirrors, and Private Deployments
Big Data Technology & Architecture
Big Data Technology & Architecture
May 26, 2025 · Artificial Intelligence

Spring AI 1.0 Released: Maven Dependency, Comparison with LangChain4j, and Future Trends

The article announces the Spring AI 1.0 release, provides the Maven BOM dependency, compares Spring AI with LangChain4j for Java AI development, and outlines upcoming integration, performance, and observability improvements for both frameworks amid rapid large‑model advancements.

JavaLangChain4jartificial intelligence
0 likes · 4 min read
Spring AI 1.0 Released: Maven Dependency, Comparison with LangChain4j, and Future Trends
JD Tech Talk
JD Tech Talk
May 20, 2025 · Fundamentals

Java Code Style Guidelines: Standards, Tool Integration, and Best Practices

This article explains why consistent Java code style matters, reviews major industry standards such as Google and Alibaba, guides the selection and customization of a style guide, and demonstrates how to configure IntelliJ IDEA, Checkstyle, and Maven to enforce the rules throughout development.

IntelliJ IDEAJavacheckstyle
0 likes · 12 min read
Java Code Style Guidelines: Standards, Tool Integration, and Best Practices
macrozheng
macrozheng
May 16, 2025 · Backend Development

Boost Java Build Speed with Maven‑mvnd: Faster, Resource‑Efficient Builds

This article explains how Maven‑mvnd addresses slow build times, high resource consumption, frequent build latency, and multi‑project build inefficiencies by using a long‑running daemon, GraalVM native executables, and seamless Maven compatibility, providing step‑by‑step installation and usage guidance.

Backend DevelopmentBuild Optimizationci/cd
0 likes · 8 min read
Boost Java Build Speed with Maven‑mvnd: Faster, Resource‑Efficient Builds
Java Captain
Java Captain
May 15, 2025 · Backend Development

Generating Temperature Line Charts in Excel with Apache POI (Java)

This tutorial demonstrates how to add Apache POI dependencies via Maven and use Java code to create an Excel workbook containing a multi‑series temperature line chart, including custom font sizes for titles and axes, and finally export the file to disk.

Apache POIData visualizationExcel
0 likes · 8 min read
Generating Temperature Line Charts in Excel with Apache POI (Java)
Java Web Project
Java Web Project
May 13, 2025 · Backend Development

How Maven‑mvnd Supercharges Java Builds with a Daemon Process

Maven‑mvnd introduces a long‑running daemon to eliminate JVM startup overhead, cut resource usage, accelerate frequent builds, and streamline multi‑module projects, while remaining compatible with existing Maven workflows and offering GraalVM‑based native execution for faster, lighter builds.

Build OptimizationJavaci/cd
0 likes · 7 min read
How Maven‑mvnd Supercharges Java Builds with a Daemon Process
MaGe Linux Operations
MaGe Linux Operations
May 11, 2025 · Operations

How to Build an Automated CI/CD Pipeline with Jenkins and Docker

This guide explains how to create a fast, reliable CI/CD workflow by integrating Jenkins, Docker, Maven, and Alibaba Cloud, covering pipeline benefits, step‑by‑step configuration, Docker image building, registry push/pull, Jenkins container setup, GitLab webhook integration, and common pitfalls with suggested optimizations.

Alibaba CloudDevOpsDocker
0 likes · 13 min read
How to Build an Automated CI/CD Pipeline with Jenkins and Docker
Java One
Java One
May 10, 2025 · Backend Development

Master Maven pom.xml: Essential Configurations for Java Projects

This guide explains how to configure a Maven pom.xml file, covering project coordinates, dependency scopes, dependencyManagement, exclusions, conflict resolution, lifecycle phases, goals, common plugins, profile activation, repository settings, distribution management, and modular project structure for reliable Java builds.

Javabuilddependency management
0 likes · 21 min read
Master Maven pom.xml: Essential Configurations for Java Projects
Architecture Digest
Architecture Digest
May 8, 2025 · Backend Development

Introducing Maven‑mvnd: A Faster Maven Daemon for Java Builds

The article explains Maven‑mvnd, a daemon‑based Maven variant that eliminates JVM startup overhead, reduces resource consumption, and speeds up single‑ and multi‑module Java builds, while remaining compatible with existing Maven workflows and offering simple installation, configuration, and usage instructions.

Build ToolJavaci/cd
0 likes · 6 min read
Introducing Maven‑mvnd: A Faster Maven Daemon for Java Builds
Cognitive Technology Team
Cognitive Technology Team
Apr 30, 2025 · Backend Development

Getting Started with JLine 3: Building Interactive Java CLI Applications

This article introduces JLine 3, a Java library that adds GNU‑readline‑style features such as line editing, history, auto‑completion, and syntax highlighting to command‑line tools, and provides Maven setup, a complete code example, detailed explanation, and sample output for building robust interactive CLI applications.

CLIJLineJava
0 likes · 10 min read
Getting Started with JLine 3: Building Interactive Java CLI Applications
Architect
Architect
Apr 27, 2025 · Backend Development

How to Detect and Clean Unused Maven Dependencies with mvn dependency:analyze

This guide explains why managing Maven dependencies is essential, shows how to run mvn dependency:analyze in the terminal or IntelliJ IDEA, interprets the warnings for used undeclared and unused declared dependencies, and outlines best timing and precautions for safely cleaning up your project's pom.xml.

Backend DevelopmentIntelliJ IDEAJava
0 likes · 8 min read
How to Detect and Clean Unused Maven Dependencies with mvn dependency:analyze
MaGe Linux Operations
MaGe Linux Operations
Apr 21, 2025 · Operations

Master Jenkins Automation: From Code Commit to Seamless Deployment

This guide walks you through the complete Jenkins CI/CD workflow—from source‑code changes triggering automated builds, tests, and packaging to secure deployment—showing how to set up Jenkins, configure pipelines, install essential plugins, and manage global tools for reliable, hands‑free releases.

DevOpsDockerJenkins
0 likes · 21 min read
Master Jenkins Automation: From Code Commit to Seamless Deployment
Java Captain
Java Captain
Apr 14, 2025 · Backend Development

Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development

This guide walks through initializing a Spring Boot project, handling IDE setup challenges, managing version compatibility between Spring Cloud, Spring Boot, and Kafka, and provides practical code examples for global exception handling, logging, CORS configuration, Swagger integration, and useful development tools.

Exception HandlingKafkaSpring Boot
0 likes · 12 min read
Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development
Top Architect
Top Architect
Apr 12, 2025 · Backend Development

Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Modules, Plugins, and Build Settings

This article provides a detailed tutorial on Maven, covering basic configuration, repository setup, dependency management, module organization, plugin usage (including jar, assembly, shade), and build settings, with examples and code snippets to help Java developers efficiently manage projects.

Backend DevelopmentJavabuild tools
0 likes · 19 min read
Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Modules, Plugins, and Build Settings
Code Ape Tech Column
Code Ape Tech Column
Apr 2, 2025 · Backend Development

Easy Rules Java Rule Engine: Features, Usage, and Real‑World Scenarios

This article introduces the lightweight Easy Rules Java rule engine, explains why traditional if‑else logic is problematic, demonstrates core concepts such as rule, condition, action, and facts, provides step‑by‑step code examples, showcases six practical use‑cases, and shows how to integrate it with Spring Boot and Maven.

Business RulesJavaSpring Boot
0 likes · 16 min read
Easy Rules Java Rule Engine: Features, Usage, and Real‑World Scenarios
Java Architect Essentials
Java Architect Essentials
Mar 17, 2025 · Backend Development

One‑Click Deployment of a SpringBoot Application Using IDEA and Docker

This tutorial demonstrates how to replace the traditional jar‑upload workflow with an IDEA‑integrated Docker solution, covering environment setup, SSH configuration, Docker daemon connection, SpringBoot code, Dockerfile creation, remote deployment settings, firewall opening, and common troubleshooting steps.

DeploymentDockerIDEA
0 likes · 8 min read
One‑Click Deployment of a SpringBoot Application Using IDEA and Docker
Raymond Ops
Raymond Ops
Mar 12, 2025 · Operations

How to Resolve Common Jenkins Plugin and Maven Pipeline Errors in China

This guide walks through fixing Jenkins plugin update timeouts by switching to domestic mirrors, troubleshooting Maven pipeline failures caused by missing JVM libraries or disk space limits, clearing Git config lock files, and adjusting file‑descriptor limits and Docker ulimit settings to prevent out‑of‑resource errors.

JenkinsLinuxmaven
0 likes · 7 min read
How to Resolve Common Jenkins Plugin and Maven Pipeline Errors in China
Code Ape Tech Column
Code Ape Tech Column
Feb 28, 2025 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin and maven‑jar‑plugin to create a zip deployment package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux.

BackendDeploymentSpring Boot
0 likes · 13 min read
Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script
Java Architect Essentials
Java Architect Essentials
Feb 25, 2025 · Backend Development

IntelliJ IDEA Usage Tips and Advanced Features

This article provides a comprehensive guide to IntelliJ IDEA, covering basic operations, advanced shortcuts, Maven integration, debugging, hot‑reload settings, and various UI customizations, offering developers practical tips and code snippets to boost Java development efficiency.

HotReloadIDEAIntelliJ
0 likes · 6 min read
IntelliJ IDEA Usage Tips and Advanced Features
Cognitive Technology Team
Cognitive Technology Team
Feb 24, 2025 · Backend Development

Resolving Java Class File Version Mismatch Errors

This article explains why the "class file has wrong version" error occurs when Java compilation and runtime versions differ, shows the mapping between Java releases and class file versions, demonstrates the error with sample code, and provides step‑by‑step solutions including version checks, Maven configuration, IDE settings, and best‑practice recommendations.

Backend DevelopmentIntelliJJava
0 likes · 5 min read
Resolving Java Class File Version Mismatch Errors
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 DevelopmentJavaSpring Boot
0 likes · 14 min read
Designing a Modular Spring Boot Backend Management Project (XiaoLe)
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
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
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.

ConfigurationPropertiesJavaSpring Boot
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 ExtractionJava
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Automatic Sensitive Data Detection
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 IDEAJavaSpring Boot
0 likes · 6 min read
Managing Maven Dependencies in Java Projects
macrozheng
macrozheng
Feb 7, 2025 · Backend Development

Boost Java Development with Hutool: 17 Essential Utility Classes Explained

This article introduces the Hutool Java utility library, showing how to install it via Maven and demonstrating 17 commonly used utility classes with code examples that simplify type conversion, date handling, JSON processing, string manipulation, reflection, encryption, validation, and more for backend developers.

Backend DevelopmentCode ExamplesUtility Library
0 likes · 15 min read
Boost Java Development with Hutool: 17 Essential Utility Classes Explained
macrozheng
macrozheng
Feb 7, 2025 · Backend Development

Master Maven Dependency Analysis: Spot Unused and Undeclared JARs

This guide explains why Maven dependency analysis is essential, shows how to run mvn dependency:analyze, interprets warnings about used undeclared and unused declared dependencies, and offers practical tips for when and how to clean up your project's pom.xml safely.

Backend DevelopmentDependency AnalysisIntelliJ
0 likes · 8 min read
Master Maven Dependency Analysis: Spot Unused and Undeclared JARs
MaGe Linux Operations
MaGe Linux Operations
Feb 5, 2025 · Operations

Master Jenkins CI/CD: Step-by-Step Automated Deployment Guide

This comprehensive tutorial walks you through Jenkins fundamentals, installation, JDK and Git integration, credential management, Maven setup, SSH password‑less login, and deployment scripts, providing all the commands and screenshots needed to automate Java project builds and releases.

Jenkinsci/cdmaven
0 likes · 16 min read
Master Jenkins CI/CD: Step-by-Step Automated Deployment Guide
Architect
Architect
Jan 16, 2025 · Backend Development

How to Shrink Spring Boot JARs by Extracting Dependencies and Config Files with Maven

This guide tackles the problem of oversized Spring Boot JARs by showing how to separate library JARs and configuration files from the main artifact, presenting three Maven‑based solutions—spring‑boot‑maven‑plugin, maven‑jar‑plugin, and maven‑assembly‑plugin—complete with configuration snippets, build commands, and deployment tips.

DevOpsJavaMicroservices
0 likes · 16 min read
How to Shrink Spring Boot JARs by Extracting Dependencies and Config Files with Maven
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2025 · Backend Development

Using Maven Dependency Analysis to Detect Unused and Undeclared JARs

This article explains why Maven dependency analysis is essential for Java backend projects, demonstrates how to run the analysis with Maven and IntelliJ IDEA, interprets the warnings about used undeclared and unused declared dependencies, and provides best‑practice timing, risks, and shortcuts for maintaining clean dependency trees.

BackendDependency AnalysisIntelliJ IDEA
0 likes · 8 min read
Using Maven Dependency Analysis to Detect Unused and Undeclared JARs
Java Tech Enthusiast
Java Tech Enthusiast
Jan 7, 2025 · Backend Development

Using @Import for Modular Spring Boot Development

Spring Boot enables modular backend development by placing each feature in its own Maven module and using @Import (or custom annotations, ImportSelector, ImportBeanDefinitionRegistrar, and @ConditionalOnProperty) to load configuration classes, scan components, and conditionally register beans while keeping the application a single monolithic program.

Import AnnotationJavaModular Development
0 likes · 19 min read
Using @Import for Modular Spring Boot Development
FunTester
FunTester
Jan 7, 2025 · Backend Development

Using Apache Commons Lang 3 for Efficient Object Comparison in Java

This article introduces Apache Commons Lang 3, explains its key utilities, and demonstrates how to integrate the library with Maven and employ DiffBuilder and ReflectionDiffBuilder to compare Java objects, generate detailed difference reports, and simplify debugging and testing processes.

Apache Commons LangDiffBuilderJava
0 likes · 9 min read
Using Apache Commons Lang 3 for Efficient Object Comparison in Java
Java Architect Essentials
Java Architect Essentials
Jan 6, 2025 · Backend Development

Using @Import for Modular Spring Boot Applications

This article explains how to modularize a Spring Boot monolith by splitting it into Maven modules, leveraging @ComponentScan, @Import, custom annotations, ImportSelector, ImportBeanDefinitionRegistrar, and conditional loading to dynamically include or exclude functionality at runtime.

ComponentScanConfigurationImport
0 likes · 18 min read
Using @Import for Modular Spring Boot Applications
Top Architect
Top Architect
Jan 4, 2025 · Backend Development

Comprehensive Maven Guide: Repository Setup, Dependency Management, Multi‑Module Projects, and Plugin Configuration

This article provides a step‑by‑step tutorial on using Maven for Java backend projects, covering repository configuration, basic POM structure, dependency declaration, scope handling, exclusion, variable properties, multi‑module management, dependencyManagement, and common build plugins such as jar, assembly, and shade.

Backend DevelopmentJavabuild tools
0 likes · 22 min read
Comprehensive Maven Guide: Repository Setup, Dependency Management, Multi‑Module Projects, and Plugin Configuration
Code Ape Tech Column
Code Ape Tech Column
Jan 3, 2025 · Backend Development

Optimizing Spring Boot Deployment: Separating Dependencies and Configurations with Maven Plugins

This article explains how to streamline Spring Boot production releases by extracting libraries and configuration files from the main JAR, using various Maven plugins such as spring-boot-maven-plugin, maven-dependency-plugin, maven-assembly-plugin, and maven-jar-plugin to create lightweight, fast‑deployable packages.

ConfigurationSpring Bootdependency management
0 likes · 13 min read
Optimizing Spring Boot Deployment: Separating Dependencies and Configurations with Maven Plugins
macrozheng
macrozheng
Dec 25, 2024 · Backend Development

FastExcel: The New Java Library Replacing EasyExcel for High‑Performance Excel Processing

FastExcel, a Java‑based open‑source library announced after EasyExcel's discontinuation, offers fast, memory‑efficient Excel read/write, full compatibility with EasyExcel, simple APIs, MIT licensing for commercial use, easy Maven/Gradle integration, and clear code examples that have already attracted over 2,000 GitHub stars.

ExcelFastExcelGradle
0 likes · 8 min read
FastExcel: The New Java Library Replacing EasyExcel for High‑Performance Excel Processing
JD Tech
JD Tech
Dec 18, 2024 · Backend Development

Java Code Style Guide: Standards, Tools, and Best Practices

This article explains why consistent Java code style matters, reviews major industry style guides, shows how to choose and customize a style guide, and provides step‑by‑step instructions for configuring IntelliJ IDEA, Checkstyle, and Maven to enforce the standards in daily development.

IDEJavabest practices
0 likes · 13 min read
Java Code Style Guide: Standards, Tools, and Best Practices
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 18, 2024 · Backend Development

Design and Implementation of a Spring Boot Log Auditing Plugin Using AOP

This article details the design, architecture, and step‑by‑step implementation of a Spring Boot log auditing plugin built with AOP, Maven plugins, auto‑configuration, thread‑pool execution, and optional message‑queue streaming to improve operation logging and exception tracing in backend services.

JavaLog AuditingSpring Boot
0 likes · 18 min read
Design and Implementation of a Spring Boot Log Auditing Plugin Using AOP
Code Ape Tech Column
Code Ape Tech Column
Dec 5, 2024 · Operations

One-Click Automated Deployment of Spring Boot with Jenkins and Docker

This tutorial provides a step‑by‑step guide to set up a fully automated CI/CD pipeline on CentOS 7 that installs Docker, deploys Jenkins in a container, configures Maven and required plugins, creates a Jenkins job, builds a Spring Boot application with Dockerfile, and runs the resulting container, all with minimal pitfalls.

CentOSJenkinsSpring Boot
0 likes · 7 min read
One-Click Automated Deployment of Spring Boot with Jenkins and Docker
Java Architect Essentials
Java Architect Essentials
Dec 4, 2024 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Scaffold Code Guide

This article walks through initializing a Spring Boot project, handling version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates common scaffolding code such as global exception handling, logging, CORS configuration, and recommends useful tools like Maven, embedded Redis, MyBatis‑Plus, and MapStruct for backend development.

Backend DevelopmentJavaKafka
0 likes · 9 min read
Spring Boot Project Initialization, Version Management, and Common Scaffold Code Guide
JD Retail Technology
JD Retail Technology
Nov 29, 2024 · Fundamentals

Java Code Style Guidelines: Importance, Standards, and Tool Integration

This article explains why Java code style standards are essential for team collaboration, reviews major guidelines such as Google Java Style and Alibaba's p3c, and provides step‑by‑step instructions for configuring IntelliJ IDEA, Checkstyle, and Maven to enforce consistent, readable, and maintainable Java code.

IntelliJ IDEAJavabest practices
0 likes · 13 min read
Java Code Style Guidelines: Importance, Standards, and Tool Integration
Top Architect
Top Architect
Nov 28, 2024 · Backend Development

Comprehensive Maven Tutorial: Basic Configuration, Dependency Management, Module Setup, Plugin Usage, and Build Settings

This article provides a thorough step‑by‑step guide to using Maven for Java backend projects, covering repository configuration, basic POM structure, dependency inclusion and exclusion, module management, unified dependency handling, essential plugins such as jar, assembly and shade, and detailed build settings with code examples.

Backend DevelopmentJavabuild tools
0 likes · 24 min read
Comprehensive Maven Tutorial: Basic Configuration, Dependency Management, Module Setup, Plugin Usage, and Build Settings
Java Architect Essentials
Java Architect Essentials
Nov 28, 2024 · Backend Development

Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Module Management, and Plugin Usage

This article provides a detailed tutorial on Maven, covering its basic configuration, repository setup, dependency management (including scopes, exclusions, and version variables), multi‑module organization, unified dependency management, and common build plugins such as jar, assembly, and shade, with complete code examples and explanations.

JavaPluginsbuild tools
0 likes · 22 min read
Comprehensive Guide to Maven: Basic Configuration, Dependency Management, Module Management, and Plugin Usage
Java Architect Essentials
Java Architect Essentials
Nov 20, 2024 · Backend Development

Common Java Backend Pitfalls and Practical Solutions

The article shares a Java backend developer’s recent challenges—including duplicated configuration files, hard‑coded parameters, mixed logging practices, unchecked Maven dependencies, and production database inconsistencies—and offers practical solutions such as consolidating Spring configuration, standardizing logging, enforcing code reviews, and proper Maven pom handling.

ConfigurationJavabest practices
0 likes · 6 min read
Common Java Backend Pitfalls and Practical Solutions
Code Ape Tech Column
Code Ape Tech Column
Nov 18, 2024 · Backend Development

How to Slim Down SpringBoot Jar Packages for Faster Deployment

This guide explains how to analyze the structure of a SpringBoot jar, separate your own classes from third‑party dependencies, reconfigure Maven packaging to produce a much smaller zip‑layout jar, and deploy it efficiently by uploading only the necessary libraries.

Jar SlimmingJavaSpringBoot
0 likes · 6 min read
How to Slim Down SpringBoot Jar Packages for Faster Deployment
macrozheng
macrozheng
Nov 18, 2024 · Backend Development

How to Turn Java Swing Apps into Standalone Executables: A Practical Guide

This article explores Java Swing packaging challenges, compares five distribution methods—including GraalVM, JLink, and Exe4J—highlights their pros and cons, and demonstrates a custom WinForm tool that bundles a Swing program with a minimal JRE into a double‑clickable executable.

ExecutableJLinkJava
0 likes · 8 min read
How to Turn Java Swing Apps into Standalone Executables: A Practical Guide
Architect's Guide
Architect's Guide
Nov 13, 2024 · Backend Development

Designing a Modular Spring Boot Backend Project: Principles, Module Structure, and Maven Configuration

This article presents a comprehensive guide to building a Spring Boot backend system by outlining essential design principles, detailing a multi‑module architecture with clear responsibilities, and providing complete Maven POM configurations for each module to enable scalable and maintainable development.

Backend ArchitectureJavaMicroservices
0 likes · 14 min read
Designing a Modular Spring Boot Backend Project: Principles, Module Structure, and Maven Configuration
Code Ape Tech Column
Code Ape Tech Column
Oct 30, 2024 · Backend Development

Project Initialization, Version Management, and Core Scaffold for a Spring Boot Application

This article walks through setting up a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates common pitfalls, and provides essential scaffold code such as global exception handling, logging, CORS configuration, Swagger setup, and response wrappers.

Exception HandlingJavaSpring Boot
0 likes · 9 min read
Project Initialization, Version Management, and Core Scaffold for a Spring Boot Application
Java Architect Essentials
Java Architect Essentials
Oct 28, 2024 · Information Security

Protecting Spring Boot Applications with Classfinal Maven Plugin: Code Encryption and Machine‑Bound Execution

This article explains how to secure Spring Boot deployment packages by using Maven plugins for code obfuscation and encryption, configuring classfinal‑maven‑plugin to encrypt class files, configuration files, and libraries, and demonstrates password‑less and password‑protected startup as well as machine‑bound execution to prevent reverse engineering.

ClassFinalCode EncryptionJava
0 likes · 6 min read
Protecting Spring Boot Applications with Classfinal Maven Plugin: Code Encryption and Machine‑Bound Execution