You can also "reconfigure" completely the BeanUtils creating your converters and adding them also the "formatter" interface. Convert means: from string to obj Format means: from object to string In this way you can configure the beanutils environment to automatically convert your xxxForm to xxxDTO and format your xxxDTO to xxxForm.
It isn't a simple approach, but once you did it, it can be used for any DTO/Form without forcing you to create accessory get/set methods like getFormattedStartDate() or setFormattedStartDate() any time you have a Date field (or a Double/Integer....)
Joined: Jan 11, 2005
Okay, I went with the easy solution for now, and it works! The other is a little ambitious for me at the moment.