A BEA Tuxedo server is a process that provides one or more services to a client. To build server processes, applications combine their service subroutines with a controlling program provided by the BEA Tuxedo system. Using ACUCOBOL-GT, this involves the following steps:
The program calls the standard BEA Tuxedo ATMI initialization and shutdown subroutines tpsvrinit() and tpsvrdone(). The tpsvrinit routine calls two functions: tpopen opens the resource manager, and userlog posts a message that the server has started. The tpsvrdone routine also calls a tpclose function, which closes the resource manager
On UNIX/Linux servers, use the buildserver command, adding the ACUCOBOL-GT runtime libraries. Acucorp supplies a makefile that can be used to simplify this process.
On Windows servers, relink the required Tuxedo libraries into the ACUCOBOL-GT runtime DLL, then issue the buildserver command with the ACUCOBOL-GT runtime libraries.