Tagged articles
699 articles
Page 3 of 7
Top Architect
Top Architect
Oct 25, 2024 · Backend Development

Maven Basics: Configuration, Dependency Management, Modules, Plugins, and Build Settings

This article provides a comprehensive guide to Maven, covering repository configuration, basic project setup, dependency declaration and management, module organization, unified version control, essential plugins such as jar, assembly, and shade, as well as build settings like compiler version, resource exclusion, and main class definition.

ModulesPluginsbuild tools
0 likes · 17 min read
Maven Basics: Configuration, Dependency Management, Modules, Plugins, and Build Settings
Architecture Digest
Architecture Digest
Oct 25, 2024 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Development Tools Guide

This article walks through the challenges of setting up a Java development environment, demonstrates how to create a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, showcases essential Maven configurations and code snippets for global exception handling, logging, CORS, Swagger, and recommends useful in‑memory tools such as embedded Redis, DB, Kafka, Hutool, MyBatis‑Plus, MapStruct, and Redisson.

ConfigurationSpring Bootbackend-development
0 likes · 11 min read
Spring Boot Project Initialization, Version Management, and Common Development Tools Guide
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2024 · Information Security

Guide to Using the Sensitive‑Word Java Library for Sensitive Word Detection and Replacement

This article provides a step‑by‑step tutorial on integrating the Sensitive‑Word Java library via Maven, demonstrates core find/replace APIs, showcases advanced detection features such as email, URL, IPv4 and custom replacement strategies, and includes complete code examples and output results.

BackendSensitive WordText Filtering
0 likes · 12 min read
Guide to Using the Sensitive‑Word Java Library for Sensitive Word Detection and Replacement
Architect
Architect
Oct 20, 2024 · Backend Development

Spring Boot Project Setup: Initialization, Version Management, and Core Scaffold Code

This article walks through creating a Spring Boot project, handling IDE setup, managing Spring Cloud and Kafka version compatibility, using Maven for dependency management, and provides essential scaffold code such as global exception handling, logging aspects, CORS configuration, and Swagger integration.

CORSException HandlingSpring Boot
0 likes · 12 min read
Spring Boot Project Setup: Initialization, Version Management, and Core Scaffold Code
Top Architect
Top Architect
Oct 20, 2024 · Backend Development

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

This article provides a detailed tutorial on Maven, covering basic project configuration, repository setup, POM structure, dependency declaration and scopes, indirect dependencies, exclusions, variable properties, multi‑module management, unified dependency management, essential plugins such as jar, assembly and shade, as well as build settings like compiler version, resource exclusion, and main‑class definition.

Pluginsbackend-developmentbuild tools
0 likes · 22 min read
Comprehensive Maven Guide: Configuration, Dependency Management, Modules, Plugins, and Build Settings
Architect's Guide
Architect's Guide
Oct 17, 2024 · Backend Development

Using JXLS for Complex Excel Export in Java Backend Applications

This article introduces the JXLS library for Java, explains how to add Maven dependencies, provides backend utility and controller code for exporting Excel files, and details common XLS expressions such as jx:area, jx:each, jx:mergeCells, and dynamic column handling to simplify complex Excel report generation.

BackendDynamic Columnsexcel-export
0 likes · 8 min read
Using JXLS for Complex Excel Export in Java Backend Applications
Top Architect
Top Architect
Oct 13, 2024 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Backend Utilities Tutorial

This article walks through creating a Spring Boot project, handling version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates common Maven configurations, provides global exception handling and logging aspects, and lists useful backend tools such as embedded Redis, MyBatis‑Plus, and Redisson.

SpringBootVersionManagementexceptionhandling
0 likes · 13 min read
Spring Boot Project Initialization, Version Management, and Common Backend Utilities Tutorial
Code Ape Tech Column
Code Ape Tech Column
Oct 8, 2024 · Backend Development

Generating Dynamic PDF Invoices with iTextPdf in Java

This article explains how to use the iTextPdf library in Java to design a PDF template, fill fixed fields, dynamically generate product tables, and merge the two parts into a single invoice PDF, including Maven dependencies and sample code.

PDFSpringBootiTextPDF
0 likes · 12 min read
Generating Dynamic PDF Invoices with iTextPdf in Java
Top Architect
Top Architect
Sep 28, 2024 · Backend Development

Comprehensive Maven Guide: Configuration, Dependency Management, Multi‑Module Projects, and Plugins

This article provides a detailed tutorial on using Maven for Java projects, covering basic repository setup, dependency declaration, scope options, indirect dependencies, exclusions, variable properties, multi‑module configuration, dependencyManagement, and essential plugins such as jar, assembly, and shade, with practical code examples and best‑practice recommendations.

Multi‑modulePluginsShade
0 likes · 22 min read
Comprehensive Maven Guide: Configuration, Dependency Management, Multi‑Module Projects, and Plugins
Java Backend Technology
Java Backend Technology
Sep 26, 2024 · Backend Development

