SYBASE
ORACLE
INFORMIXRunning an object on the gateway has several implications, First, the user who started the gateway is the process owner as opposed to "nobody" for a CGI. Second, the starting directory of the gateway is the directory in which it was started, The HTTP server sets the start directory of the CGI. Third, the environment will be different. Fourth, the directory structure, depending on which CPU and NFS each runs on, might be different. Finally, the gateway may be harder to debug since you must attach to a running process.
For FUNCTION objects to run on the gateway, you must rebuild the gateway, as described in the previous section. To add new function objects to the gateway add a call to a registration function in the Main of the gateway, dborbd_main.c, found in the bin directory of the Sapphire/Web distribution. This function should register all object implementations with calls to the function, SaRegisterObjImp, and modify the make macro, APPL_OBJS, in the Makefile.orb file. Although more difficult to do, this may help off-load significant capability from the CGI, making it smaller. The Sapphire/Web client API is limited on the gateway to SutList type calls and the FUNCTION implementation functions, SaReq....