Patent ID: 8751469

Claim:
A method for providing a stateful computer application to a multitude of users, the method comprising for a given user of the plurality of users: generating a session identification for a user session for the user, wherein the state of the stateful computer application is described by a set of user-specific session variables; retrieving a state representation related to the user from a storage using the session identification, wherein the state representation comprises information permitting to reconstruct the set of user-specific session variables; restoring the set of user-specific session variables for the user by using the retrieved state representation; calling functional computing logic based on the restored set of user-specific session variables, wherein the functional computing logic comprises the code of the stateful computer application, wherein the call provides an updated set of user-specific session variables; calling of locking functions of the stateful computer application, wherein a stateless locking framework module substitutes the locking functions of the stateful computer application by substitute locking functions; upon completion of functions performed by the called functional computing logic, assembling from the updated set of user-specific session variables an updated state representation for the user and storing the updated state representation in the storage, wherein the session identification is a primary key, wherein the updated state representation comprises information permitting to reconstruct the updated set of user-specific session variables.