📓
Object-Mappers-Docs
  • Introduction
  • contributing
    • Contributing
  • links
    • Resources
  • reporting
    • Bug Report
    • Custom Report
    • Feature Request Template
    • General Information
    • Issue Report
    • Pull Request Template
  • user-guide
    • Changelog
    • Code of Conduct
    • Code Owners
    • Dependency Management
    • FAQ
    • Getting Started
    • Repositories: How to move content from one repository to another one
    • Troubleshooting
    • Upgrading
  • modules
    • beancp
      • BeanCP Tutorial
    • beanmapper
      • BeanMapper Tutorial
    • beanutils
      • BeanUtils Tutorial
    • bull
      • Bull Tutorial
    • converter
      • Converter Tutorial
    • datus
      • Datus Tutorial
    • doov
      • Doov Tutorial
    • dozer
      • Dozer Tutorial
    • jmapper
      • JMapper Tutorial
    • mapstruct
      • MapStruct Tutorial
    • modelmapper
      • ModelMapper Tutorial
    • moo
      • Moo Tutorial
    • nomin
      • Nomin Tutorial
    • orika
      • Orika Tutorial
    • remap
      • ReMap Tutorial
    • selma
      • Selma Tutorial
    • smooks
      • Smooks Tutorial
Powered by GitBook
On this page
  • Description
  • Features
  • Pros & Cons
  • Pros
  • Cons
  • Use cases
  • Links

Was this helpful?

  1. modules
  2. mapstruct

MapStruct Tutorial

PreviousmapstructNextmodelmapper

Last updated 3 years ago

Was this helpful?

Description

MapStruct is a complete Java Bean Mapper framework. Based on Annotation Processor (APT) mechanism to generate mappers for the individual Java beans mappings. The generated mappers are real Java-based classes that can also be debugged in the runtime. The MapStruct processor itself uses an interface/abstract class as a starting point of mappings creation (can also contain individually-matched property mapping implementations).

Features

Pros & Cons

Pros

  • annotation-based mappings processing mechanism

  • wide range of available mapping operations (with more complexity apart from Orika/Dozer)

  • can be debugged in runtime in order to validate the end-to-end object mappings

Cons

  • additional interfaces/abstract classes needed to handle the mapping mechanism

  • high performance and universal applicability

Use cases

Links

Official Site
Official Repository
Java Performance Mappings
Java MapStruct Guide
Java MapStruct Article
Java MapStruct FAQ
Java MapStruct Advanced
Java MapStruct Alternatives
image info
image info
image info
image info
image info
image info
image info