views:

35

answers:

2

Hi all,

There are some Java libraries that do stuff you would otherwise have to put in every single class. For example, I had to put a clone() method in every single class until I discovered Cloner, and I had to put XML handling code until I discovered XStream.

Are there any more similar helper libraries like these?

+1  A: 

You might like reflections

Reflections scans your classpath, indexes the metadata, allows you to query it on runtime and may save and collect that information for many modules within your project.

nanda
Nice one, I like it! (your link doesn't work, btw)
m01
fixed the links
nanda
+1  A: 

Apache Commons BeanUtils provides a number of reflection based operations such as the BeanComparator

Joshua