Tagged articles

Maven

749 articles · Page 4 of 8
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.

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

ClassLoaderDynamic LoadingJava
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.

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

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

Backend DevelopmentJavaMaven
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.

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

BackendJavaMaven
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 GeolocationJava
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.

Build ToolsJavaMaven
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.

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

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

ASMJDKMaven
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 GeneratorJavaMaven
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.

ClassFinalJavaMaven
0 likes · 6 min read
Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin
IT Niuke
IT Niuke
Dec 18, 2023 · Backend Development

Understanding Maven Module Inheritance and Aggregation for Multi‑Module Project Builds

This article explains Maven's inheritance and aggregation features, including the super POM, parent POM configuration, module aggregation syntax, reactor build order, dependency management, property definitions, and useful command‑line options, all illustrated with a simple multi‑module demo.

MavenPropertiesdependencyManagement
0 likes · 18 min read
Understanding Maven Module Inheritance and Aggregation for Multi‑Module Project Builds
IT Niuke
IT Niuke
Dec 16, 2023 · Backend Development

Mastering Maven Dependency Management: Config, Scope, Transitivity, and Lifecycle

This article explains Maven’s dependency management by covering how to configure dependencies in pom.xml, the concepts of direct and transitive dependencies, scope definitions, conflict resolution, circular‑dependency risks, and the Maven build lifecycle with practical XML examples and visual illustrations.

Build ToolsJavaMaven
0 likes · 17 min read
Mastering Maven Dependency Management: Config, Scope, Transitivity, and Lifecycle
IT Niuke
IT Niuke
Dec 16, 2023 · Fundamentals

Maven Basics: Create, Run Projects and Understand POM Coordinates & Version Rules

This tutorial walks through creating a Maven project via archetype or IDE, explains the standard directory layout, breaks down the essential elements of a pom.xml—including coordinates, dependencies, and versioning conventions—and shows how to package and run an executable JAR using the shade plugin.

IDEJavaMaven
0 likes · 14 min read
Maven Basics: Create, Run Projects and Understand POM Coordinates & Version Rules
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.

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

ArchetypeMavenSpring Boot
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.

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

Backend DevelopmentCode ExamplesHutool
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.

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

Backend DevelopmentCode ExamplesHutool
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 ProcessingCode Generation
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.

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

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

MavenPackagingSpring Boot
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 ToolsJavaMaven
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 IDEAJava
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.

MavenMicroservicescloud-native
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.

CI/CDCentOSJenkins
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.

ArchetypeBackend DevelopmentMaven
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.

ClassLoaderDependency ConflictGson
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.

ClassLoaderDependency ConflictFastjson
0 likes · 16 min read
Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict
DeWu Technology
DeWu Technology
Jul 26, 2023 · Backend Development

JSONCompareUtils: Full JSON Comparison Component for Automated Testing

JSONCompareUtils, a full‑JSON comparison component added to the Artemis framework, lets automated tests recursively compare large JSON responses via a Maven‑provided library with Java and Python wrappers, streamlining service‑splitting, BC‑traffic, and cross‑environment validation while dramatically cutting manual verification effort and speeding regression testing.

API comparisonComponentJSON
0 likes · 9 min read
JSONCompareUtils: Full JSON Comparison Component for Automated Testing
Cognitive Technology Team
Cognitive Technology Team
Jul 23, 2023 · Backend Development

How to Resolve Maven JAR Dependency Conflicts

This article explains common Maven JAR dependency conflict scenarios and presents four practical solutions—including using Exclusions, configuring dependency scopes, applying the Maven Shade plugin for class relocation, and employing class‑loader isolation strategies—to help developers choose the appropriate method for their build and runtime environments.

ExclusionsMavenShade Plugin
0 likes · 4 min read
How to Resolve Maven JAR Dependency Conflicts
Selected Java Interview Questions
Selected Java Interview Questions
Jul 14, 2023 · Backend Development

Using MapStruct for Efficient Entity Mapping in Java Projects

This article introduces the open‑source MapStruct library, shows how to configure Maven and Lombok dependencies, defines entity and DTO classes with Lombok annotations, creates a mapper interface, and demonstrates simple, list, multi‑source, and default‑value mappings with complete code examples.

DTOEntity MappingJava
0 likes · 11 min read
Using MapStruct for Efficient Entity Mapping in Java Projects
Selected Java Interview Questions
Selected Java Interview Questions
Jul 5, 2023 · Backend Development

IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More

This article provides a comprehensive collection of IntelliJ IDEA configuration tips covering SVN change visibility, opening projects in new windows, fixing Tomcat Chinese character encoding, adjusting import display, speeding up compilation, setting global file encodings, generating serialVersionUID, customizing code templates, and various other IDE shortcuts and settings.

IDE settingsIntelliJ IDEAJava
0 likes · 7 min read
IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More
JD Tech
JD Tech
Jun 29, 2023 · Backend Development

Deriving a DDD Application Architecture from a Three‑Layer Structure and Implementing It as a Maven Archetype

This article starts from a conventional three‑layer architecture, refines it into a domain‑driven design (DDD) application structure, demonstrates the evolution through five concrete steps, and shows how to package the final architecture as a reusable Maven Archetype with detailed installation and usage instructions.

ArchetypeDDDDomain-Driven Design
0 likes · 17 min read
Deriving a DDD Application Architecture from a Three‑Layer Structure and Implementing It as a Maven Archetype
JD Tech
JD Tech
Jun 28, 2023 · Backend Development

Using the Pie Framework for Responsibility Chain Development in Java

This article introduces the Pie framework, a Java-based implementation of the responsibility‑chain design pattern, demonstrates how to integrate it with Maven, shows step‑by‑step code examples for handlers, outbound factories, bootstrapping, and global exception handling, and explains its benefits for clean, maintainable backend development.

Backend DevelopmentDesign PatternsMaven
0 likes · 13 min read
Using the Pie Framework for Responsibility Chain Development in Java
Programmer DD
Programmer DD
Jun 19, 2023 · Backend Development

Boost Java Build Speed: How Maven‑mvnd Outperforms Traditional Maven

maven‑mvnd, an Apache‑backed build tool that embeds Maven and leverages GraalVM, speeds up Java project compilation by reusing JVM processes, caching plugin classloaders, and retaining JIT‑generated code, with parallel module builds and simple mvn‑to‑mvnd command substitution, though JDK version quirks may require workarounds.

Build OptimizationGraalVMJava
0 likes · 8 min read
Boost Java Build Speed: How Maven‑mvnd Outperforms Traditional Maven
Architecture Digest
Architecture Digest
Jun 15, 2023 · Backend Development

How to Package Spring Boot Projects as JAR and WAR

This article explains the differences between JAR and WAR packaging for Spring Boot applications, shows why embedded Tomcat behaves differently from external Tomcat, and provides step‑by‑step instructions with Maven commands and pom.xml modifications to build both JAR and WAR artifacts.

MavenPackagingServlet
0 likes · 13 min read
How to Package Spring Boot Projects as JAR and WAR
JD Cloud Developers
JD Cloud Developers
Jun 8, 2023 · Backend Development

How to Build a Maven Archetype Scaffold for Spring Boot Projects

This guide explains what a scaffolding tool is, why it’s essential for micro‑service development, and provides step‑by‑step instructions for creating, publishing, and using a Maven archetype scaffold with Spring Boot, including Maven configuration, version handling, and repository deployment.

ArchetypeBackend DevelopmentMaven
0 likes · 7 min read
How to Build a Maven Archetype Scaffold for Spring Boot Projects
Code Ape Tech Column
Code Ape Tech Column
Jun 5, 2023 · Backend Development

How to Slim Down SpringBoot Jar Packages for Faster Deployment

This article explains how to reduce the size of SpringBoot executable JAR files by separating application classes from dependency libraries, configuring the Maven build to use a ZIP layout, and deploying the slimmed package with a custom loader path, thereby speeding up uploads and updates.

Jar SlimmingJavaMaven
0 likes · 6 min read
How to Slim Down SpringBoot Jar Packages for Faster Deployment
JD Cloud Developers
JD Cloud Developers
Jun 1, 2023 · Backend Development

How to Build a DDD‑Based Maven Archetype for a Scalable CMS

This article guides you through refining a classic three‑layer architecture into a domain‑driven design, structuring the project with Maven Archetype, and implementing a simple CMS with both backend (Spring Boot) and frontend (Vue) components, complete with step‑by‑step setup instructions.

ArchetypeBackend DevelopmentDDD
0 likes · 15 min read
How to Build a DDD‑Based Maven Archetype for a Scalable CMS
Java Architect Essentials
Java Architect Essentials
May 9, 2023 · Operations

