The GAR file, as mentioned in the previous page, contains all the files and information the web server needs to deploy the web service. Deployment is done with a GT4 tool that, using Ant, unpacks the GAR file and copies the files within (WSDL, compiled stubs, compiled implementation, WSDD) into key locations in the GT4 directory tree.
This deployment command must be run with a user that has write permission in $GLOBUS_LOCATION.
globus-deploy-gar $EXAMPLES_DIR/org_globus_examples_services_core_first.gar
There is also a command to undeploy a service:
globus-undeploy-gar org_globus_examples_services_core_first
Deployment is really as simple as that! That also concludes the five steps necessary to write and deploy a WSRF Web service. However, although you're probably beaming with pride because you've deployed your first WSRF web service, you'll certainly want to make sure that it works. We'll try out our recently deployed service using a very simple client application.