JavaBeans is an object-oriented programming interface from Sun Microsystems that lets us build re-useable applications or program building blocks called components that can be deployed in a network on any major operating system platform. Like Java applets, JavaBeans components (or "Beans") can be used to give World Wide Web pages (or other applications) interactive capabilities such as computing interest rates or varying page content based on user or browser characteristics.

Why do we use JavaBeans:

  • Methods, properties and events of a bean can be exposed to another application.
  • The qualities, activities, and techniques of bean that are revealed to another program can be managed.
  • Auxiliary software can be provided to help set up a bean.
  • The configuration settings of a java bean can be saved to persistent storage and restored.