A method for executing a script code of an application, the method being implemented via an electronic device, named calling resource (ResA, A), within which said application is executable, the method comprising: - a step of obtaining the script code of the application comprising a set of projectable objects (OA, XA, ZA), a projectable object of the set of projectable objects comprising at least one function executable before a destination execution resource (resX, B); - a step of preparing an indexing table (ref A), said indexing table listing the projectable objects to be transmitted to a destination execution resource (ResX, B), within which table an index (0, 1,...) is associated to an object reference (RefOA, RefXA,...) in order to form at least one object indexing datum and a step of generating a transmission data structure (PCP#, heap) of at least one projectable object of said script code obtained beforehand, said structure being in the form of a table comprising, for each projectable object, an index (0, 1,...), corresponding to the index (0, 1,...) of the reference of this projectable object within the indexing table (ref A) and a serialised representation (r0, r1,...) of the projectable object; - a step of transmitting, to a destination execution resource, the transmission data structure (PCP#, heap) of the script code; and subsequently to the execution, by the destination execution resource, of at least one function of said at least one projectable object of the transmission data structure: - a step of receiving a data structure (ExObj, diff) of execution results of said at least one function, said data structure comprising said at least one projected object indexing datum; - a step of integrating execution results of the execution results data structure (ExObj, diff) within the calling resource, comprising a projectable object update according to said at least one indexing datum, said step of integrating comprising: - a step of updating, within the calling resource (ResA, A), the set of projectable objects, said updating comprising a creation of a new projectable object when a projectable object absent from the transmission data structure (PCP#, heap) has been created by the destination execution resource during the execution; - a step of updating values of the projectable objects of the set of projectable objects, said step comprising a verification of a consistency of values to be updated according to original values contained in the transmission data structure (PCP#, heap). - a step of obtaining the script code of the application comprising a set of projectable objects (OA, XA, ZA), a projectable object of the set of projectable objects comprising at least one function executable before a destination execution resource (resX, B); - a step of preparing an indexing table (ref A), said indexing table listing the projectable objects to be transmitted to a destination execution resource (ResX, B), within which table an index (0, 1,...) is associated to an object reference (RefOA, RefXA,...) in order to form at least one object indexing datum and a step of generating a transmission data structure (PCP#, heap) of at least one projectable object of said script code obtained beforehand, said structure being in the form of a table comprising, for each projectable object, an index (0, 1,...), corresponding to the index (0, 1,...) of the reference of this projectable object within the indexing table (ref A) and a serialised representation (r0, r1,...) of the projectable object; - a step of transmitting, to a destination execution resource, the transmission data structure (PCP#, heap) of the script code; and - a step of receiving a data structure (ExObj, diff) of execution results of said at least one function, said data structure comprising said at least one projected object indexing datum; - a step of integrating execution results of the execution results data structure (ExObj, diff) within the calling resource, comprising a projectable object update according to said at least one indexing datum, said step of integrating comprising: - a step of updating, within the calling resource (ResA, A), the set of projectable objects, said updating comprising a creation of a new projectable object when a projectable object absent from the transmission data structure (PCP#, heap) has been created by the destination execution resource during the execution; - a step of updating values of the projectable objects of the set of projectable objects, said step comprising a verification of a consistency of values to be updated according to original values contained in the transmission data structure (PCP#, heap). - a step of updating, within the calling resource (ResA, A), the set of projectable objects, said updating comprising a creation of a new projectable object when a projectable object absent from the transmission data structure (PCP#, heap) has been created by the destination execution resource during the execution; - a step of updating values of the projectable objects of the set of projectable objects, said step comprising a verification of a consistency of values to be updated according to original values contained in the transmission data structure (PCP#, heap).