Dozer
Home Page![](http://s9.addthis.com/button1-addthis.gif)
Categories: Miscellaneous
Latest version: 4.4
Added 2005-09-20Updated 2007-02-13
Java Bean to Java Bean mapper that recursively copies data from one object to another. Typically, these Java Beans will be of different complex types.
Dozer supports simple property mapping, complex type mapping, bi-directional mapping, implicit-explicit mapping, as well as recursive mapping. This includes mapping collection attributes that also need mapping at the element level.
The mapper is used any time you need to take one type of Java Bean and map it to another type of Java Bean. Most field mapping can be done automatically by Dozer using reflection, but any custom mapping can be predescribed in XML format. Mapping is bi-directional so only one relationship between classes needs defining. If any property names on both objects are the same you do not even need to do any explicit property mapping for these fields.
Features include:
- Context based mapping
- Collection and Array mapping handling Lists, Sets, Arrays and allowing for class type hints
- Support for custom converters
- Custom bean factories for beans that do not follow the JavaBean specification
- Inheritance mapping including abstract classes and interfaces
![Built for Java Built for Java](https://z.javatoolbox.com/style/Java.png) Built for Java |
![Free or free version available Free or free version available](https://z.javatoolbox.com/style/Free.png) Free or free version available |
![Source code provided Source code provided](https://z.javatoolbox.com/style/Source.png) Source code provided |