How to Quickly Bootstrap a Spring Boot Project and Avoid Common Version Pitfalls

This guide walks you through the pain points of environment setup, shows step‑by‑step creation of a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot and Kafka, and provides ready‑to‑use Maven configurations, global exception handling, logging, CORS, Swagger, and a curated list of useful development tools.

Exception HandlingSpring BootSwagger
0 likes · 11 min read
How to Quickly Bootstrap a Spring Boot Project and Avoid Common Version Pitfalls
DaTaobao Tech
DaTaobao Tech
Sep 23, 2024 · Backend Development

Root Cause Analysis of Missing Logs after Tomcat 7→8 Upgrade

After upgrading from Tomcat 7 to Tomcat 8, the application’s mixed log4j‑1.4 and logback‑1.2.3 dependencies caused the SLF4J binder to be loaded nondeterministically, so Tomcat 8 sometimes selected the Log4j binder without a configuration file, resulting in completely missing log output; removing the conflicting jars or enforcing a deterministic class‑loading order restored logging.

Tomcatclassloaderdebugging
0 likes · 19 min read
Root Cause Analysis of Missing Logs after Tomcat 7→8 Upgrade
macrozheng
macrozheng
Sep 23, 2024 · Fundamentals

28 Essential IntelliJ IDEA Tips to Supercharge Your Java Development

This guide presents 28 practical IntelliJ IDEA tricks—from viewing code history and adjusting memory settings to customizing keymaps, code inspections, Maven dependency visualization, and multi‑instance debugging—helping Java developers dramatically boost productivity and streamline daily workflows.

Code navigationIDE TipsIntelliJ IDEA
0 likes · 13 min read
28 Essential IntelliJ IDEA Tips to Supercharge Your Java Development
Lobster Programming
Lobster Programming
Sep 18, 2024 · Backend Development

How to Build and Use a Custom Spring Boot Starter in Minutes

Learn step‑by‑step how to create a custom Spring Boot starter, configure its properties, define services and controllers, register it via spring.factories, and then integrate the starter into other projects with Maven dependencies and configuration files.

ConfigurationCustom StarterSpring Boot
0 likes · 5 min read
How to Build and Use a Custom Spring Boot Starter in Minutes
Architect
Architect
Sep 11, 2024 · Information Security

How to Secure Your Spring Boot JAR Against Decompilation with ClassFinal

This guide explains how to protect a Spring Boot release package from source leakage by comparing code obfuscation and encryption, detailing the configuration of the classfinal‑maven‑plugin, launch commands with and without passwords, and binding the encrypted jar to a specific machine.

ClassFinalCode EncryptionJar Protection
0 likes · 7 min read
How to Secure Your Spring Boot JAR Against Decompilation with ClassFinal
Top Architect
Top Architect
Sep 9, 2024 · Backend Development

Backend Development Guide: Spring Boot Project Initialization, Version Management, and Common Utilities

This article walks through the challenges of setting up a Java backend environment, demonstrates how to create a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, and provides reusable code snippets for exception handling, logging, CORS, Swagger, and response wrapping, along with recommended tools.

MicroservicesSpring Bootbackend-development
0 likes · 13 min read
Backend Development Guide: Spring Boot Project Initialization, Version Management, and Common Utilities
Top Architect
Top Architect
Sep 8, 2024 · Backend Development

Spring Boot DevTools, Lombok, and Configuration Processor: Setup and Usage Guide

This article explains how to enable hot deployment in Spring Boot using DevTools, configure automatic recompilation in IDEs, simplify Java bean code with Lombok, and add the Spring Configuration Processor for property metadata, providing Maven snippets and step‑by‑step instructions.

ConfigurationProcessorDevToolsLombok
0 likes · 8 min read
Spring Boot DevTools, Lombok, and Configuration Processor: Setup and Usage Guide
macrozheng
macrozheng
Sep 3, 2024 · Backend Development

Maven vs Gradle: Which Build Tool Wins for Java Projects?

This article compares Maven and Gradle, outlining their core concepts, build performance, flexibility, learning curve, and stability to help Java developers choose the most suitable build tool for their projects.

GradleJava Build ToolsLearning Curve
0 likes · 8 min read
Maven vs Gradle: Which Build Tool Wins for Java Projects?
IT Services Circle
IT Services Circle
Sep 1, 2024 · Backend Development

Maven vs Gradle: A Comparative Guide for Java Build Tools

The article compares Maven and Gradle, detailing their histories, core concepts, advantages, disadvantages, and performance differences, and offers practical advice for Java developers on choosing the most suitable build tool for their projects.

Gradlebuild toolsdependency management
0 likes · 8 min read
Maven vs Gradle: A Comparative Guide for Java Build Tools
Top Architect
Top Architect
Aug 27, 2024 · Backend Development

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

