JWAVE User Guide > JWAVE Server Development > Summary
  

Summary
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.

Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.