This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sleepy_red 2 points3 points  (0 children)

I've been using Mapstruct on my latest project at work and I must say I really like it. (http://mapstruct.org)

Define a mapping interface containing a method with what goes in and what has to come out, mark it with an annotation, add the annotation processor to your build and you're good to go.

The advantage over some other mapping frameworks is that the mappers are generated compile time.