This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
It would have helped to mention you were talking about Apache Common BeanUtils.
I've looked at the API, and first of all there's this message:
Utility methods for using Java Reflection APIs to facilitate generic property getter and setter operations on Java objects. Much of this code was originally included in BeanUtils, but has been separated because of the volume of code involved.
Now that doesn't mean a lot though. I've also compared the methods, and most are in both classes. I guess it doesn't matter much which one you use then. It wouldn't even surprise me if one of the two calls the other.
I'd say, just use PropertyUtils if it has your method, and BeanUtils otherwise. [ September 03, 2008: Message edited by: Rob Prime ]