Bookmark Topic Watch Topic
  • New Topic

utility to convert a HashMap to a Javabean  RSS feed

 
achsu subra
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I am searching how to convert a HashMap to a Javabean. Looking how to create a bean (whose String attributes match with HashMap keys ) given bean class as input along with hashmap.
I read that we can use Dozer or org.apache.commons.beanutils.BeanMap. Can any one please provide the best way to do this with a small example code?

I am stuck up on this , please assist ASAP. Thanks a lot in advance.

regards,
achsu
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Don' t duplicate threads. Continue there.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!