Summary
warning | JWAVE uses an insecure protocol without authentication. This makes JWAVE insecure to use in an Internet facing configuration and would allow an attacker to execute arbitrary code on the server. If you choose to implement JWAVE in this way, you are responsible for the security of those applications that leverage JWAVE. |
This section explained how to develop and test JWAVE wrapper functions. A JWAVE wrapper function is a PV‑WAVE function that communicates, through the JWAVE Manager, with a JWAVE client (Java) application. JWAVE wrappers use functions for “unpacking” parameters sent from the client. The RETURN statement in a JWAVE wrapper automatically packs and returns parameters and data to the Java client.
You can use standard PV‑WAVE error trapping routines to trap errors in a JWAVE wrapper function. If you trap and handle errors within the wrapper function, be sure to reset the !Error system variable to 0 after the error is trapped to prevent an error message from being returned to the client.
Remember that JWAVE wrapper functions, and any PV‑WAVE functions that run on the JWAVE server, must be compiled with the PV‑WAVE COMPILE command.