This article provides a detailed tutorial on Maven, covering repository configuration, basic project structure, dependency management, module inheritance, unified version control, and common build plugins such as jar, assembly, and shade, with practical XML examples and code snippets for Java backend projects.

ModulesPluginsbackend-development
0 likes · 26 min read
Comprehensive Maven Guide: Basic Configuration, Dependency Management, Module Setup, and Plugin Usage
Java Tech Enthusiast
Java Tech Enthusiast
Aug 21, 2024 · Backend Development

Common Configuration and Code Issues in a New Java Backend Project

On his first day the new Java backend developer discovered duplicated internal and external configuration files causing NullPointerExceptions, hard‑coded role strings, mixed System.out and logger calls, missing manager review leading to DB mismatches, arbitrary production database edits, and Maven pom‑type dependency errors, prompting a shift to unified application.yml settings, JVM‑specified config locations, consistent logging, and stricter coding standards.

Configurationbackend-developmentjava
0 likes · 5 min read
Common Configuration and Code Issues in a New Java Backend Project
FunTester
FunTester
Aug 14, 2024 · Backend Development

Mastering Java Agents: Build, Package, and Deploy Runtime Instrumentation

This guide explains what Java Agents are, their core capabilities such as bytecode enhancement, performance monitoring, security checks, and debugging, and provides step‑by‑step instructions for implementing the premain method, creating a ClassFileTransformer, packaging the agent with Maven, and loading it both statically and dynamically.

InstrumentationJava AgentPerformance Monitoring
0 likes · 10 min read
Mastering Java Agents: Build, Package, and Deploy Runtime Instrumentation
Java Tech Enthusiast
Java Tech Enthusiast
Aug 4, 2024 · Information Security

Java Code Obfuscation and Encryption with ProGuard, Xjar, and ClassFinal

The guide explains how to protect a Java core module deployed on user servers by integrating ProGuard for bytecode obfuscation, Xjar for JAR encryption, and ClassFinal for class‑file encryption, providing Maven plugin configurations, startup commands, and verification that the combined approach renders decompiled code empty or unreadable.

ClassFinalProGuardXjar
0 likes · 20 min read
Java Code Obfuscation and Encryption with ProGuard, Xjar, and ClassFinal
Code Ape Tech Column
Code Ape Tech Column
Aug 1, 2024 · Information Security

Using ProGuard, Xjar, and ClassFinal for Java JAR Obfuscation and Encryption in Spring Boot Projects

This article explains how to protect Java backend code deployed on user servers by applying ProGuard, Xjar, and ClassFinal for JAR obfuscation and encryption, detailing Maven configurations, startup commands, decompilation results, and best‑practice integration of both tools in a Spring Boot project.

ObfuscationProGuardXjar
0 likes · 24 min read
Using ProGuard, Xjar, and ClassFinal for Java JAR Obfuscation and Encryption in Spring Boot Projects
Top Architect
Top Architect
Jul 29, 2024 · Backend Development

Design Principles and Module Structure for a Spring Boot Backend Project (XiaoLe)

This article outlines essential backend design principles such as single responsibility, high cohesion, low coupling, reusability, clear boundaries, moderate modularity, layered architecture, dependency inversion, testability and future adaptability, and demonstrates their application in a multi‑module Spring Boot project with detailed Maven configurations.

Spring Bootjavamaven
0 likes · 23 min read
Design Principles and Module Structure for a Spring Boot Backend Project (XiaoLe)
macrozheng
macrozheng
Jul 22, 2024 · Backend Development

Mastering MapStruct: Boost Java Object Mapping Beyond BeanUtils

MapStruct is a powerful Java annotation‑based mapper that outperforms BeanUtils by generating compile‑time mapping implementations without reflection, supporting simple, nested, collection, and custom mappings, dependency injection, constants, expressions, and error handling, making object‑DTO conversions efficient and maintainable in Spring Boot projects.

Object MappingSpring Bootjava
0 likes · 19 min read
Mastering MapStruct: Boost Java Object Mapping Beyond BeanUtils
Programmer DD
Programmer DD
Jul 12, 2024 · Backend Development

What’s New in VS Code for Java June 2024? Project Settings, Spring & Gradle Updates

The June 2024 VS Code for Java update introduces enhanced project settings with new compiler, Maven, and formatter tabs, easier access via the status bar, test coverage improvements, Gradle Build Server projects, Spring feature upgrades including @DependsOn support and Spring Boot 3.3 compatibility, and new extension packs for Java development.

Extension PackGradleVS Code
0 likes · 8 min read
What’s New in VS Code for Java June 2024? Project Settings, Spring & Gradle Updates
Dangbei Technology Team
Dangbei Technology Team
Jul 5, 2024 · Backend Development

Master Maven Archetype: Quickly Bootstrap Consistent Java Projects

Learn how to use Maven Archetype to create standardized project skeletons, customize templates, generate and share archetypes, and integrate them into IDEs, streamlining Java project initialization, reducing manual setup errors, and improving development efficiency across teams.

