A method for loading computer programs into a portable object memory, in particular a chip card, from one or several transmitting devices EM1, . . . EMj, . . . EMp, p being a whole number. The computer program is divided into n blocks BLK1, . . . BLKi, . . . BLKn, n being a whole number greater than 1. Information I(n) representing a number of blocks to be loaded is transmitted to the portable object. The blocks BLK1, . . . BLKi, . . . BLKn are loaded into the portable object memory, and each block BLKi loaded in the portable object is counted, restarting from the last block during re-loading, to avoid restarting from the beginning.
A method of loading an object-oriented computer program comprises translating the program into compiled code and holding that code, ready for execution, in an execution environment which does not necessarily also hold the original program code. In a preferred embodiment, the original class file is discarded from memory prior to execution of the program. The invention is particularly applicable to wireless communications networks consisting of a plurality of client devices, such as mobile phones, each of which typically has only a small amount of memory available. Using the present invention, the original class file is discarded after compilation, and does not need to be retained in the client device memories.