Introduction

Definition

  • Java Beans are reusable software component model which allow a great flexibility and
    addition of features in the existing piece of software.
  • A Java Bean is a reusable software component that can be visually manipulated in builder tools.

Features

  • Individual Java Beans varies in its functionality, but most  beans share certain common defining features.
  • Support for introspection allowing a builder tool to analyze how a bean works.
  • Support for customization allowing a user to alter the appearance and behaviour of a bean.
  • Support for events allowing beans to fire events, and informing builder tools about both the events they can fire and the events they can handle.
  • Support for properties allowing beans to be manipulated programmatically, as well as to support the customization mentioned above.
  • Support for persistence allowing beans that have been customized in an application builder to have their state saved and restored. Typically persistence is used with an application builder’s save and load menu any work that has gone into constructing an application.
  • Builder Tool –
  • Bean Box –
    •  BeanBox is a utility from the Java Beans Development Kit (BDK). Basically the BeanBox is a test container for your JavaBeans. It is designed to allow programmers
      to preview how a Bean created by user will be displayed and manipulated in a builder
      tool. The BeanBox is not a builder tool.It allows programmers to preview how a bean
      will be displayed and used by a builder tool.It allows programmers to preview how a bean will be displayed and used by a builder tool.

Syntax

Advantages

Disadvantages

Use

 4,911 total views,  1 views today

Categories: Java

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.