ArchetypeBuild Automationjava
0 likes · 6 min read
Master Maven Archetype: Quickly Bootstrap Consistent Java Projects
MaGe Linux Operations
MaGe Linux Operations
Jun 21, 2024 · Operations

Fix Jenkins Pipeline Errors: Plugin Updates, Maven Build Failures, Git Config

This guide walks through fixing four common Jenkins pipeline problems: replacing unreachable plugin update sites with domestic mirrors, resolving Maven build errors caused by missing server JVM libraries, clearing stale Git config lock files, and adjusting file descriptor limits on build nodes to prevent out‑of‑resource failures.

JenkinsPipelineci/cd
0 likes · 6 min read
Fix Jenkins Pipeline Errors: Plugin Updates, Maven Build Failures, Git Config
Top Architect
Top Architect
May 31, 2024 · Backend Development

How to Skip Tests When Packaging a Maven Project

This article explains why Maven runs unit tests during the package phase, describes the Maven lifecycle, and provides several practical methods—including command‑line flags, pom.xml configuration, and IDE settings—to skip tests when building a Java project.

CISkipTestsbuild
0 likes · 9 min read
How to Skip Tests When Packaging a Maven Project
Code Ape Tech Column
Code Ape Tech Column
May 25, 2024 · Artificial Intelligence

Introducing Spring AI: Integrating Artificial Intelligence into Spring Boot Applications

Spring AI brings artificial‑intelligence capabilities to the Spring Boot ecosystem, offering model support, vector‑database integration, SQL‑like filtering, and easy Maven configuration, enabling Java developers to add generative AI, semantic search, and AI‑driven image generation to their backend applications.

Artificial IntelligenceSpring Bootgenerative AI
0 likes · 6 min read
Introducing Spring AI: Integrating Artificial Intelligence into Spring Boot Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2024 · Backend Development

Master Spring Boot 3.2.5: Maven Property Expansion & Advanced Config

This guide demonstrates how to leverage Maven resource filtering for automatic property expansion in Spring Boot 3.2.5, configure externalized settings via spring.main and system properties, customize configuration file locations, activate profiles, set parent containers, modify DispatcherServlet paths, enable Tomcat access logs, MBean registry, and generate build and Git metadata.

ConfigurationExternalized ConfigSpring Boot
0 likes · 9 min read
Master Spring Boot 3.2.5: Maven Property Expansion & Advanced Config
Java High-Performance Architecture
Java High-Performance Architecture
May 10, 2024 · Backend Development

How to Slim Down SpringBoot JARs: Remove Unused Libraries for Faster Deployments

This guide explains why SpringBoot JARs become bulky when many dependencies are included, shows how to inspect the packaged libraries, and provides step‑by‑step Maven configurations and runtime commands to build a leaner JAR that loads external libs only when needed, dramatically speeding up deployment.

Jar OptimizationSpringBootjava
0 likes · 6 min read
How to Slim Down SpringBoot JARs: Remove Unused Libraries for Faster Deployments
macrozheng
macrozheng
Apr 30, 2024 · Operations

How to Automate Java SpringBoot Deployment with Jenkins and Docker Swarm

This guide walks you through setting up Jenkins to pull code from GitLab, build a SpringBoot 3 Java project with Maven, back up and copy JAR files to a remote server, and perform rolling updates of Docker Swarm services, all with step‑by‑step instructions and code snippets.

DeploymentDocker SwarmJenkins
0 likes · 10 min read
How to Automate Java SpringBoot Deployment with Jenkins and Docker Swarm
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 27, 2024 · Backend Development

Maven Helper Plugin: Installation and Usage Guide

This article introduces the Maven Helper plugin, explains how to install it both online and offline in IntelliJ IDEA, and demonstrates its key features for simplifying Maven dependency management, conflict resolution, and project packaging, helping developers focus on coding rather than build complexities.

Build ToolIntelliJ IDEAdependency management
0 likes · 5 min read
Maven Helper Plugin: Installation and Usage Guide
Kuaishou Tech
Kuaishou Tech
Apr 25, 2024 · Backend Development

Engineering Architecture Governance: Jar Package Management, IDEA Performance, and Maven Dependency Optimization at Kuaishou

This article details Kuaishou's engineering architecture governance process, covering project background, IDEA performance bottlenecks, cloud‑based IDE solutions, MavenHelper and custom Maven plugins for dependency analysis, handling NoClassDefFoundError issues, and static‑dynamic class dependency detection to improve backend build efficiency.

IDEAarchitecture governancedependency management
0 likes · 13 min read
Engineering Architecture Governance: Jar Package Management, IDEA Performance, and Maven Dependency Optimization at Kuaishou
macrozheng
macrozheng
Apr 16, 2024 · Backend Development

Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation

This article explains how to lower the learning curve of DDD and CQRS by using structured, standardized, and templated approaches, introduces a Maven archetype for rapid project scaffolding, and demonstrates an IntelliJ IDEA plugin that auto‑generates boilerplate code for aggregate roots, commands, queries, and related components.

CQRSDDDSpringBoot
0 likes · 16 min read
Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation
JavaEdge
JavaEdge
Apr 9, 2024 · Fundamentals

What’s New in IntelliJ IDEA 2024.1? Full‑Line Completion, Java 22 Support and More

IntelliJ IDEA 2024.1 introduces full‑line code completion powered by a local deep‑learning model, Java 22 language support, a revamped terminal, sticky lines in the editor, enhanced Maven handling, improved debugging, richer Spring assistance, advanced HTTP client features, and new database tools, all aimed at boosting developer productivity and safety.

IDE FeaturesIntelliJ IDEAcode completion
0 likes · 15 min read
What’s New in IntelliJ IDEA 2024.1? Full‑Line Completion, Java 22 Support and More
JD Cloud Developers
JD Cloud Developers
Apr 3, 2024 · Backend Development

Auto‑Replace Java Getters/Setters with Lombok @Data Using JavaParser

This article explains how to build a Maven‑based tool that scans a Java codebase, removes trivial getter and setter methods, adds Lombok’s @Data annotation, and rewrites the source files using JavaParser, complete with implementation steps, code examples, and usage instructions.

Code RefactoringJavaParserLombok
0 likes · 12 min read
Auto‑Replace Java Getters/Setters with Lombok @Data Using JavaParser
Top Architect
Top Architect
Apr 1, 2024 · Backend Development

Using the ip2region Offline IP Location Library with Java

This article explains how to implement IP‑location lookup by recommending the free ip2region offline library, provides Maven dependency details, shows step‑by‑step Java code for loading the XDB file, querying an IP address, interpreting the result format, and highlights its high accuracy and cross‑region support.

Backendip-locationip2region
0 likes · 7 min read
Using the ip2region Offline IP Location Library with Java
Top Architect
Top Architect
Mar 25, 2024 · Backend Development

Design and Evaluation of Java Backend Code Protection Solutions

This article analyses the challenges of protecting intellectual property in B2B Java applications, reviews existing obfuscation and encryption tools, and proposes a lightweight Maven‑based encryption plus javaagent decryption scheme that secures both proprietary code and third‑party dependencies while keeping performance impact below five percent.

BackendProGuardcode protection
0 likes · 9 min read
Design and Evaluation of Java Backend Code Protection Solutions
Java Tech Enthusiast
Java Tech Enthusiast
Mar 2, 2024 · Backend Development

Dynamic Loading and Unloading of Java Governance Tasks with Custom ClassLoader and XXL‑Job Integration

The article presents a Java Spring solution that uses a custom URLClassLoader to dynamically load, register, and unload governance task JARs as Spring beans and XXL‑Job handlers at runtime, with configuration persistence via YAML or Nacos and Maven Shade packaging for seamless updates without service restarts.

Custom ClassLoaderDynamic LoadingXXL-JOB
0 likes · 21 min read
Dynamic Loading and Unloading of Java Governance Tasks with Custom ClassLoader and XXL‑Job Integration
Java Backend Technology
Java Backend Technology
Mar 1, 2024 · Backend Development

How Graceful Response Simplifies Spring Boot API Development

Graceful Response is a Spring Boot component that provides unified response wrapping, global exception handling, and custom error codes, helping developers reduce boilerplate, improve code readability, and accelerate API development while maintaining consistent error responses.

APIException HandlingResponse wrapper
0 likes · 10 min read
How Graceful Response Simplifies Spring Boot API Development
Java Tech Enthusiast
Java Tech Enthusiast
Feb 12, 2024 · Backend Development

Dynamic Loading and Unloading of Java Governance Tasks with Custom ClassLoader and XXL‑Job Integration

The solution introduces a plug‑in architecture that uses a custom URLClassLoader to load governance task JARs at runtime, registers their Spring beans and @XxlJob handlers with XXL‑Job, and provides unload logic to deregister jobs, destroy beans, and update configuration via YAML or Nacos without restarting the service.

Dynamic LoadingNacosXXL-JOB
0 likes · 21 min read
Dynamic Loading and Unloading of Java Governance Tasks with Custom ClassLoader and XXL‑Job Integration
macrozheng
macrozheng
Feb 6, 2024 · Backend Development

How to Package Spring Boot Apps with External Dependencies Using Maven

This article explains how to package a Spring Boot application so that its dependencies are stored externally and loaded at runtime using Maven plugins and the PropertiesLauncher, enabling easy replacement of individual libraries without rebuilding the entire fat jar.

Backendexternal-dependenciesmaven
0 likes · 6 min read
How to Package Spring Boot Apps with External Dependencies Using Maven
MaGe Linux Operations
MaGe Linux Operations
Feb 2, 2024 · Cloud Native

