Tagged articles
135 articles
Page 1 of 2
Architect's Guide
Architect's Guide
Mar 17, 2026 · Backend Development

Why Lombok’s Getter/Setter Naming Breaks MyBatis Inserts and How to Fix It

This article explains how Lombok’s generation of getter/setter methods for fields whose second character is uppercase can cause MyBatis to map properties incorrectly, leading to null values, and also examines why the @Accessor(chain=true) annotation breaks EasyExcel’s reflection, offering concrete solutions for each case.

GetterSetterLombokMyBatis
0 likes · 9 min read
Why Lombok’s Getter/Setter Naming Breaks MyBatis Inserts and How to Fix It
Coder Trainee
Coder Trainee
Mar 7, 2026 · Backend Development

Why @Data and @Builder Conflict in Lombok: Avoid This Common Pitfall

When @Data and @Builder are used together on a Lombok‑annotated class, the generated code can lose getters, setters, and the no‑argument constructor, leading to compilation failures; the article explains the cause and shows how to fix it with @NoArgsConstructor and @RequiredArgsConstructor.

@DataBuilderCode Generation
0 likes · 4 min read
Why @Data and @Builder Conflict in Lombok: Avoid This Common Pitfall
Coder Trainee
Coder Trainee
Feb 20, 2026 · Backend Development

Why Lombok-generated getters cause JSON fields to become lowercase

The article explains how Lombok’s @Data annotation generates getter and setter methods with a lowercase first letter for camel‑case fields, causing Jackson to serialize JSON property names in all lowercase, and offers three fixes: write methods manually, use @JsonProperty, or rename fields to avoid lower‑upper patterns.

JSONJacksonJava
0 likes · 4 min read
Why Lombok-generated getters cause JSON fields to become lowercase
Selected Java Interview Questions
Selected Java Interview Questions
Jan 4, 2026 · Backend Development

Master Java Logging with SLF4J, Logback, and Lombok @Slf4j

This tutorial explains why System.out.println() is unsuitable for production logging, shows how to add SLF4J and Logback dependencies, configure logback.xml, use Lombok's @Slf4j annotation to generate a logger, and provides practical code examples for unified API logging and exception tracking.

Backend DevelopmentJavaLombok
0 likes · 9 min read
Master Java Logging with SLF4J, Logback, and Lombok @Slf4j
Java Tech Enthusiast
Java Tech Enthusiast
Nov 14, 2025 · Backend Development

Master Spring Boot Logging: From Basics to Advanced Configuration

This guide explains why logging is essential in Java, explores its various uses such as system monitoring, data collection, and audit, demonstrates how to print logs with SLF4J in Spring Boot, and provides detailed instructions for configuring log levels, persistence, file rotation, formatting, and Lombok shortcuts.

LombokSpring Bootlogback
0 likes · 18 min read
Master Spring Boot Logging: From Basics to Advanced Configuration
Architecture Digest
Architecture Digest
Nov 11, 2025 · Backend Development

Mastering Spring Boot Logging: From Basics to Advanced Configuration

Learn why logging is essential in Java applications, explore Spring Boot’s built‑in SLF4J framework, discover how to print, configure levels, persist logs, customize formats, manage file rotation, and simplify logging with Lombok, all through clear examples and practical guidance.

JavaLombokSpring Boot
0 likes · 17 min read
Mastering Spring Boot Logging: From Basics to Advanced Configuration
Java Companion
Java Companion
Nov 11, 2025 · Backend Development

Mastering Spring Boot Logging: Levels, Persistence, Formatting, and Lombok Simplification

This article explains why traditional System.out printing is insufficient, introduces Spring Boot's built‑in SLF4J/Logback logging, demonstrates how to obtain and use a logger, details log levels, configuration of log levels, file persistence, rolling policies, formatting, and shows how Lombok's @Slf4j annotation can simplify logger usage.

ConfigurationLombokSpringBoot
0 likes · 17 min read
Mastering Spring Boot Logging: Levels, Persistence, Formatting, and Lombok Simplification
macrozheng
macrozheng
Nov 5, 2025 · Backend Development

Why Java Records Outshine Lombok @Data: A Practical Migration Guide

This article examines the drawbacks of using Lombok in Java projects, demonstrates how replacing Lombok annotations with Java Records, explicit constructors, and MapStruct improves code readability, IDE support, and runtime safety, and shares the measurable benefits of the migration.

Backend DevelopmentCode RefactoringJava
0 likes · 5 min read
Why Java Records Outshine Lombok @Data: A Practical Migration Guide
Java Web Project
Java Web Project
Oct 28, 2025 · Backend Development

Why Lombok’s Getter/Setter Naming Breaks MyBatis (and EasyExcel) and How to Fix It

The article analyzes a Lombok @Data‑generated getter/setter naming mismatch that causes MyBatis to store a null enum field, walks through debugging, examines MyBatis’s PropertyNamer source, demonstrates the issue with test code, and then explains a similar @Accessor(chain=true) problem in EasyExcel, offering concrete workarounds for both.

