[ JCCF ] [ java APIs ] [ java beans ]

Java Beans

The Java beans principle consists in encapsulating a Java class so that it interacts with its environment in the following manner:
input
Input comes from the outside as methods invokation or events arrival.
output
Output is done through properties, i.e. attributes, the modification of wich can be seen from the outside of the bean. The bean can itself generate events.

input output

Once you have developped a new bean you can integrate it in the Bean Development Kit which you can get from JavaSoft. This piece of software also illustrates how an environment or any class can interact with beans using some sort of query/interaction mechanisms provided by the bean encapsulation.

See also:

The JavaSoft Beans page
http://www.javasoft.com/beans/



© Serge.Chaumette@labri.u-bordeaux.fr
Last updated = june 12th 1997
url = beans/index.html