Connect Java Maven Apps to Kubernetes with kubeconfig & ServiceAccount

This guide demonstrates how to set up a Maven project with the Fabric8 Kubernetes Java client, configure minimal kubeconfig or ServiceAccount credentials, and use sample code to list namespaces, illustrating essential steps for connecting Java applications to a Kubernetes cluster with minimal configuration.

Fabric8KubernetesServiceAccount
0 likes · 6 min read
Connect Java Maven Apps to Kubernetes with kubeconfig & ServiceAccount
政采云技术
政采云技术
Jan 31, 2024 · Backend Development

Understanding Maven Dependency Conflicts and Resolution Strategies

This article explains Maven dependency conflicts, their causes, resolution principles like path-nearest and declaration-first, and practical solutions including exclusions, optional dependencies, dependency management, and the Maven Helper plugin for analyzing and fixing jar version clashes.

Dependency AnalyzerExclusionsJava build
0 likes · 12 min read
Understanding Maven Dependency Conflicts and Resolution Strategies
Code Ape Tech Column
Code Ape Tech Column
Jan 31, 2024 · Backend Development

Custom Spring Boot Packaging with External Dependencies Using Maven Plugins

This article explains how to create a Spring Boot fat‑jar that externalizes its dependencies by configuring the spring‑boot‑maven‑plugin and maven‑assembly‑plugin to produce a ZIP layout, then uses the PropertiesLauncher with loader.path to load libraries from a separate libs directory at runtime.

Spring Bootbackend-developmentjava
0 likes · 6 min read
Custom Spring Boot Packaging with External Dependencies Using Maven Plugins
Selected Java Interview Questions
Selected Java Interview Questions
Jan 30, 2024 · Backend Development

Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects

This article explains how to protect Java server-side code from decompilation by applying ProGuard shrinking/obfuscation and Xjar/ClassFinal encryption, provides detailed Maven plugin configurations, sample pom.xml snippets, command‑line launch options, and demonstrates the resulting protected JARs with screenshots.

ObfuscationProGuardSpring Boot
0 likes · 22 min read
Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects
Java Architect Essentials
Java Architect Essentials
Jan 30, 2024 · Backend Development

Using ProGuard for Java Code Obfuscation in Maven Projects

This article explains how to protect Java applications from decompilation by configuring a ProGuard file and adding the ProGuard Maven plugin, then building the project to generate an obfuscated JAR, complete with step‑by‑step instructions and sample configuration code.

BackendObfuscationProGuard
0 likes · 5 min read
Using ProGuard for Java Code Obfuscation in Maven Projects
Architect's Guide
Architect's Guide
Jan 21, 2024 · Backend Development

Retrieving User IP Address and Geolocation in Java with ip2region

This article explains how to obtain a client’s IP address from an HttpServletRequest, convert it to a geographic location using the ip2region library, and provides multiple Java implementation options, Maven dependencies, and performance testing commands for efficient backend IP lookup.

BackendIP geolocationip2region
0 likes · 15 min read
Retrieving User IP Address and Geolocation in Java with ip2region
Java Tech Enthusiast
Java Tech Enthusiast
Jan 19, 2024 · Fundamentals

Understanding Maven Version Ranges and Dependency Management

Maven’s version ranges let you specify acceptable artifact versions, but open‑ended ranges like [2.3.0,) cause Maven to fetch the newest matching release, leading to nondeterministic builds and potential incompatibilities, so you should pin exact versions and use dependencyManagement for consistent, stable builds.

Version Rangesbuild toolsdependency management
0 likes · 6 min read
Understanding Maven Version Ranges and Dependency Management
Java Tech Enthusiast
Java Tech Enthusiast
Jan 11, 2024 · Backend Development

Resolving Maven Archetype Generation Issues

When Maven’s archetype plugin hangs during project generation, you can resolve it by specifying archetypeCatalog=internal or local as a command-line or VM option, placing a downloaded archetype-catalog.xml in ~/.m2, or configuring a domestic mirror in settings.xml, after which generation completes in seconds.

ArchetypeIDEbuild
0 likes · 4 min read
Resolving Maven Archetype Generation Issues
Java Architect Essentials
Java Architect Essentials
Jan 8, 2024 · Backend Development

Using MapStruct for Efficient Java Bean Copying and Mapping

This article explains why manual property copying in Java is inefficient, compares several runtime bean‑copy utilities, and demonstrates how MapStruct provides a compile‑time, type‑safe, high‑performance solution for shallow and deep object mapping, including handling of collections and ignored fields.

Object Copybean-mappingcglib
0 likes · 13 min read
Using MapStruct for Efficient Java Bean Copying and Mapping
FunTester
FunTester
Dec 27, 2023 · Backend Development

Resolving java.lang.UnsupportedOperationException: PermittedSubclasses Requires by Updating ASM and Related Dependencies

