Dozer
Dozer is a Java Bean to Java Bean mapper that recursively copies data from one object to another. (by DozerMapper)
ModelMapper
Intelligent object mapping (by modelmapper)
Our great sponsors
Dozer | ModelMapper | |
---|---|---|
3 | 3 | |
2,057 | 2,231 | |
0.3% | 0.5% | |
6.6 | 5.2 | |
about 2 months ago | 3 months ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Dozer
Posts with mentions or reviews of Dozer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-06.
-
We released a new version of ShapeShift (0.6.0) - A lightweight, modular, performant and extensible object mapping library
Oh man I had a sudden burst of nostalgia for dozer. Used that thing a bunch in the early-mid naughts with great success. I guess object mapping is an evergreen problem…
-
We released a new version of ShapeShift (0.4.0) - A lightweight Kotlin first library for Object Mapping. Would love to hear your thoughts!
Object mapping is not a new concept. Java libraries like mapstruct (https://github.com/mapstruct/mapstruct), dozer (https://github.com/DozerMapper/dozer) and modelmapper (https://github.com/modelmapper/modelmapper) have been doing it for a long time with a large crowd of developers behind them. We just brought it to Kotlin and improved it where we found the need.
-
Lessons learned from previous projects
I've used DTO for a very long time. One of my earliest blog posts is actually about DTOs, bean mapping, and the Dozer library to automate the mapping process. I even remember that a fellow architect advised me to design a dedicated class for each layer:
ModelMapper
Posts with mentions or reviews of ModelMapper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-21.
-
We released a new version of ShapeShift (0.4.0) - A lightweight Kotlin first library for Object Mapping. Would love to hear your thoughts!
Object mapping is not a new concept. Java libraries like mapstruct (https://github.com/mapstruct/mapstruct), dozer (https://github.com/DozerMapper/dozer) and modelmapper (https://github.com/modelmapper/modelmapper) have been doing it for a long time with a large crowd of developers behind them. We just brought it to Kotlin and improved it where we found the need.
- Desenvolvimento em Camadas utilizando DTO
-
Easier DTO/Entity mapping
I've used Modelmapper in projects recently. Pretty neat.
What are some alternatives?
When comparing Dozer and ModelMapper you can also consider the following projects:
MapStruct - An annotation processor for generating type-safe bean mappers
Orika - Simpler, better and faster Java bean mapping framework
JMapper Framework - Elegance, high performance and robustness all in one java bean mapper
Selma - Selma Java bean mapping that compiles
Beanmapper - Library for converting from one Java class to a dissimilar Java class with similar names based on the Bean convention
reMap - A declarative mapping library to simplify testable object mappings.