to the main page about the tutorial  INTERACTIVE WEB SERVICES WITH JAVA back up next

The JWIG System

Consider again the ExampleService example.

The following commands are used (on UNIX/Linux) to create and maintain a working service:

Compile the source code:
jwig compile ExampleService.jwig

This creates the following files:
ExampleService$ExampleSession.class  ExampleService.class

Obtain static guarantees:
jwig analyze *.class

Install the service:
jwig install ~/jwig-bin/MyExample *.class

Run the service with the URL (where USER is your user name):
http://freewig.brics.dk/jwig-USER/MyExample/ExampleService*ExampleSession

The service can be updated:
jwig update ~/jwig-bin/MyExample *.class

Uninstall the service:
jwig uninstall ~/jwig-bin/MyExample

back COPYRIGHT © 2002-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next