This guide explains how to troubleshoot and fix the UnsupportedOperationException caused by missing or outdated ASM libraries when upgrading the JDK, covering removal of old Maven dependencies, adding the correct ASM version, updating Groovy and related plugins, and disabling the Log4j shutdown hook warning.

ASMJDKdependency-management
0 likes · 5 min read
Resolving java.lang.UnsupportedOperationException: PermittedSubclasses Requires by Updating ASM and Related Dependencies
Architecture Digest
Architecture Digest
Dec 26, 2023 · Backend Development

Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus

This article introduces mybatis-plus-generator-ui, a highly customizable web‑based code generator built on MyBatis‑Plus that supports multiple databases, offers interactive UI for generating Entity, Mapper, Service, Controller and other layers, and provides detailed usage, configuration, and extension instructions for Java backend developers.

Code GeneratorMyBatis-PlusSpring Boot
0 likes · 14 min read
Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus
Java Captain
Java Captain
Dec 19, 2023 · Backend Development

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

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

ClassFinalSpring Bootcode obfuscation
0 likes · 6 min read
Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin
JD Tech
JD Tech
Dec 5, 2023 · Backend Development

Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Benefits, New Language Features, and Migration Steps

This article explains why upgrading to JDK 17 is essential, outlines the long‑term support, performance gains from modern garbage collectors like ZGC, new language features such as switch expressions and records, and provides detailed migration steps, Maven and Spring Boot configuration, and troubleshooting tips for a smooth transition.

JDKSpringBootmaven
0 likes · 18 min read
Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Benefits, New Language Features, and Migration Steps
JD Retail Technology
JD Retail Technology
Nov 27, 2023 · Backend Development

Building a Custom Maven Archetype (Scaffolding) for Spring Boot Projects from Scratch

This article explains how to create a reusable Maven archetype for Spring Boot applications, covering the definition and benefits of scaffolding, step‑by‑step template preparation, archetype generation, artifact adjustments, publishing to a repository, and using the scaffold to quickly start new microservice projects.

ArchetypeSpring Bootmaven
0 likes · 8 min read
Building a Custom Maven Archetype (Scaffolding) for Spring Boot Projects from Scratch
JD Cloud Developers
JD Cloud Developers
Nov 15, 2023 · Backend Development

Why Upgrade to JDK 17? Full Migration Guide from JDK 11 with Benchmarks

This article examines the benefits of moving from JDK 11 to the long‑term support JDK 17, detailing performance gains—especially sub‑millisecond ZGC pause times—new language features, compatibility considerations, benchmark results, and step‑by‑step migration instructions for Spring‑based applications.

SpringBootjavajdk17
0 likes · 15 min read
Why Upgrade to JDK 17? Full Migration Guide from JDK 11 with Benchmarks
Java Interview Crash Guide
Java Interview Crash Guide
Nov 13, 2023 · Backend Development

Boost Java Projects with Hutool: Essential Utility Library Overview

This article introduces Hutool, a comprehensive Java utility library that consolidates common functions such as file handling, encryption, date manipulation, and more, explains its key modules, shows how to add it via Maven, and provides practical code examples for utilities like DateUtil, StrUtil, NumberUtil, and SecureUtil.

Code ExamplesUtility Librarybackend-development
0 likes · 9 min read
Boost Java Projects with Hutool: Essential Utility Library Overview
Java Architect Essentials
Java Architect Essentials
Nov 9, 2023 · Backend Development

Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat

This article explains why a Spring Boot application runs with the configured port when packaged as a JAR using the embedded Tomcat, but switches to Tomcat's default port and context path when deployed as a WAR, and provides step‑by‑step instructions to package and deploy both formats along with historical context and technical differences.

JARSpring BootTomcat
0 likes · 14 min read
Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat
Architecture Digest
Architecture Digest
Oct 17, 2023 · Backend Development

Introduction to Hutool: A Comprehensive Java Utility Library

This article introduces Hutool, a versatile Java utility library that consolidates common functions such as file handling, encryption, caching, and more, provides Maven installation instructions, and demonstrates practical code examples for date, string, number, map, security, and captcha utilities.

Code ExamplesUtility Librarybackend-development
0 likes · 8 min read
Introduction to Hutool: A Comprehensive Java Utility Library
政采云技术
政采云技术
Sep 26, 2023 · Backend Development

Understanding Lombok: Introduction, Compilation Principles, and a Manual @Getter Implementation

This article introduces Lombok, explains how it leverages Java's annotation‑processing (JSR‑269) and abstract syntax tree (AST) modifications to generate boilerplate code at compile time, and provides a step‑by‑step guide to manually implement a @Getter annotation processor with full Maven project examples.

ASTAnnotation ProcessingLombok
0 likes · 21 min read
Understanding Lombok: Introduction, Compilation Principles, and a Manual @Getter Implementation
JD Retail Technology
JD Retail Technology
Sep 1, 2023 · Backend Development