GetterSetterJavaLombok
0 likes · 9 min read
Why Lombok’s Getter/Setter Naming Breaks MyBatis (and EasyExcel) and How to Fix It
Java Architecture Diary
Java Architecture Diary
Oct 17, 2025 · Backend Development

Mastering Immutability in Java: Records and Lombok @Value Made Simple

This article explores how Java Records and Lombok’s @Value annotation enable developers to create immutable objects, covering the definition of immutability, its benefits for thread safety and code simplicity, traditional implementation pitfalls, and concise modern approaches with practical code examples.

Backend DevelopmentJavaLombok
0 likes · 10 min read
Mastering Immutability in Java: Records and Lombok @Value Made Simple
Top Architect
Top Architect
Jun 11, 2025 · Backend Development

How I Refactored a Bloated Open‑Source Admin into a Lean Backend Solution

The author shares a personal journey from early backend work to full‑stack responsibilities, critiques heavyweight admin frameworks, and explains how they rebuilt a lightweight enterprise admin using MyBatisPlus, Lombok, and streamlined architecture, while outlining future enhancements such as email, payment, multi‑tenant, and distributed scheduling.

JavaLombokMyBatisPlus
0 likes · 9 min read
How I Refactored a Bloated Open‑Source Admin into a Lean Backend Solution
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
Java Architect Essentials
Java Architect Essentials
May 21, 2025 · Backend Development

How @Slf4j Instantly Simplifies Logging in Spring Boot

This article explains why repetitive logger boilerplate in Spring Boot is a problem, introduces Lombok's @Slf4j annotation that auto‑generates a logger, shows basic and advanced usage with code examples, and outlines the benefits for real‑world backend projects.

BackendJavaLombok
0 likes · 7 min read
How @Slf4j Instantly Simplifies Logging in Spring Boot
macrozheng
macrozheng
May 20, 2025 · Backend Development

Why Java Records Beat Lombok @Data and How to Simplify Your Code

This article examines the drawbacks of Lombok, demonstrates how replacing Lombok annotations with Java Records and MapStruct improves readability, type safety, and debugging, and shows the concrete benefits of reducing boilerplate and achieving compile‑time safety in Java backend projects.

Backend DevelopmentCode RefactoringJava Records
0 likes · 6 min read
Why Java Records Beat Lombok @Data and How to Simplify Your Code
Programmer DD
Programmer DD
May 17, 2025 · Backend Development

Why Java Records Beat Lombok @Data: A Practical Migration Guide

This article examines the drawbacks of Lombok—such as reduced readability, IDE instability, and debugging challenges—and demonstrates how replacing Lombok annotations with Java Records, explicit constructors, and MapStruct for mapping yields cleaner, type‑safe, and maintainable code while eliminating boilerplate.

Code GenerationJava RecordsLombok
0 likes · 5 min read
Why Java Records Beat Lombok @Data: A Practical Migration Guide
Architecture Digest
Architecture Digest
Jan 15, 2025 · Backend Development

Advanced Lombok Annotations for Simplifying Java Backend Code

This article demonstrates how Lombok’s advanced annotations such as @RequiredArgsConstructor(onConstructor=@__(@Autowired)), @Delegate, @Cleanup, and the combination of @Builder with @Singular can automatically generate Spring‑compatible constructors, delegate methods, manage resources, and build immutable objects, thereby reducing boilerplate and improving code readability in Java backend development.

Code GenerationJavaLombok
0 likes · 7 min read
Advanced Lombok Annotations for Simplifying Java Backend Code
Java Backend Technology
Java Backend Technology
Dec 26, 2024 · Backend Development

Unlock Cleaner Java Code: Master Lombok’s @Delegate, @Cleanup, @Builder & More

Explore how Lombok’s powerful annotations—@onX, @Delegate, @Cleanup, @Singular, and @Builder—can dramatically simplify Java code, enable seamless Spring dependency injection, manage resources automatically, and streamline object construction, while highlighting best practices and potential pitfalls for maintainable backend development.

Code GenerationLombokannotations
0 likes · 8 min read
Unlock Cleaner Java Code: Master Lombok’s @Delegate, @Cleanup, @Builder & More
Java Architect Essentials
Java Architect Essentials
Nov 8, 2024 · Backend Development

The Hidden Risks of Using Lombok in Java Projects

This article examines how Lombok reduces boilerplate in Java code, demonstrates the transformation of a typical JavaBean before and after Lombok, and critically discusses five major drawbacks—including JDK compatibility, forced dependency, reduced readability, increased coupling, and technical debt—guiding developers to weigh its benefits against long‑term maintenance costs.

BoilerplateJavaLombok
0 likes · 10 min read
The Hidden Risks of Using Lombok in Java Projects
Java Architect Essentials
Java Architect Essentials
Oct 25, 2024 · Backend Development

Using Lombok Annotations @RequiredArgsConstructor, @Delegate, @Cleanup, @Singular and @Builder in Spring Applications

This article demonstrates how Lombok annotations such as @RequiredArgsConstructor, @Delegate, @Cleanup, @Singular, and @Builder can be combined with Spring components to reduce boilerplate, automatically inject dependencies, manage resources, and build immutable objects, providing practical code examples and usage guidelines.

