A JavaBean is a collection of one or more Java classes that serves as a self-contained, reusable component. A JavaBean can be a discrete component used in building a user interface or a non-UI component such as a data module or computation engine. At its simplest, a JavaBean is a public Java class that has a constructor with no parameters. JavaBeans usually have properties, methods, and events that follow certain naming conventions.
JavaBeans have some unique advantages over other components, such as:
They are pure Java, cross-platform components.
You can install them on the JBuilder component palette and use them in the construction and design of your program, or they can be used in other application builder tools for Java.
They can be deployed in JAR files.