JavaBeans

All World Wide Lab TM JavaBeans are packaged in <package_name>.jar file. To use the beans, import them into the Component Palette of your favorite Jave development tool (JavaWorkshop, JavaCafe, JBuilder, etc). Alternatively, beans can be loaded from their class files to most Component Palettes directly without jar packaging.  The properties of these Beans are documented in World Wide Lab TM  API.

GUI

Data Publisher (DP)

Data Subscriber (DS)

 


Tutorial #1: Remote Temperature Reading with a Simulated Data Source

This tutorial shows how to build a system with one Subject or data point.

1. Start White Board (WB). Type "java weblab.net.WhiteBoardImp"  in the installation directory.

2. Create a Data Publisher (DP) using a DoubleValueGenerator with the following property name-value pairs. See sample code test_publisher/UT_DoubleValueGenerator.java.

3. Call bean's activate() member function.  Start DP application.

4. Create a Data Subscriber (DS) using a NeedleMeterSubscriber with the
following property name-value pairs. See sample code test_subscriber/UT_NeedleMeterSubscriber.java.

5. Call bean's activate() member function.  Start DS application.
 



[ Home | Index ]