One‑Click Jenkins + Docker + SpringBoot Automated Deployment Guide

This tutorial walks through setting up a CentOS 7 environment, installing Docker CE, deploying Jenkins in a Docker container, configuring Maven and required plugins, creating a Jenkins pipeline that builds a SpringBoot project, packages it into a Docker image via a Dockerfile, and runs the container automatically, providing full end‑to‑end CI/CD automation.

CI/CDDockerJenkins
0 likes · 7 min read
One‑Click Jenkins + Docker + SpringBoot Automated Deployment Guide
Ops Development Stories
Ops Development Stories
Apr 26, 2023 · Backend Development

Master Maven Dependencies, Lifecycle, and Plugins for Efficient Java Projects

This article explains how to manage Maven dependencies, understand transitive, optional, and excluded dependencies, configure dependency scopes, navigate the Maven build lifecycle, use plugins, and set up module aggregation, inheritance, properties, versioning, environment profiles, and a private Nexus repository for Java projects.

Mavenbuild-tooldependencies
0 likes · 17 min read
Master Maven Dependencies, Lifecycle, and Plugins for Efficient Java Projects
Java High-Performance Architecture
Java High-Performance Architecture
Apr 22, 2023 · Backend Development

Master Java Entity Mapping with MapStruct: A Complete Guide

This article introduces the open‑source MapStruct library for Java, shows how to configure Maven, defines entity and DTO classes, demonstrates basic and advanced mapping techniques—including list conversion, multi‑object merging, and default values—while providing complete code examples and explanations.

Entity MappingJavaMapStruct
0 likes · 11 min read
Master Java Entity Mapping with MapStruct: A Complete Guide
Top Architect
Top Architect
Apr 20, 2023 · Backend Development

General Guide to Deploying a Spring Boot Microservice Project with Maven

This article provides a step‑by‑step tutorial on analyzing a Spring Boot microservice project, configuring parent and child Maven pom files, packaging modules with Maven plugins, and deploying both backend JARs and frontend assets to Windows or Linux servers.

BackendMavenMicroservices
0 likes · 12 min read
General Guide to Deploying a Spring Boot Microservice Project with Maven
Java Architect Essentials
Java Architect Essentials
Apr 11, 2023 · Backend Development

Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them

This article explains why a Spring Boot project runs differently when packaged as a JAR versus a WAR, outlines the historical evolution of Java web containers, compares the characteristics of JAR and WAR files, and provides step‑by‑step Maven commands and pom.xml configurations for building both package types.

MavenPackagingServlet
0 likes · 13 min read
Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them
Top Architect
Top Architect
Apr 7, 2023 · Backend Development

Dynamic Spring Configuration Files, Project Packaging, and Deployment Guide

This article explains how to use Spring's dynamic profile configuration to separate environment-specific YAML files, demonstrates jar and IDE launch options, outlines Maven and IDEA packaging steps, and provides detailed instructions for installing Java, configuring environment variables, and deploying the packaged Spring Boot application on a server.

ConfigurationJavaMaven
0 likes · 9 min read
Dynamic Spring Configuration Files, Project Packaging, and Deployment Guide
Top Architect
Top Architect
Apr 3, 2023 · Backend Development

Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven

This tutorial walks through enabling Docker remote connections on Linux and Windows, installing and configuring the IntelliJ IDEA Docker plugin, adding a docker‑maven‑plugin to a Spring Boot Eureka project, building Docker images, creating containers with port mapping, and setting up one‑click deployment for rapid backend development.

BackendDockerEureka
0 likes · 11 min read
Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven
Su San Talks Tech
Su San Talks Tech
Apr 3, 2023 · Backend Development

Mastering MapStruct: Fast, Type‑Safe Java Bean Mapping with Real‑World Examples

This article introduces MapStruct, a compile‑time Java bean‑mapping code generator, explains its core concepts, shows step‑by‑step examples—including Maven dependencies, entity and DTO definitions, mapper interfaces, custom conversions, and advanced configurations—while comparing its performance to other copy utilities and highlighting deep‑copy behavior.

Code GenerationJavaMapStruct
0 likes · 13 min read
Mastering MapStruct: Fast, Type‑Safe Java Bean Mapping with Real‑World Examples
Architect's Guide
Architect's Guide
Mar 30, 2023 · Backend Development

Universal Java Class-to-Excel Export Using Reflection and CSV Formatting

