Skip to main content

Blog Archive for rbair during May 2006

What is a JavaBean? What is the JavaBean design pattern? If I asked that question in a room of a hundred people, I suspect fewer than 10 would really get it right. For the majority of Java developers, the JavaBean pattern is simply a naming convention for accessors/mutators (getters/setters) for a property. For example:   public class Supplier {    private String name; ...