I have used Dozer mapping framework in the past and has worked well, but have seen a few disadvantages with it. For the new implementation we were exploring better frameworks and in the hunt for better frameworks, found Mapstruct as the most developer friendly and better performing. I can definitely say Mapstruct is the kind of framework that we have been long looking for.
Kudos to all the developers/contributors of this project.
We have two applications for which we want to leverage this framework, the first one is a new application that is developed from ground up and was able to integrate Mapstruct seamlessly. The second one is a legacy application with some POJO Bean objects that only have public variables and have no getters/setters, this is where we are have hit the stumbling block as Mapstruct expects public getters/setters.
Does anybody know if there is a way in the framework to map public variables without getters/setters? Also, we cannot change the legacy bean objects that violate Java Beans specification as they are used deep inside a very large legacy application.
Also, Is there a way we can commit the generated Impl classes to SVN ? The eclipse (SVN plugin) is some how ignoring the generated classes.
Thanks in advance.