Activate and Deactivate procedures encapsulate logic that executes automatically for certain client requests on an AppServer running in stateless and state-free operating modes. (For information on the stateless operating mode, see the sections on operating modes in
AppServerand Client Interaction) When a client application sends remote procedure requests to a stateless AppServer, each request might execute in a different AppServer agent instance. To maintain application continuity between AppServer agents, you might need to establish some application-specific resources or context before and discard the resources and context after each request. The Activate and Deactivate procedures help to manage these resources and context more easily.