There is sometimes needs to convert POJO to Map and vice-versa. This article talks about the different ways of conversion with common available library to do so.

Example POJO:

Apache Common BeanUtils.

Using Apache Common BeanUtils is short and sleek. Maven dependency library for Apache Common BeanUtils


This is build-in library for java. Another method to merge two Object is also added. More details for the Introspector

Jackson Databind.

Jackson is a good library with lots of other features.