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
-
NeedleMeter
-
MeterGauge
-
BarMeter
-
Thermometer
-
... more to come
Data Publisher (DP)
-
DoubleValueGenerator - a random Double value data-source with DP network
capability built-in, for testing DS.
-
... more to come
Data Subscriber (DS)
-
NeedleMeterSubscriber - a NeedleMeter bean with DS network capability built-in.
-
MeterGaugeSubscriber - a MeterGauge bean with DS network capability built-in.
-
BarMeterSubscriber - a BarMeter bean with DS network capability built-in.
-
ThermometerSubscriber - a Thermometer bean with DS network capability built-in.
-
... more to come
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.
server: $SERVER
subject: temp
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.
server: $SERVER
subject: temp
5. Call bean's activate() member function. Start DS application.
[ Home | Index
]