Code GenerationJavaLombok
0 likes · 7 min read
Using Lombok Annotations @RequiredArgsConstructor, @Delegate, @Cleanup, @Singular and @Builder in Spring Applications
Architect's Guide
Architect's Guide
Oct 19, 2024 · Backend Development

Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code

This article presents fourteen practical Java Spring development best‑practice tips—including using @ConfigurationProperties, Lombok's @RequiredArgsConstructor, modularizing code, throwing exceptions instead of returning error codes, minimizing unnecessary database calls, avoiding null returns, reducing if‑else chains, and leveraging IDE features—to help developers write cleaner, more maintainable backend code.

BackendConfigurationJava
0 likes · 7 min read
Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code
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.

ConfigurationProcessorDevToolsJava
0 likes · 8 min read
Spring Boot DevTools, Lombok, and Configuration Processor: Setup and Usage Guide
Top Architect
Top Architect
Sep 6, 2024 · Backend Development

14 Java Backend Code‑Optimization Tips from a Senior Architect

This article presents fourteen practical Java backend optimization techniques—including configuration‑file management, Lombok’s @RequiredArgsConstructor, modular code design, exception handling, reducing DB queries, avoiding null returns, minimizing if‑else, slimming controllers, IDE shortcuts, source‑code reading, design patterns, and efficient collections—each illustrated with clear code examples.

Backend DevelopmentCode OptimizationDesign Patterns
0 likes · 10 min read
14 Java Backend Code‑Optimization Tips from a Senior Architect
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 21, 2024 · Backend Development

Using Lombok @RequiredArgsConstructor to Reduce @Autowired Boilerplate in Spring Services

This article explains how Lombok's @RequiredArgsConstructor can replace repetitive @Autowired field injections in Spring services by generating a constructor for final fields, demonstrates the underlying annotation‑processing mechanism, and provides practical code examples for applying this technique in backend Java projects.

AutowireBackend DevelopmentDependencyInjection
0 likes · 8 min read
Using Lombok @RequiredArgsConstructor to Reduce @Autowired Boilerplate in Spring Services
Top Architect
Top Architect
Aug 2, 2024 · Backend Development

14 Practical Tips for Optimizing Java Backend Code

This article presents fourteen actionable techniques for improving Java backend code quality, including using configuration files, Lombok's @RequiredArgsConstructor, modular design, exception handling, reducing unnecessary database calls, avoiding null returns, simplifying if‑else logic, minimizing controller logic, leveraging IDE features, reading source code, applying design patterns, embracing new knowledge, mastering fundamentals, and efficiently checking element existence, supplemented with concrete code examples.

Code OptimizationJavaLombok
0 likes · 9 min read
14 Practical Tips for Optimizing Java Backend Code
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2024 · Backend Development

Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor

This article explains why combining Lombok's @Data and @Builder annotations can remove the automatically generated no‑args constructor, demonstrates the resulting compilation errors, and provides two practical solutions using @Tolerate or a combination of @RequiredArgsConstructor and @NoArgsConstructor, while also describing Lombok's annotation‑processing mechanism.

BackendBuilderJava
0 likes · 4 min read
Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor
macrozheng
macrozheng
May 14, 2024 · Backend Development

Lombok After One Year: Is the Convenience Worth the Hidden Costs?

After a year of using Project Lombok, the author reflects on how its annotations dramatically shrink boilerplate but also introduce version incompatibilities, hidden dependencies, reduced readability, tighter coupling, and technical debt, urging developers to weigh its benefits against long‑term maintenance risks.

Code GenerationJavaLombok
0 likes · 11 min read
Lombok After One Year: Is the Convenience Worth the Hidden Costs?
Code Ape Tech Column
Code Ape Tech Column
Apr 29, 2024 · Backend Development

Advanced Lombok Annotations: @onX, @Delegate, @Cleanup, @Builder/@Singular, and @With

This article explains several powerful Lombok annotations—including @onX, @Delegate, @Cleanup, @Builder with @Singular, and @With—showing how they simplify Spring‑based Java code through automatic constructor generation, method delegation, resource management, and fluent builders, while also warning against overuse.

Code GenerationJavaLombok
0 likes · 7 min read
Advanced Lombok Annotations: @onX, @Delegate, @Cleanup, @Builder/@Singular, and @With
Architecture Digest
Architecture Digest
Apr 23, 2024 · Backend Development

14 Practical Code Optimization Tips for Java Backend Development

This article presents fourteen actionable Java backend code‑optimization techniques—including configuration‑file management, Lombok’s @RequiredArgsConstructor, modularization, exception handling, database query reduction, null‑avoidance, strategic use of design patterns, IDE shortcuts, and efficient collection handling—to help developers write cleaner, more maintainable, and higher‑performance code.

BackendCode OptimizationJava
0 likes · 7 min read
14 Practical Code Optimization Tips for Java Backend Development
Java Interview Crash Guide
Java Interview Crash Guide
Apr 18, 2024 · Backend Development

14 Practical Java Code‑Optimization Tips for Cleaner, More Maintainable Code

