11.1.1 Main Program and Server Initialization
In an Oracle Tuxedo server, you use the buildobjserver
command to create the
main program for the C++ server. (Java servers are not supported in
release 8.0 and later of Oracle Tuxedo.) Server main program takes
care of all Oracle Tuxedo- and CORBA-related initialization of the
server functions. However, since you implement the Server object,
you have an opportunity to customize the way in which the server
application is initialized and shut down. The server main program
automatically invokes methods on the Server object at the
appropriate times.
In contrast, for an Oracle Tuxedo CORBA joint client/server (as for an Oracle Tuxedo CORBA client), you create the main program and are responsible for all initialization. You do not need to provide a Server object because you have complete control over the main program and you can provide initialization and shutdown code in any way that is convenient.
The specific initialization needed for a joint client/server is discussed in the section Servants.
Parent topic: Introduction