This article explains how to build a generic Java utility that exports any list of objects to an Excel‑compatible CSV file by using reflection to extract field names for headers and values for rows, includes Maven dependencies, custom annotations, and practical usage examples.

Backend DevelopmentCSVExcel Export
0 likes · 9 min read
Universal Java Class-to-Excel Export Using Reflection and CSV Formatting
Java Architect Essentials
Java Architect Essentials
Mar 12, 2023 · 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 problems caused by missing production database access, and provides five practical methods—including command‑line flags, pom.xml configuration, IDE settings, and Maven runner options—to skip tests when building a Java project.

MavenPackagingSkipTests
0 likes · 6 min read
How to Skip Tests When Packaging a Maven Project
Top Architect
Top Architect
Mar 9, 2023 · Backend Development

How to Skip Unit Tests When Packaging a Maven Java Project

The article details multiple ways to skip unit tests when packaging a Maven Java project, including command‑line flags, pom.xml configuration, IDE settings, and Maven runner VM options, enabling developers to build JAR files without test execution when production configurations are needed.

Backend DevelopmentJavaMaven
0 likes · 6 min read
How to Skip Unit Tests When Packaging a Maven Java Project
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2023 · Backend Development

Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them

This article explains why a Spring Boot application behaves differently when run as a JAR versus deployed as a WAR, outlines the historical context of servlet containers, compares JAR and WAR formats, and provides step‑by‑step Maven commands and pom.xml modifications for packaging both types.

MavenPackagingSpring Boot
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
Architect's Tech Stack
Architect's Tech Stack
Feb 16, 2023 · Backend Development

A Comprehensive Guide to Java Microbenchmarking with JMH

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is necessary, details common annotations, shows how to set up a Maven project, provides a complete benchmark example comparing LinkedList iteration methods, and demonstrates how to run and interpret the results.

BenchmarkingJMHJava
0 likes · 13 min read
A Comprehensive Guide to Java Microbenchmarking with JMH
Ziru Technology
Ziru Technology
Feb 16, 2023 · Operations

How We Cut Maven Build Times by 50% with GoTemplate and Maven Flags

This article details how the Omega platform reduced compilation time by up to 60% by adding Maven -am -pl flags, leveraging GoTemplate custom functions, and adjusting GitLab‑CI variables, providing a step‑by‑step verification of each attempt and the final solution.

Build OptimizationCI/CDDocker
0 likes · 6 min read
How We Cut Maven Build Times by 50% with GoTemplate and Maven Flags
Java Captain
Java Captain
Feb 7, 2023 · Backend Development

A Sarcastic Critique of Overengineered Enterprise Java Architecture

The article humorously deconstructs an overly complex Java enterprise setup, illustrating how excessive use of interfaces, abstract classes, factories, dependency injection, XML configuration, and heavyweight IDE tooling leads to bloated, hard‑to‑maintain code that ultimately fails in production.

Dependency InjectionDesign PatternsFactory Pattern
0 likes · 5 min read
A Sarcastic Critique of Overengineered Enterprise Java Architecture
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2023 · Backend Development

Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies

This article explains how to create a Spring Boot package that keeps dependencies external by configuring the spring-boot-maven-plugin and maven-assembly-plugin, using a ZIP layout and PropertiesLauncher, so the application can be started with a custom loader.path that points to a libs directory.

Backend DevelopmentFat JarJava
0 likes · 6 min read
Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies
21CTO
21CTO
Dec 30, 2022 · Backend Development

What’s New in Apache NetBeans 16? Key Features and Improvements

Apache NetBeans 16 introduces extensive updates—including enhanced YAML and Dockerfile support, improved Maven and Gradle integration, Java 19 features, and numerous bug fixes—making it a more powerful free IDE for Java and other language development.

Apache NetBeansGradleIDE
0 likes · 4 min read
What’s New in Apache NetBeans 16? Key Features and Improvements
Java Architect Essentials
Java Architect Essentials
Nov 27, 2022 · Backend Development

Encrypting Spring Boot Configuration with Jasypt – A Complete Guide

This article explains how to securely encrypt sensitive Spring Boot configuration properties such as database passwords using the Jasypt library, covering dependency setup, YAML configuration, encryption/decryption testing, custom encryptors, property detectors, resolvers, filters, and Maven plugin usage, all with practical code examples.

ConfigurationJasyptMaven
0 likes · 22 min read
Encrypting Spring Boot Configuration with Jasypt – A Complete Guide