This article presents fourteen actionable Java coding‑style and architecture tips—ranging from using configuration properties and Lombok constructors to modularizing methods, throwing exceptions, reducing DB calls, avoiding null returns, and leveraging IDE suggestions—to help developers write cleaner, more robust backend code.

Code OptimizationDesign PatternsIDEA
0 likes · 9 min read
14 Practical Java Code‑Optimization Tips for Cleaner, More Maintainable Code
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 RefactoringJavaJavaParser
0 likes · 12 min read
Auto‑Replace Java Getters/Setters with Lombok @Data Using JavaParser
Sanyou's Java Diary
Sanyou's Java Diary
Mar 28, 2024 · Backend Development

Why Lombok’s @Builder Drops Default Values and How to Fix It

This article walks through a real‑world NPE caused by Lombok’s @Builder ignoring field initializers, explains the underlying double‑initialisation bug, shows how @Builder.Default restores the defaults, and outlines Lombok’s compile‑time annotation processing mechanism.

Builder PatternCompile-time AnnotationDefault Values
0 likes · 15 min read
Why Lombok’s @Builder Drops Default Values and How to Fix It
Programmer DD
Programmer DD
Jan 10, 2024 · Backend Development

Can Java Records Replace Lombok? A Practical Comparison

This article compares Java's native record feature with the Lombok library, showing how records can reduce boilerplate code, outlining scenarios where records can replace Lombok, and discussing the limitations of each approach for clean and maintainable backend development.

BackendJavaJava 16
0 likes · 8 min read
Can Java Records Replace Lombok? A Practical Comparison
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2023 · Backend Development

Spring Boot Best Practices for Developers

This article presents a comprehensive set of Spring Boot best practices for developers, covering proper package structuring, design patterns, starter dependencies, production-ready versions, Lombok usage, constructor injection, slf4j logging, controller responsibilities, service layer logic, null‑pointer avoidance, collection handling, pagination, caching, custom exception and response handling, code cleanup, meaningful naming, case conventions, simplicity, formatting standards, and tooling such as SonarLint.

Backend DevelopmentJavaLombok
0 likes · 17 min read
Spring Boot Best Practices for Developers
政采云技术
政采云技术
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
Java Interview Crash Guide
Java Interview Crash Guide
Sep 22, 2023 · Backend Development

Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It

This article explains how Lombok’s unconventional getter/setter naming for fields with a lowercase‑first, uppercase‑second pattern causes MyBatis to map enum properties as null, and how the @Accessor(chain=true) annotation in EasyExcel triggers cglib reflection issues, then provides practical workarounds for both problems.

AccessorGetterSetterJava
0 likes · 9 min read
Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It
Java Architecture Diary
Java Architecture Diary
Sep 21, 2023 · Backend Development

Unlock Java 21: New Features, Virtual Threads, and Migration Tips

Java 21, the latest LTS release, introduces virtual threads, sequenced collections, record patterns, and other enhancements; the article explains these new features, guides developers on configuring IDEs and runtimes with Azul Zulu and IntelliJ IDEA, and resolves Lombok incompatibility by updating to version 1.18.30.

Java 21LombokSpring Boot
0 likes · 4 min read
Unlock Java 21: New Features, Virtual Threads, and Migration Tips
Code Ape Tech Column
Code Ape Tech Column
Sep 12, 2023 · Backend Development

Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors

The article explains the pitfalls of Lombok’s @Builder annotation—such as loss of default values, mutable builders, and limited applicability—and demonstrates how using @Accessors with chainable setters provides a safer, more flexible alternative for Java backend development.

AccessorsBackend DevelopmentBuilder
0 likes · 10 min read
Why You Should Stop Using Lombok’s @Builder and Prefer @Accessors
Java Backend Technology
Java Backend Technology
Aug 31, 2023 · Backend Development

Why Lombok @Data + @Builder Breaks No‑Args Constructors and How to Fix It

When Lombok's @Data and @Builder annotations are used together, the generated no‑argument constructor disappears, causing compilation errors; this article explains the root cause, demonstrates the problem with code examples, and provides two reliable solutions using @Tolerate or a combination of @RequiredArgsConstructor and @NoArgsConstructor.

@DataBuilderJava
0 likes · 6 min read
Why Lombok @Data + @Builder Breaks No‑Args Constructors and How to Fix It
Architecture Digest
Architecture Digest
Aug 15, 2023 · Backend Development

Spring Boot Best Practices for Building Efficient Backend Applications

This article presents a comprehensive collection of Spring Boot best practices, covering package organization, design patterns, starter usage, dependency management, Lombok integration, constructor injection, logging with SLF4J, controller responsibilities, service layer design, null‑safety, collection handling, pagination, caching, exception handling, response objects, code cleanup, naming conventions, formatting, and tooling such as SonarLint.

Backend DevelopmentJavaLombok
0 likes · 11 min read
Spring Boot Best Practices for Building Efficient Backend Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jul 21, 2023 · Backend Development

Using Lombok @RequiredArgsConstructor to Replace @Autowired and @Resource for Spring Dependency Injection

This article explains how Lombok's @RequiredArgsConstructor can replace multiple @Autowired and @Resource annotations by promoting constructor injection, compares field, constructor, and setter injection in Spring, and demonstrates the resulting cleaner code with practical examples.

