The JSM_CLOSE Built-In Function is used to end the connection to the Java Service Manager. It is good programming practice to use a JSM_CLOSE before ending your function.
The SERVICE_UNLOAD does not have to be executed if a JSM_CLOSE is being executed.
If your function is using JSMDirect, do not use the SERVICE_UNLOAD command just issue the JSM_CLOSE to send the last command byte array response back to the HTTP client.
Syntax:
Arguments
|
Return Values
|