Reiterating the JavaBean

I love this blog post. Richard is right, very few people actually do understand what a true JavaBean actually is and/or does. Kudo’s to Richard for reiterating a great spec that most people seem to have forgotten. But what also boggles my mind is how many people are simply unaware of the JavaBean helper classes found in the java.beans package. As I’m sure many of you have, you’ve seen other developers do something like this: they create a class to reflectively invoke the getters and setters for a value object. By getting a BeanInfo instance from the Introspector, you get the same thing from the JDK for free. The best part is that it’s been a part of the JDK since at least 1.3, if not 1.2.