Constructor InjectionJavaLombok
0 likes · 6 min read
Using Lombok @RequiredArgsConstructor to Replace @Autowired and @Resource for Spring Dependency Injection
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.

Entity MappingJavaLombok
0 likes · 11 min read
Using MapStruct for Efficient Entity Mapping in Java Projects
Java Interview Crash Guide
Java Interview Crash Guide
May 24, 2023 · Backend Development

Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel: Hidden Pitfalls Explained

This article explores how Lombok’s auto‑generated getter/setter methods can conflict with MyBatis property naming conventions and cause null values, examines the underlying reflection logic in MyBatis, and also reveals why the @Accessor(chain=true) annotation disrupts EasyExcel’s CGLIB‑based mapping, offering practical solutions.

GetterSetterJavaLombok
0 likes · 7 min read
Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel: Hidden Pitfalls Explained
Java Captain
Java Captain
Apr 11, 2023 · Backend Development

Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices

This article provides comprehensive guidance on Java backend development, covering IDE selection, bean and DTO conversion techniques, validation with JSR‑303, extensive Lombok usage, builder patterns, proxy design, refactoring strategies, and the balance between business‑driven and technology‑driven development.

Design PatternsJavaLombok
0 likes · 25 min read
Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices
Selected Java Interview Questions
Selected Java Interview Questions
Apr 9, 2023 · Backend Development

Using Lombok @RequiredArgsConstructor to Replace @Autowired and @Resource in Spring Dependency Injection

The article explains Spring's three dependency injection methods, highlights the drawbacks of field injection, recommends constructor injection, and demonstrates how Lombok's @RequiredArgsConstructor can generate the required constructor to eliminate @Autowired and @Resource annotations, simplifying code and preventing NullPointerExceptions.

Backend DevelopmentConstructor InjectionJava
0 likes · 4 min read
Using Lombok @RequiredArgsConstructor to Replace @Autowired and @Resource in Spring Dependency Injection
Code Ape Tech Column
Code Ape Tech Column
Apr 8, 2023 · Backend Development

Understanding Spring Dependency Injection and Lombok @RequiredArgsConstructor

This article explains Spring's three dependency injection methods—field, constructor, and setter injection—highlights the advantages of constructor injection for avoiding null pointers and circular dependencies, and demonstrates how Lombok's @RequiredArgsConstructor can simplify bean wiring in Java backend development.

BackendConstructor InjectionJava
0 likes · 6 min read
Understanding Spring Dependency Injection and Lombok @RequiredArgsConstructor
Programmer DD
Programmer DD
Mar 30, 2023 · Backend Development

Mastering Lombok @Accessors: Fluent, Chain, and Prefix Explained

Learn how Lombok's @Accessors annotation works by exploring its source code and understanding the three key attributes—fluent, chain, and prefix—so you can control getter and setter generation, customize method naming, and enable method chaining in your Java classes.

Fluent APIJavaLombok
0 likes · 4 min read
Mastering Lombok @Accessors: Fluent, Chain, and Prefix Explained
Programmer DD
Programmer DD
Mar 24, 2023 · Backend Development

Why Lombok @Data + @Builder Removes No‑Args Constructor and How to Fix It

This article explains why combining Lombok's @Data and @Builder annotations eliminates the default no‑argument constructor, demonstrates the compilation issues it causes, and provides two practical solutions—including using @Tolerate or separating constructors with @RequiredArgsConstructor and @NoArgsConstructor—while also detailing Lombok's compilation mechanism and a custom annotation example.

Builder PatternCompilationJava
0 likes · 6 min read
Why Lombok @Data + @Builder Removes No‑Args Constructor and How to Fix It
Sohu Tech Products
Sohu Tech Products
Mar 22, 2023 · Backend Development

Understanding @Autowired Injection Issues and Alternative Approaches in Spring

The article explains common problems with Spring's @Autowired injection, compares it with @Resource, and presents alternative injection methods—including setter, constructor, and Lombok-based approaches—while providing code examples and best‑practice recommendations for reliable bean initialization.

AutowiredConstructor InjectionLombok
0 likes · 5 min read
Understanding @Autowired Injection Issues and Alternative Approaches in Spring
Top Architect
Top Architect
Mar 21, 2023 · Backend Development

Understanding @Autowired vs @Resource and Injection Methods in Spring

The article explains common pitfalls of using Spring's @Autowired, compares it with the standard @Resource annotation, and demonstrates various injection techniques—including field, setter, constructor, and Lombok-based constructor injection—through detailed code examples and best‑practice recommendations.

AutowiredBackendJava
0 likes · 6 min read
Understanding @Autowired vs @Resource and Injection Methods in Spring
Xianyu Technology
Xianyu Technology
Nov 29, 2022 · Backend Development

Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips

The brief explains how Lombok’s @Builder can clash with JSON libraries and how adding no‑args and all‑args constructors resolves it, shows how to adjust log levels at runtime via Arthas or Spring’s LoggingSystem, outlines JWT structure and security cautions, and warns of common Java 8 parallelStream performance and correctness pitfalls.

