3.1.1 Control Flow
The TP Framework, in conjunction with the ORB and the POA, controls the flow of the application program by doing the following:
- Controlling the server mainline and invoking callback methods on TP Framework-defined classes at appropriate times for server startup and shutdown. This relieves the application programmer from complex interactions related to ORB and POA initialization and coordination of transactions, resource managers, and object state on shutdown.
- Scheduling objects for activation and deactivation when client requests arrive and are completed. This removes the complexity of management of object activation and deactivation from the realm of the application programmer and enables the use of the TP monitor infrastructure’s powerful load-balancing capabilities, crucial to performance of mission-critical tasks.
Parent topic: A Simple Programming Model