BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Programming   |   Topic List   |   Previous   |   Next   |   Contents

   Programming a BEA Tuxedo Application Using TxRPC

Building an RPC Client

A native RPC client is built using the buildclient(1) command. This command automatically links in the BEA Tuxedo libraries. However, the RPC runtime must be linked in explicitly. This is done by specifying the -f -ltrpc option after any application files on the buildclient command line. Generally, the output of the tidl(1) command is a client stub object file. This can be passed directly to the buildclient command. Note that the client stub and the application source, object, and library files executing the remote procedure calls should be specified ahead of the runtime library, also using the -f option. For an example, see the makefile rpcsimp.mk in A Sample Application.

To build a UNIX Workstation client, simply add the -w option to the buildclient(1) command line so that the Workstation libraries are linked in instead of the native libraries.