JSONJWTJava
0 likes · 9 min read
Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips
Java High-Performance Architecture
Java High-Performance Architecture
Oct 25, 2022 · Backend Development

Why Lombok @Data + @Builder Breaks No‑Arg Constructors and How to Fix It

This article explains why using Lombok's @Data and @Builder together removes the default no‑argument constructor, demonstrates the compilation behavior, and provides two practical solutions—including @Tolerate and combining @RequiredArgsConstructor with @NoArgsConstructor—while also detailing Lombok's annotation‑processing mechanism.

Annotation ProcessingBuilder PatternJava
0 likes · 6 min read
Why Lombok @Data + @Builder Breaks No‑Arg Constructors and How to Fix It
DaTaobao Tech
DaTaobao Tech
Oct 25, 2022 · Backend Development

MapStruct and Lombok Integration: Maven Dependency Order and Advanced Usage

The article explains that when using MapStruct with Lombok, Maven must list Lombok before MapStruct (or define annotationProcessorPaths) so Lombok’s annotation processor runs first, and then demonstrates basic and advanced mapping techniques, Spring integration, and singleton caching strategies.

Annotation ProcessingJavaLombok
0 likes · 17 min read
MapStruct and Lombok Integration: Maven Dependency Order and Advanced Usage
macrozheng
macrozheng
Oct 17, 2022 · Backend Development

12 Must‑Have IntelliJ IDEA Plugins to Supercharge Your Java Development

This guide introduces twelve essential IntelliJ IDEA plugins—including Lombok, Free MyBatis, Translation, Alibaba Java Coding Guidelines, GenerateAllSetter, SequenceDiagram, CheckStyle‑IDEA, JRebel/XRebel, Codota, GsonFormat, Rainbow Brackets, and CodeGlance—that dramatically improve Java coding efficiency, reduce boiler‑plate, and streamline development workflows.

Code GenerationIntelliJ IDEAJava plugins
0 likes · 12 min read
12 Must‑Have IntelliJ IDEA Plugins to Supercharge Your Java Development
Programmer DD
Programmer DD
Oct 12, 2022 · Backend Development

Why Lombok @Data + @Builder Breaks No‑Args Constructors and How to Fix It

This article explains why combining Lombok's @Data and @Builder annotations removes the automatically generated no‑argument constructor, demonstrates the compilation process behind Lombok, and provides two practical solutions using @Tolerate or @RequiredArgsConstructor/@NoArgsConstructor to restore the missing constructor.

@DataBuilderCompilation
0 likes · 6 min read
Why Lombok @Data + @Builder Breaks No‑Args Constructors and How to Fix It
政采云技术
政采云技术
Sep 21, 2022 · Backend Development

Understanding Java Annotation Processing (APT) and Implementing a Custom Lombok‑like Processor

This article explains the principles behind Java annotation processing tools such as APT, compares APT with AOP and Java agents, and provides a step‑by‑step guide to creating a custom Lombok‑style annotation processor that generates getters, setters, and toString methods at compile time.

APTAnnotationProcessingBytecodeGeneration
0 likes · 17 min read
Understanding Java Annotation Processing (APT) and Implementing a Custom Lombok‑like Processor
macrozheng
macrozheng
Sep 20, 2022 · Backend Development

How Lombok Simplifies Java Boilerplate—and What Pitfalls to Watch

This article explains Java's verbosity problem, introduces Lombok as a code‑generation tool that uses annotations like @Data to auto‑create getters, setters, equals, hashCode and toString, shows installation and Maven setup, and discusses both the productivity gains and the hidden drawbacks such as team dependency, debugging challenges, inheritance issues, encapsulation concerns, and future JDK compatibility risks.

Backend DevelopmentCode GenerationJava
0 likes · 10 min read
How Lombok Simplifies Java Boilerplate—and What Pitfalls to Watch
Cognitive Technology Team
Cognitive Technology Team
Aug 28, 2022 · Fundamentals

Common Pitfalls When Using Lombok in Java Projects

This article outlines several common pitfalls of the Lombok library in Java, such as StackOverflowError from @ToString, missing no‑arg constructors with @AllArgsConstructor, hash‑based collection issues with @EqualsAndHashCode, and accessor mismatches caused by @Setter/@Getter, providing code examples and recommendations.

Code GenerationJavaLombok
0 likes · 5 min read
Common Pitfalls When Using Lombok in Java Projects
Selected Java Interview Questions
Selected Java Interview Questions
Aug 28, 2022 · Backend Development

Using Lombok Annotations for ORM Entities, Builder, Wither, and Accessors in Java

This article explains how Lombok annotations such as @Data, @Builder, @Wither, and @Accessors can simplify Java bean creation for ORM entities, builder pattern utilities, wither-style object modification, and fluent accessor methods, while addressing common pitfalls like missing constructors and default values.

AccessorsBuilderJava
0 likes · 10 min read
Using Lombok Annotations for ORM Entities, Builder, Wither, and Accessors in Java
Programmer DD
Programmer DD
Jul 20, 2022 · Backend Development

