In applications, database transactions are affected by distribution of components. For applications that include multiple databases, WebSpeed expands any transactions to include all the database involved. For applications that include AppServers (distributed applications), each application component (WebSpeed agent and AppServer) controls separate database transactions.