System and method for hosting an application in one of a plurality of execution environments
AssigneeMicrosoft Corporation
InventorsMurray E. Watt, Mark A. Alcazar
Life of this patent
Estimating the term…
Abstract
Described is a mechanism for executing a hosted application in either a browser-execution environment or as a standalone application. The invention provides a mechanism that enables hosting code in either of plural hosting environments. Briefly stated, code is created that executes in a common execution environment. That execution environment can be either owned by a browser or not. When the code is launched, a host sniffer component determines from an indicator within the code which hosting environment is appropriate. Based on that indicator, the code is launched in the appropriate hosting environment. The appropriate hosting environment may be either browser hosted or standalone.
Claims53
A computer-readable medium having computer-executable instructions for hosting an application on a computing system, the instructions comprising:
- receiving an indication to execute the application;
- examining the application to determine an appropriate hosting environment;
- and
- if the current hosting environment is not the appropriate hosting environment, invoking the application in the appropriate hosting environment.
A computer-implemented method for hosting an application on a computing system, the method comprising:
- identifying an instruction to launch the application in a first hosting environment;
- receiving at least a portion of the application;
- evaluating the portion of the application to determine an appropriate hosting environment for the application;
- and
- if the first hosting environment is consistent with the appropriate hosting environment, launching the application in the first hosting environment.
A computer-implemented method for hosting an application on a computing system, the method comprising:
- means for identifying an instruction to launch the application in a first hosting environment;
- means for receiving at least a portion of the application;
- means for evaluating the portion of the application to determine an appropriate hosting environment for the application;
- and
- if the first hosting environment is consistent with the appropriate hosting environment, means for launching the application in the first hosting environment
A computer-readable medium having computer-executable components for hosting an application on a computer system, the components comprising:
- a first code server operative to host the application in a first execution mode;
- a second code server operative to host the application in a second execution mode;
- a host sniffer configured to examine the application to identify an appropriate hosting environment in which to host the application, the appropriate hosting environment being one of either the first execution mode or the second execution mode;
- and
- a handler component executing in either the first execution mode or the second execution mode and being operative to invoke the host sniffer to identify the appropriate hosting environment and to cause the application to be launched in the appropriate hosting environment.
A computer-readable medium having computer-executable components, comprising:
- a body of code including a declarative indicator of which of at least two distinct hosting environments in which the body of code is intended to be hosted.
Dependencies are inferred from the claim text.