What’s New in VS Code Java July Update? Full Lombok Support and Handy UX Boosts

The July VS Code Java update introduces built‑in Lombok support, notification‑driven activation, language‑bar version management, toggleable settings, drag‑and‑drop file operations, inlay hint exclusions, function‑breakpoint debugging, expanded quick‑fix actions, and a Spring bean dependency view, all aimed at improving the Java developer experience.

Backend DevelopmentDebuggingJava
0 likes · 6 min read
What’s New in VS Code Java July Update? Full Lombok Support and Handy UX Boosts
Java Architect Essentials
Java Architect Essentials
Jun 27, 2022 · Backend Development

How Lombok Generates Code at Compile Time: A Deep Dive into Annotations and APT

This article explains what Lombok is, how it uses compile‑time annotations and the Java Annotation Processing Tool (APT) to automatically generate getters, setters, constructors and other boilerplate code, and provides step‑by‑step examples of defining custom annotations, processors, and compiling them to produce new classes.

APTAnnotation ProcessingCompile-time
0 likes · 12 min read
How Lombok Generates Code at Compile Time: A Deep Dive into Annotations and APT
Senior Brother's Insights
Senior Brother's Insights
May 27, 2022 · Backend Development

How Lombok Generates Code at Compile Time: A Deep Dive into Annotation Processing

This article explains how Lombok uses compile‑time annotations and the Java Annotation Processing Tool (APT) to automatically generate boilerplate code such as getters, setters, and constructors, and provides step‑by‑step examples of defining custom annotations, processors, and compiling them.

APTAnnotation ProcessingBackend Development
0 likes · 11 min read
How Lombok Generates Code at Compile Time: A Deep Dive into Annotation Processing
Java Captain
Java Captain
Apr 29, 2022 · Backend Development

Best Practices for Java Bean Conversion, Validation, and Refactoring

This article discusses practical techniques for Java developers, covering bean conversion using DTOs and Spring utilities, validation with JSR‑303, leveraging Lombok for cleaner code, applying design patterns, and systematic refactoring to improve readability, maintainability, and overall code quality in backend projects.

JavaLombokdto
0 likes · 27 min read
Best Practices for Java Bean Conversion, Validation, and Refactoring
Java Backend Technology
Java Backend Technology
Apr 24, 2022 · Backend Development

Master Java Refactoring: DTO Conversions, Lombok, and Design Patterns

This article explores practical Java backend techniques, including IDE selection, domain vs entity naming, DTO conversion strategies with BeanUtils and custom interfaces, validation with JSR‑303, Lombok shortcuts, builder patterns, static constructors, and design‑pattern considerations, offering concrete code examples and refactoring tips for seasoned developers.

Design PatternsJavaLombok
0 likes · 27 min read
Master Java Refactoring: DTO Conversions, Lombok, and Design Patterns
Cognitive Technology Team
Cognitive Technology Team
Apr 21, 2022 · Backend Development

Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues

The article explains why a Spring Cloud project upgraded from Java 8 to Java 11 gets stuck during Maven compilation, shows how to enable detailed compiler logs with Maven‑compiler‑plugin settings, presents the lengthy compilation output, and advises cautious use of Lombok’s @Builder.Default to avoid similar hangs.

Backend DevelopmentCompilationJava 11
0 likes · 12 min read
Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues
IT Xianyu
IT Xianyu
Mar 30, 2022 · Backend Development

How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor

This article explains how to add SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and configure the Spring Configuration Processor for property metadata, providing step‑by‑step instructions, IDE settings, and Maven dependency snippets for a smoother development experience.

Configuration ProcessorDevToolsHot Deployment
0 likes · 5 min read
How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor
IT Services Circle
IT Services Circle
Feb 14, 2022 · Fundamentals

Six Ways to Create Objects in Java

This article presents six Java object‑creation techniques—including direct instantiation, cloning, reflection‑based allocation, dynamic class loading, constructor invocation via reflection, and deserialization—explaining each method with code examples and practical notes for developers.

JavaLombokObject Creation
0 likes · 7 min read
Six Ways to Create Objects in Java
Top Architect
Top Architect
Feb 7, 2022 · Backend Development

Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding

This article explains how to enable SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and add the Spring Configuration Processor to provide property‑binding assistance, including Maven dependency snippets and IDE configuration steps for a smoother development experience.

ConfigurationProcessorDevToolsJava
0 likes · 6 min read
Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding
Java Architect Essentials
Java Architect Essentials
Feb 6, 2022 · Backend Development

SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification

This article introduces how to enable SpringBoot DevTools for hot deployment, integrate Lombok to reduce boilerplate code, and use the Spring Configuration Processor for property binding hints, providing Maven dependencies, IDE settings, and example code snippets for Java backend development.

BackendConfigurationProcessorDevTools
0 likes · 6 min read
SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification
Java Captain
Java Captain
Jan 18, 2022 · Backend Development

Best Practices for Java Backend Development: Configuration, Lombok, Modular Code, Exception Handling, and More

