Developing a Tuxedo client
A client is an application program that initiates requests in the Tuxedo application. This can be built in different platforms (for example, in both terminal and graphical interfaces). A client has to join the application before it can make any request to a server/service and must leave the application before exiting.
There are basically two types of clients:
Native client: This runs on the same platform as the Tuxedo domain, meaning it is attached locally
Workstation (WS) client: This runs on a different machine and joins over the network to a Tuxedo application running on a different machine
The design, coding, and operation of these two types of clients are the same—the ATMI for both are identical. There are some differences in the way these clients are compiled using the buildclient
command, which will be described later.
Your client application uses tpinit()
to attach to a Tuxedo application and tpterm()
to detach from it. When a client joins an application, a...