# ModelMapper Tutorial

## ![image info](/files/Wym4GTmkZlybZqLA9e6w) *Description*

Works in the same way as Orika/Dozer bean mapping frameworks does. This mapper uses the bytecode generation strategy based on Cglib library.

## ![image info](/files/LUzHaCFHWny1aP0kLPZf) *Features*

## ![image info](/files/QmErbJuFr2Rrhbdz3AEU) *Pros & Cons*

### ![image info](/files/o9Emirx7GNOCVqC9Yyww) *Pros*

* bytecode generation using Cglib library
* offers an API for specific use cases, so various mapping techniques can be implemented (via PropertyMappings with full conversion support)

### ![image info](/files/ZkvMmCSuGtnd1Xc9sSGC) *Cons*

* hard to debug end-to-end object mappings

## ![image info](/files/wWmQEQyZDnPtyN897NkF) *Use cases*

## ![image info](/files/ZBj89TLad7uaJDheymjX) *Links*

* [**Official Site**](http://modelmapper.org/)
* [**Official Repository**](https://github.com/modelmapper/modelmapper)
* [**Java Performance Mappings**](https://www.baeldung.com/java-performance-mapping-frameworks)
* [**Java ModelMapper Lists**](https://www.baeldung.com/java-modelmapper-lists)
* [**Java ModelMapper Habr**](https://habr.com/ru/post/438808/)
* [**Java ModelMapper FAQ**](https://progi.pro/modelmapper-t19329)
* [**Java ModelMapper OverCoder**](https://overcoder.net/q/696819/modelmapper-%D0%B2%D1%8B%D0%B1%D0%B5%D1%80%D0%B8%D1%82%D0%B5-%D0%BE%D1%82%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BD%D0%B0-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B5-%D0%B4%D0%BE%D1%87%D0%B5%D1%80%D0%BD%D0%B5%D0%B3%D0%BE-%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0)
* [**Java ModelMapper Alternatives**](https://java.libhunt.com/modelmapper-alternatives)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alexander-rogalsky.gitbook.io/object-mappers-docs/modules/modelmapper/info.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
