Patent ID: 8539480

Claim:
A generalized multi-instance computer application system comprising: a computer system having at least one computer with at least one processor and memory; a data store associated with the computer system that stores separate instances of program code of an application and corresponding template code common to all instances of the application wherein the data store also stores a relationship between the corresponding template code and each instance of the application for use by a language runtime engine in determining a relationship between the corresponding template code and the specific one of the instances of the application based on the file access request; and, the engine executing in the memory of the computer system, the engine determining, from a file access request to the application, a specific one of the instances of the application for which the file access request is directed and corresponding template code to be linked to the specific one of the instances of the application and linking the specific one of the instances of the application to the corresponding template code for a duration of a session associated with the file access request, so that subsequent file access requests for a same file are processed in the specific one of the instances of the application rather than in the template code common to all instances of the application.