eWebProgrammer
Distributednetworks GofPatterns
prev prev
Course navigation
What does the BDK consist of?
JavaBean API source code
The BDK includes the complete source code for the JavaBeans API, which is technically part of the core Java 1.1 API.
Although this source code is also available with the JDK 1.2, the BDK isolates the specific classes that comprise JavaBeans API.
JavaBeans technology is the component architecture for the Java 2 Platform, Standard Edition (J2SE).
Components (JavaBeans) are reusable software programs that you can develop and assemble easily to create sophisticated applications.
JavaBeans technology is based on the JavaBeans specification.
Beans Development Kit 1.1
BDK 1.1 contains an updated version of the BeanBox and some new sample Beans. The BeanBox is both a BeanContextcontainer and a BeanContext ServiceProvider.
The BeanBox provides a simple mechanism for propagating its execution environment to its contained Bean:
Design-time, run-time toggle.
The BeanBox also provides two services:
An InfoBus service (in preparation for the upcoming InfoBus 2.0).A method tracing service, discussed here in detail.
The BeanBox publishes the method tracing service. The Juggler Bean looks for this service and uses it to report on certain methods. The Juggler connects during instantiation to the method tracing service. Then methods such as paint(), startJuggling() and stopJuggling() use the service to post a message in the Method Tracing Window.
The BeanBox publishes the run-time/design-time toggle as a BeanContext service. When design-time is disabled, the method tracing service is suspended.
Course navigation