This illustration shows the relationship between the Remote Session Controller, Client Session, and Server Session in a distributed architecture. Each client's Remote Session is associated with a Remote Session Controller on the server. The Remote Session Controller terminates the RMI connection between the client's Remote Session and the server. Requests from the client's Remote Session are received on the server by its Remote Session Controller which forwards the request to the corresponding Client Session on the server. The Client Session reads from the database by way of the shared Server Session and writes to the database directly by way of a private database connection.