Tag

DTO

1 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
May 21, 2025 · Backend Development

Understanding DTO, BO, PO, and VO in Backend Development

This article explains the concepts of Data Transfer Object (DTO), Business Object (BO), Persistent Object (PO), and Value Object (VO) in backend development, shows how they differ and interact across layers, and provides Java code examples and a global configuration to filter null fields during serialization.

BOBackend DevelopmentDTO
0 likes · 7 min read
Understanding DTO, BO, PO, and VO in Backend Development
Continuous Delivery 2.0
Continuous Delivery 2.0
May 13, 2025 · Backend Development

Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices

The article outlines common backend code smells such as over‑engineering, deep inheritance hierarchies, excessive DTO/VO layers, unnecessary interfaces, and contract‑less microservice designs, explains why they harm team efficiency and project quality, and provides concrete Java examples and best‑practice recommendations to avoid them.

DTOJavacode quality
0 likes · 5 min read
Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices
Top Architecture Tech Stack
Top Architecture Tech Stack
May 9, 2025 · Backend Development

Understanding DTO, BO, PO, and VO in Backend Development

This article explains the concepts of Data Transfer Object (DTO), Business Object (BO), Persistent Object (PO), and Value Object (VO) in backend development, compares their roles, provides Java code examples, and discusses how to configure Spring MVC to filter null fields, while also including promotional content for IDE licenses.

BOBackend DevelopmentDTO
0 likes · 6 min read
Understanding DTO, BO, PO, and VO in Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 30, 2024 · Backend Development

Which Java Bean Mapping Tool Is Fastest? Spring BeanUtils vs MapStruct vs Others

This article compares the performance of several Java bean‑mapping utilities—including Spring BeanUtils, Apache BeanUtils, Orika, Cglib BeanCopier, ModelMapper, MapStruct, and manual getter/setter code—by converting a sample Entity to a DTO 10,000 times and summarizing the results and best‑use recommendations.

Bean MappingCglibDTO
0 likes · 10 min read
Which Java Bean Mapping Tool Is Fastest? Spring BeanUtils vs MapStruct vs Others
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 21, 2024 · Backend Development

Mastering DTO Mapping in Spring Boot 3 with ModelMapper: A Hands‑On Guide

Learn how to efficiently convert internal entities to external DTOs in Spring Boot 3 using ModelMapper, covering library comparisons, Maven setup, configuration, entity and DTO definitions, service, facade, controller implementation, and advanced features like custom mappings, property skipping, value conversion, and conditional mapping.

DTOJavaModelMapper
0 likes · 8 min read
Mastering DTO Mapping in Spring Boot 3 with ModelMapper: A Hands‑On Guide
Lobster Programming
Lobster Programming
Sep 30, 2024 · Backend Development

Mastering BO, DTO, VO, PO: When and How to Use Java Object Mapping Tools

This article clarifies the purpose of Java classes ending with “O”—BO, DTO, VO, PO—explains their proper usage in a typical front‑end/back‑end workflow, and compares mapping solutions like Spring BeanUtils and MapStruct with code examples.

BODTOJava
0 likes · 6 min read
Mastering BO, DTO, VO, PO: When and How to Use Java Object Mapping Tools
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 31, 2024 · Backend Development

Prevent Unintended Field Updates in SpringBoot: DTOs vs @InitBinder

This article explains how SpringBoot's default data binding can unintentionally modify unwanted fields and demonstrates three safe approaches—using a dedicated DTO, configuring WebDataBinder with @InitBinder to allow only specific fields, and applying advanced @InitBinder options such as required fields, constructor‑only binding, and custom validators—to ensure precise and secure request parameter handling.

@InitBinderDTOData Binding
0 likes · 7 min read
Prevent Unintended Field Updates in SpringBoot: DTOs vs @InitBinder
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 14, 2024 · Backend Development

Why @RequestBody Cannot Be Used Multiple Times in a Spring MVC Method – A Deep Dive

This article explains why the Spring MVC @RequestBody annotation cannot be applied to multiple parameters in a single handler method, detailing the internal request‑body reading process, the resulting HttpMessageNotReadableException, and how to correctly handle multiple data parts using a single DTO.

AnnotationDTOJava
0 likes · 8 min read
Why @RequestBody Cannot Be Used Multiple Times in a Spring MVC Method – A Deep Dive
Selected Java Interview Questions
Selected Java Interview Questions
May 30, 2024 · Backend Development

Understanding DTO, VO, PO and Object Mapping with BeanUtils and MapStruct in Java

This article explains the roles of DTO, VO, and PO in Java applications, compares manual property copying with BeanUtils and MapStruct, provides complete code examples for both approaches, and offers guidance on choosing the appropriate method based on performance and project needs.

BeanUtilsDTOJava
0 likes · 13 min read
Understanding DTO, VO, PO and Object Mapping with BeanUtils and MapStruct in Java
DeWu Technology
DeWu Technology
Apr 29, 2024 · Backend Development

Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization

When Dubbo RPC uses Protostuff serialization, DTO fields declared with ambiguous types that contain non‑standard collections such as subList results can trigger ClassNotFound or null errors during deserialization, so converting these to regular JDK collections (or switching to a more tolerant format like Hessian2/JSON) restores stability.

DTODubboJava
0 likes · 8 min read
Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization
Selected Java Interview Questions
Selected Java Interview Questions
Feb 26, 2024 · Backend Development

Understanding DTO, BO, PO, and VO in Backend Development

This article explains the differences between DTO, BO, PO, and VO in backend development, illustrates their roles with Java code examples, and shows how to configure global settings to filter null fields in DTOs, reducing the need for separate VO objects.

BODTOJava
0 likes · 6 min read
Understanding DTO, BO, PO, and VO in Backend Development
Architecture Digest
Architecture Digest
Aug 29, 2023 · Backend Development

Understanding POJO Types (VO, BO, PO, DTO, DO) and Using the Simple Object Copy Plugin for Java Object Mapping

This article explains the different POJO classifications such as VO, BO, PO, DTO and DO, describes their typical usage scenarios in layered Java applications, and demonstrates how the Simple Object Copy IntelliJ plugin can automatically generate conversion code, comparing it with other mapping tools.

DTOJavaObject Mapping
0 likes · 8 min read
Understanding POJO Types (VO, BO, PO, DTO, DO) and Using the Simple Object Copy Plugin for Java Object Mapping
Code Ape Tech Column
Code Ape Tech Column
Aug 25, 2023 · Backend Development

Understanding POJO, VO, BO, DTO, DO and Using Simple Object Copy Plugin for Java Object Mapping

This article explains the differences between POJO, VO, BO, PO, DTO and DO in Java, demonstrates how the Simple Object Copy IDEA plugin can generate one‑click conversion methods, compares it with other mapping tools, and provides sample code for complex object transformations.

Backend DevelopmentDTOJava
0 likes · 8 min read
Understanding POJO, VO, BO, DTO, DO and Using Simple Object Copy Plugin for Java Object Mapping
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
政采云技术
政采云技术
Jun 20, 2023 · Backend Development

Problems with BeanCopy and Improving Object Mapping Using MapStruct

This article examines the limitations of BeanCopy for Java DTO mapping—such as inheritance handling, recursive copying, lack of complex type support, performance overhead, and opaque assignments—and demonstrates how MapStruct can address these issues with compile‑time generated, type‑safe mappers.

Backend DevelopmentBeanCopyDTO
0 likes · 9 min read
Problems with BeanCopy and Improving Object Mapping Using MapStruct
macrozheng
macrozheng
Jun 14, 2023 · Backend Development

When and Why to Use VO, BO, PO, DO, and DTO in Java Projects

This article explains the roles of View Object (VO), Business Object (BO), Persistent Object (PO), Domain Object (DO), and Data Transfer Object (DTO) within the MVC architecture, discusses when they are beneficial for small versus large Java projects, and offers practical naming conventions to improve code maintainability and scalability.

BODTOJava
0 likes · 7 min read
When and Why to Use VO, BO, PO, DO, and DTO in Java Projects
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.

DTOJavaLombok
0 likes · 25 min read
Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices
Top Architect
Top Architect
Mar 16, 2023 · Backend Development

Understanding DTO, VO, BO, PO, DO, and POJO in Java Backend Development

This article explains the definitions, differences, and typical usage scenarios of DTO, VO, BO, PO, DO, and POJO in Java backend development, provides code examples for each layer, and introduces an IDEA plugin that automates object conversion to improve code maintainability.

BODTOJava
0 likes · 7 min read
Understanding DTO, VO, BO, PO, DO, and POJO in Java Backend Development
Top Architect
Top Architect
Mar 4, 2023 · Backend Development

Layered Domain Model and Object Types in Alibaba Java Development Specification

This article explains the Alibaba Java development specification for layered domain models, detailing the purpose and naming conventions of DO, DTO, BO, AO, VO, Query objects, and further clarifies the roles of PO, VO, DAO, BO, DTO, and POJO in Java backend architecture.

Backend DevelopmentDTOJava
0 likes · 7 min read
Layered Domain Model and Object Types in Alibaba Java Development Specification
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 20, 2022 · Backend Development

Designing a Unified Base Package for Backend Projects: Maven Dependencies, Standardized Response Body, and Data Object Segmentation

This article explains how to construct a reusable base package for backend systems by defining Maven dependency guidelines, a unified response body with business codes, proper data object layers such as PO, BO, DTO, VO, and pagination utilities, while illustrating the concepts with concrete Java code examples.

API designDDDDTO
0 likes · 11 min read
Designing a Unified Base Package for Backend Projects: Maven Dependencies, Standardized Response Body, and Data Object Segmentation