Bean to map conversion in java


have a bean with getter setter methods
I want to get a Map from this bean in which keys are the name of the
properties of the bean and the values are the value of that property.


Hi, you can try apache commons-beanutils BeanMap.