Pages

Dozer Analysis : OBJECT MAPPING FRAMEWORKS AND APIS


Lets compare few alternatives enumerated above:

  1. Dozer — each bean is created using reflection, mapping is customized using XML and Java code.
  2. Orika — beans are created and initialized using code generated by library, mapping can be customized using Java code and own expression language.
  3. Manual conversion — each bean is created and initialized with code written manually. All conversion is performed in Java code.

    Key Observations :-
  1. Performance : manual 3ns   Orika : 21 ns  Dozer : 29 ns
  2. In general test proved that Orika is is almost as efficient as manually written code and much more performance than Dozer.
  3. Orika has more latency than Dozer.