-
Book Overview & Buying
-
Table Of Contents
Modernizing Oracle Tuxedo Applications with Python
By :
Before a client can access resources provided by Tuxedo servers, it must establish a connection. In the world of XATMI specification and Tuxedo, it is called joining the application. Many Tuxedo API calls do this implicitly when a function is called for the first time. The Python tuxedo module goes a step further and joins the application with non-default settings to offer more functionality by default. That should be enough for most cases and you should not think about this topic.
But there are exceptions to everything. Sometimes, an existing Tuxedo application has the AUTHSVR authentication server configured to require a login and password and you must provide it to join the application. If this is the case with you, every thread of your client program must call tpinit and tpterm functions to join to and to detach from the application. This is how the Python tuxedo module calls tpinit and tpterm behind the scenes:
import tuxedo as t t.tpinit( ...