martinc65:

Thanks for responding.

For sake of argument, say the Java program which is run (by me) to start the Gateway program and link to the server contains (which I'm sure it does) a library of functions.
Could not one (or more) of these functions be called and executed from the server using http?