Start client on the same machine (it tries to connect to localhost by
default):
java SM.ginf.HelloWorldClient
You should see the following output:
CONNECTING: http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-hello-world
Registred schema http://www.w3.org/1999/02/22-rdf-syntax-ns
of size 13
Registred schema http://www.w3.org/TR/WD-rdf-schema
of size 61
Registred schema http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-core-comm
of size 29
Registred schema http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-hello-world
of size 9
Registred schema http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-core-state
of size 11
Registred schema http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-http
of
size 10
Hello world!
Schema http://www-diglib.stanford.edu/diglib/ginf/1999/05/26-hello-worldis
fetched over the network. The server fetches and registeres this schema
upon receiving the client request, too.
java SM.diglib.Server file:/u/me/here_I_unpacked_it/doc-db.rdfRun the client against it:
java SM.diglib.Client http://your.host/Test your server instance: go to the Java client page and type in http://your.host into the field "Host".