Hi Folks,
I have a datasource where I get a lot of different objects with a special kind of outline, lets say general data objects (DO). In my business logic I have business object (BO) representations of that DO�s, that carry the same information but in more simple bean like style. Because I don�t want to have DO�s in my business logic part of the application I need a mapping mechanism to convert DO�s to BO�s.
Are there any techniques/patterns available to have the mapping from DO to BO and way round in generic style? I want to prevent writing hundrets of mapper classes by hand. Reflection is also a no go (performance). The attribute names and the getter and setter methods could be totally different between DO�s and representing BO�s.
Any hint would be helpful!
Thanks & Regards,
Chris