Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Blatant Advertising and the fly likes How to map properties between Objects easily Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "How to map properties between Objects easily" Watch "How to map properties between Objects easily" New topic
Author

How to map properties between Objects easily

Dario Garcia
Greenhorn

Joined: Mar 18, 2010
Posts: 1
Hi I just wanted to share with you a new Object Mapper and type converter library for Java.
Its name is Bean2Bean (http://bean2bean.wetpaint.com/page/Usage%3A+First+example) and enables you to copy properties easily between objects using annotations.

Its primary use is for DTOs and it really makes your life happy with them.
It is also a very fast type converter for any kind of object.

If you use DTOs or plan to develop a new project with them you should check this library,
and related projects too (http://bean2bean.wetpaint.com/page/Related+projects)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to map properties between Objects easily