This article shares a collection of practical Java backend development habits, covering configuration with @ConfigurationProperties, Lombok's @RequiredArgsConstructor, code modularization, exception throwing, reducing DB queries, avoiding null returns, simplifying if‑else, keeping controllers thin, IDE tips, source code reading, design patterns, and fundamental coding techniques.

BackendConfigurationDesign Patterns
0 likes · 6 min read
Best Practices for Java Backend Development: Configuration, Lombok, Modular Code, Exception Handling, and More
Top Architect
Top Architect
Dec 29, 2021 · Backend Development

Detailed Guide to Lombok @Builder Annotation and Its Usage

This article provides a comprehensive tutorial on Lombok's @Builder annotation, covering basic usage, generated code details, @Singular collection handling, @Builder.Default defaults, toBuilder feature, and global configuration, with numerous Java code examples and explanations.

BuilderCode GenerationJava
0 likes · 14 min read
Detailed Guide to Lombok @Builder Annotation and Its Usage
Programmer DD
Programmer DD
Oct 4, 2021 · Backend Development

Simplify Java Bean Mapping with MapStruct: A Practical Guide

This article introduces the open‑source MapStruct library for Java, shows how to configure Maven and Lombok, provides step‑by‑step code examples for basic and advanced entity‑to‑DTO mappings—including list conversions, multi‑object mappings, and default values—so developers can replace boilerplate conversion code with clean, type‑safe mappings.

Lombokbackend-developmentbean-mapping
0 likes · 10 min read
Simplify Java Bean Mapping with MapStruct: A Practical Guide
Java Captain
Java Captain
Oct 4, 2021 · Backend Development

The Hidden Pitfalls of Using Project Lombok in Java Development

This article reflects on a year of using Project Lombok, showing how its annotations can dramatically shrink Java boilerplate but also introduce version incompatibilities, forced dependencies, reduced readability, tighter coupling, and technical debt that may outweigh its short‑term convenience.

Code GenerationJavaLombok
0 likes · 10 min read
The Hidden Pitfalls of Using Project Lombok in Java Development
Java Captain
Java Captain
Sep 21, 2021 · Backend Development

Using MapStruct for Efficient Entity‑DTO Mapping in Java

This article introduces the open‑source MapStruct library for Java, showing how to configure Maven dependencies, define entity and DTO classes with Lombok, create mapper interfaces, and perform simple and advanced object conversions such as list mapping, multi‑object merging, and default value handling.

Entity MappingJavaLombok
0 likes · 9 min read
Using MapStruct for Efficient Entity‑DTO Mapping in Java
Java Backend Technology
Java Backend Technology
Aug 24, 2021 · Backend Development

Is Lombok a Blessing or a Curse? Uncovering Hidden Pitfalls in Java Development

This article examines the advantages and hidden risks of using Lombok in Java projects, illustrating how its annotations can dramatically reduce boilerplate code while also introducing version compatibility issues, forced dependencies, reduced readability, increased coupling, and technical debt, and suggests alternative approaches for cleaner code.

Backend DevelopmentCode GenerationJava
0 likes · 11 min read
Is Lombok a Blessing or a Curse? Uncovering Hidden Pitfalls in Java Development
macrozheng
macrozheng
Aug 17, 2021 · Backend Development

Why Lombok’s Magic Can Turn Your Java Code into a Debt Trap

The article reviews a year of using Project Lombok, showing how its annotations dramatically shrink Java boilerplate but also introduce version incompatibilities, forced dependencies, reduced readability, tighter coupling, and technical debt, urging careful consideration before adoption.

JavaLombokTechnical Debt
0 likes · 11 min read
Why Lombok’s Magic Can Turn Your Java Code into a Debt Trap
Architect's Tech Stack
Architect's Tech Stack
Aug 1, 2021 · Backend Development

How to Install and Use Popular IntelliJ IDEA Plugins for Java Development

This article introduces IntelliJ IDEA plugin installation methods—online and offline—and provides concise overviews of more than twenty essential plugins, including Lombok, RestfulTool, MyBatis helpers, code quality tools, and visual enhancements, helping Java developers boost productivity and code quality.

IDE pluginsIntelliJ IDEAJava
0 likes · 10 min read
How to Install and Use Popular IntelliJ IDEA Plugins for Java Development
Java Captain
Java Captain
Mar 26, 2021 · Backend Development

Debunking Common Criticisms of Lombok: A Counterargument

The article challenges typical objections to using Lombok—such as JDK version issues, forced plugin installation, reduced readability, increased coupling, and perceived technical debt—by providing detailed rebuttals that argue Lombok remains practical and beneficial for Java backend development.

Backend DevelopmentCode GenerationJDK Compatibility
0 likes · 6 min read
Debunking Common Criticisms of Lombok: A Counterargument
Top Architect
Top Architect
Mar 16, 2021 · Backend Development

Critiquing Lombok: Common Objections and Counterarguments

The article examines typical criticisms of the Lombok library—JDK compatibility, forced adoption, reduced readability, increased coupling, and perceived drawbacks—while providing detailed rebuttals that argue Lombok remains useful for Java backend development despite these concerns.

Backend DevelopmentCode GenerationJava
0 likes · 6 min read
Critiquing Lombok: Common Objections and Counterarguments