step 0: setting up the environment ---------------------------------- tar xzf ~jmache/net/gt-install.tar.gz mkdir hw8 cd hw8 tar xzf ~jmache/net/prog.tar.gz export GLOBUS_LOCATION=../gt-install export ANT_HOME=/usr/local/apache-ant-1.7.0Beta3 source ../gt-install/etc/globus-devel-env.sh (if Tomcat is still running: export JAVA_HOME=/usr/java/jdk1.6.0 sudo shutdown.sh) step 4: creating a gar file --------------------------- sh globus-build-service.sh first step 5: deploying into container -------------------------------- ../gt-install/bin/globus-deploy-gar org_globus_examples_services_core_first.gar step 7a: start the container ---------------------------- ../gt-install/bin/globus-start-container -nosec & step 6: compile the client -------------------------- javac -cp build/stubs/classes/:$CLASSPATH org/globus/examples/clients/MathService_instance/*.java step 7b: execute the client (repeatedly) ---------------------------------------- java -cp build/stubs/classes/:$CLASSPATH org.globus.examples.clients.MathService_instance.ClientAdd http://149.175.51.3:8080/wsrf/services/examples/core/first/MathService 10 (type above in one long line; use your IP address; the last number is your "deposit") your homework: add "multiply" functionality =========================================== modify two files - schema/examples/MathService_instance/Math.wsdl (3 modifications) - org/globus/examples/services/core/first/impl/MathService.java (2 mods) and write org/globus/examples/clients/MathService_instance/ClientMul.java based on org/globus/examples/clients/MathService_instance/ClientAdd.java First, stop the container: kill %1 Then, re-do steps 4 to 7b from above. In the last step, use ClientMul instead of ClientAdd