Root Cause Analysis and Resolution of Disk Usage Alert in a Java Application

After a Java system went live, a disk usage alert exceeding 90% prompted an investigation that uncovered a third‑party jar’s debug‑level Log4j configuration writing large logs to the root directory, and the issue was resolved by excluding the offending jar via Maven, highlighting the need for careful dependency management.

Backenddisk usagejava
0 likes · 4 min read
Root Cause Analysis and Resolution of Disk Usage Alert in a Java Application
JD Tech
JD Tech
Sep 1, 2023 · Backend Development

JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning

This article documents a comprehensive upgrade from JDK 8 to JDK 17, detailing new language and JVM features, evaluation criteria for selecting services, step‑by‑step migration of Maven settings, dependencies, SpringBoot and middleware, performance testing results, and ZGC‑focused garbage‑collector tuning.

JDKSpringBootgc
0 likes · 21 min read
JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

JARSpring BootTomcat
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
政采云技术
政采云技术
Aug 29, 2023 · Backend Development

Maven Dependency Principles, Conflict Resolution, and Loading Process

This article explains the three main Maven dependency principles—shortest‑path priority, declaration order priority, and override priority—illustrates them with concrete examples and code snippets, describes common conflict errors, and outlines the complete Maven dependency loading workflow.

build toolsconflict resolutiondependency management
0 likes · 9 min read
Maven Dependency Principles, Conflict Resolution, and Loading Process
Selected Java Interview Questions
Selected Java Interview Questions
Aug 25, 2023 · Backend Development

Using JXLS for Complex Excel Export in Java

This article introduces the JXLS library for Java, explains how to add Maven dependencies, provides backend utility and controller code for exporting Excel files, and details template creation and common JXLS expressions such as jx:area, jx:each, jx:mergeCells, and dynamic column handling.

backend-developmentexcel-exportjava
0 likes · 6 min read
Using JXLS for Complex Excel Export in Java
Java Interview Crash Guide
Java Interview Crash Guide
Aug 17, 2023 · Backend Development

Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips

This guide compiles a comprehensive set of IntelliJ IDEA configurations and shortcuts—including SVN change indicators, multi‑project windows, Tomcat UTF‑8 fixes, import settings, compilation speed tweaks, global encoding, serialVersionUID generation, Maven/Tomcat setup, file exclusion, language injection, and quote wrapping—to streamline Java backend development.

IDE configurationIntelliJ IDEATomcat
0 likes · 6 min read
Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips
Java Architecture Diary
Java Architecture Diary
Aug 14, 2023 · Cloud Native

Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup

Spring Cloud 2023.0 (Leiden) milestone, built on Spring Boot 3.2, introduces updated dependencies, repository configurations, and early support for MVC Server in Spring Cloud Gateway, enhanced Kafka Streams handling in Spring Cloud Stream, Java HttpClient in OpenFeign, and upgraded Kubernetes integration, with source code and deployment links provided.

Microservicescloud-nativemaven
0 likes · 6 min read
Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup
Code Ape Tech Column
Code Ape Tech Column
Aug 9, 2023 · Operations

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

This tutorial walks through a complete, step‑by‑step setup of a one‑click CI/CD pipeline that installs Docker and Jenkins on CentOS, configures Maven, creates a Jenkins job, builds a Spring Boot JAR, packages it into a Docker image, and runs the container, providing all commands and screenshots for a seamless deployment experience.

CentOSJenkinsSpring Boot
0 likes · 6 min read
One‑Click Automated Deployment of Spring Boot with Jenkins and Docker
JD Tech
JD Tech
Aug 8, 2023 · Backend Development

Creating a Custom Maven Archetype Scaffold for Spring Boot Projects

This guide walks through building a reusable Maven archetype scaffold from a Spring Boot template, covering template preparation, Maven configuration, archetype generation, publishing to a repository, and using the scaffold to quickly create new backend projects.

ArchetypeSpring Bootbackend-development
0 likes · 9 min read
Creating a Custom Maven Archetype Scaffold for Spring Boot Projects
Su San Talks Tech
Su San Talks Tech
Aug 6, 2023 · Backend Development

Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading

A Java developer added fastjson to a SkyWalking agent for JSON conversion, causing class‑loading conflicts in a SpringBoot 2 application; the article analyzes the root cause, demonstrates debugging steps, explains the parent‑delegation mechanism, and presents solutions using Maven shade relocation or switching to Gson, with practical lessons for avoiding similar issues.

Dependency ConflictGsonSpringBoot
0 likes · 14 min read
Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 2, 2023 · Backend Development

Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict

This article analyzes how adding Fastjson to a SpringBoot agent causes classloader conflicts that prevent GenericHttpMessageConverter from loading, explains the underlying parent‑delegation mechanism, and presents solutions such as using Maven Shade to rename packages or switching to a lightweight JSON library like Gson.

Dependency ConflictGsonSpringBoot
0 likes · 16 min read
Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict