Globus Toolkit 3.9.2 Development Documentation: WS Java Core

WS Java Core Samples

Run the counter sample
1 Change to the <distribution directory> directory.
2

Start the container by running:

 $GLOBUS_LOCATION/bin/globus-start-container    

(requires GLOBUS_LOCATION to be set)

3

In another window, run:

 $GLOBUS_LOCATION/bin/counter-client    

(requires GLOBUS_LOCATION to be set)

As a result you should see something like the following:

 ~/test/wsrf/install:17:56:52: ./bin/counter-client 
 Counter service: http://localhost:8080/wsrf/services/CounterService
 Got notification with value: 3
 Counter has value: 3
 Got notification with value: 13