Patent attributes
A method for managing multiple REST requests of a browser or other client to resources in an atomic transaction using a transaction management process that is communicatively coupled to a cluster of computer-executed server processes. In one approach, the process is programmed for receiving from a browser process a request to start a transaction associated with a data access process; acquiring a database connection from the data access process and storing the database connection in an open state; receiving from the browser process REST queries for execution; forwarding the REST queries to the data access process, and forwarding responses from the data access process to the browser process; receiving a request from the browser process to end the transaction, and only in response to the second request, completing the transaction in communication with the data access process, and changing the database connection to a closed state. As the connection to the database remains open, multiple REST queries may be sent for updating multiple resources in a single transaction efficiently through the same data access process without occupying extra server processes.