Recommended Bean Utility Libraries for Java
- by Jim Ferrans
I'm looking for a good, well-supported, and efficient Java library that uses reflection to automate JavaBean operations. These include making a deep copy of an arbitrary bean hierarchy (with nested lists and maps of beans), comparing two bean hierarchies for deep equality, and "transmorphing" one bean to another of a different class.
Some possibilities include Apache Commons BeanUtils, Spring's BeanUtils, and Java's Bean support.
Which libraries would you recommend?