I am writing simple blog web application using Spring MVC framework. I am willing to add DTO layer to my app.
DTO
I decided to use ModelMapper framework for con
Try the following simple way:
List postDtoList = Arrays.asList(modelMapper.map(postEntityList, PostDTO[].class));