Application downloading
AssigneeInternational Business Machines Corporation
InventorsGareth E. Jones, James C. Thomas
Life of this patent
Estimating the term…
Abstract
A method, system and computer program product for downloading an application over a network from a remote server to a client device, where the application includes a plurality of modules. A class for each module is created, where the class includes a constructor. A request to use a module of the application is received. Upon receiving the request, a determination is made as to whether the received request is a first request to use the module. If the received request is the first request to use the module, then the requested module is downloaded, the constructor is overwritten with the downloaded module and the constructor within the created class for the requested module is executed.
Claims12
A method for downloading an application over a network from a remote server to a client device, the application comprising a plurality of modules, the method comprising:
- creating a class for each module of the plurality of modules, the class comprising a stub constructor;
- receiving a request to use a module of the plurality of modules of the application;
- determining if the received request is a first request to use the module;
- downloading the requested module in response to the received request being the first request to use the module;
- overwriting the stub constructor with the downloaded module having a module constructor in response to the received request being the first request to use the module;
- and
- executing, by a processor, the module constructor within the created class for the requested module.
A computer program product embodied in a computer readable storage device for downloading an application over a network from a remote server to a client device, the application comprising a plurality of modules, the computer program product comprising the programming instructions for:
- creating a class for each module of the plurality of modules, the class comprising a stub constructor;
- receiving a request to use a module of the plurality of modules of the application;
- determining if the received request is a first request to use the module;
- downloading the requested module in response to the received request being the first request to use the module;
- overwriting the stub constructor with the downloaded module having a module constructor in response to the received request being the first request to use the module;
- and
- executing the module constructor within the created class for the requested module.
A system, comprising:
- a memory unit for storing a computer program for downloading an application over a network from a remote server to a client device, the application comprising a plurality of modules;
- and
- a processor coupled to the memory unit, wherein the processor is configured to execute program instructions of the computer program comprising:
- creating a class for each module of the plurality of modules, the class comprising a stub constructor;
- receiving a request to use a module of the plurality of modules of the application;
- determining if the received request is a first request to use the module;
- downloading the requested module in response to the received request being the first request to use the module;
- overwriting the stub constructor with the downloaded module having a module constructor in response to the received request being the first request to use the module;
- and
- executing the module constructor within the created class for the requested module.
Dependencies are inferred from the claim text.