Method for handling byte code in a configurable manner
First Claim
1. A method for delivering byte code comprising:
- extracting from byte code a header, said header having class information descriptive of classes to be loaded;
extracting a first time from said header;
extracting a second time from said header; and
loading said classes after said first time and before said second time.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for timely delivery of classes and objects is provided. A header comprising timing information is attached to said classes and/or objects. A “start loading” time and a “load by” time are specified in the header. Other classes and/or objects to be loaded are also specified in the header. Optional compression, security, and/or error resilience schemes are also specified in the header. A process for creating the header and attaching it to a class or object is provided. A process for receiving and processing a class or object with an attached header is provided. Embodiments of the invention allow timely delivery of classes and/or objects over a wide variety of transport mechanisms, including unreliable transport mechanisms and those lacking any guarantees of timely delivery.
22 Citations
84 Claims
-
1. A method for delivering byte code comprising:
-
extracting from byte code a header, said header having class information descriptive of classes to be loaded; extracting a first time from said header; extracting a second time from said header; and loading said classes after said first time and before said second time.
-
-
2. A method for handling byte code in a configurable manner,
said method comprising: -
receiving a data stream; identifying a byte code header within the data stream; extracting information from the byte code header, wherein the extracted information includes;
references to one or more classes, and timing information corresponding to the one or more classes, wherein the timing information specifies a first deadline; andcompleting the loading of the one or more classes before the first deadline. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for handling byte code transport comprising:
-
determining a byte code ready for transport; constructing a header for the byte code; and sending the header and the byte code attached as a data stream, wherein the header includes configuration and timing information for programmably receiving the byte code in a timely fashion. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A method for receiving byte code, the method comprising:
-
receiving a data stream having one or more packets; reading a byte code header from the data stream; and extracting information from the byte code header, wherein the extracted information includes; a first timestamp specifying a first time by which a first class will be loaded, a second timestamp specifying a second time before which loading of the first class will not be started, and information identifying one or more additional classes to be loaded, wherein the first class is dependent upon the one or more additional classes.
-
-
20. A method for receiving byte code, the method comprising:
-
receiving a data stream having one or more packets; reading a byte code header from the data stream; and extracting information from the byte code header, wherein the extracted information includes; a load-by timestamp specifying a load-by time by which a first class will be loaded, a start loading timestamp specifying a start loading time before which loading of the first class will not be started, and information identifying one or more additional classes to be loaded, wherein the first class is dependent upon the one or more additional classes. - View Dependent Claims (21, 22)
-
-
23. A method for receiving byte code, the method comprising:
-
receiving a data stream having one or more packets; reading a byte code header from the data stream; and extracting information from the byte code header, wherein the extracted information includes; a first timestamp specifying a first time before which a first class will be loaded, a second timestamp specifying a second time before which loading of the first class will not be started, and information identifying a second class to be loaded, wherein the first class is dependent upon the second class. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. A method for receiving byte code, the method comprising:
-
receiving a data stream having two or more classes, wherein each class has a header, wherein the headers and classes are packetized into one or more packets; reading a byte code header from the data stream, wherein the byte code header is distributed amongst one or more of the packets; and extracting information from the byte code header, wherein the extracted information includes; a first timestamp specifying a first time before which a first class will be loaded, a second timestamp specifying a second time before which loading of the first class will not be started, and information identifying a second class to be loaded, wherein the first class is dependent upon a second class. - View Dependent Claims (30, 31, 32)
-
-
33. A method comprising:
-
receiving a data stream; identifying a byte code header within the data stream; extracting information from the byte code header, wherein the extracted information includes; a first reference to a first class, a second reference to a second set of one or more classes upon which the first class depends on, and timing information corresponding to the first class, wherein the timing information specifies a first time and a second time; loading the second set of one or more classes; beginning loading the first class no sooner than the first time and after the second set of one or more classes has completed loading; and completing the loading of the first class by the second timestamp, wherein the first class is dependent upon the second set of one or more classes.
-
-
34. A method comprising:
-
receiving a data stream; identifying a byte code header within the data stream; extracting information from the byte code header, wherein the extracted information includes; a first reference to a first set of one or more classes, a second reference to a second set of one or more classes, and timing information corresponding to the first set of one or more classes, wherein the timing information specifies a first time and a second time;
loading the second set of one or more classes;beginning loading of the first set of one or more classes no sooner than the first time and after the second set of one or more classes has completed loading; and completing the loading of the first set of one or more classes by the second time, wherein the first set of classes are dependent upon the second set of one or more classes. - View Dependent Claims (35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
-
45. A method for preparing byte code for transmission, the method comprising:
-
creating a data stream having one or more payloads, wherein a first of the one or more payloads includes a first class, and adding a byte code header to a first payload in the data stream, wherein the byte code header includes; a first timestamp specifying a first time by which a first class will be loaded, a second timestamp specifying a second time after which loading of the first class will start, and information identifying at least a second class to be loaded, wherein the first class is dependent upon at least the second class. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52)
-
-
53. A method for preparing byte code for transmission, the method comprising:
-
creating a stream of data having one or more payloads, wherein a first of the one or more payloads includes a first class and a second class; and adding a byte code header to a first payload in the data stream, wherein the byte code header includes; information specifying a load-by time by which a first class in the data stream will be loaded, information specifying a start loading time for the first class, and information identifying a second class to be loaded before the first class, wherein the first class is dependent upon the second class. - View Dependent Claims (54, 55, 56)
-
-
57. A method for handling byte code in a configurable manner, said method comprising:
-
receiving a data stream; identifying a byte code header within the data stream; extracting information from the byte code header, wherein the extracted information includes; references to one or more classes, and timing information corresponding to the one or more classes, wherein the timing information specifies a first deadline and a second deadline; starting the loading of the one or more classes not before the first deadline; and completing the loading of the one or more classes not later than the second deadline. - View Dependent Claims (58, 59, 60, 61, 62, 63, 64, 65, 66, 67)
-
-
68. A method for handling byte code transport comprising:
-
determining a byte code ready for transport; constructing a header for the byte code to enable timely delivery; and sending the header and the byte code attached as a data stream, wherein the header includes configuration and timing information for programmably receiving and loading the byte code to achieve timely delivery of said byte code. - View Dependent Claims (69, 70, 71, 72, 73)
-
-
74. A computer-readable medium having computer program code embodied therein, wherein the computer program code is executable by a processor to:
-
receive a data stream including a byte code with a header; extract information from the header, wherein the information includes configuration information for the processor, wherein said configuration information includes timing information to control the loading of classes; and time the loading of additional code or data relative to the timing information from the header. - View Dependent Claims (75, 76, 77, 78, 79, 80)
-
-
81. A computer-readable medium comprising a computer program, wherein the computer-program is executable to:
-
(a) receive a data stream having one or more packets; (b) read a byte code header in the data stream; (c) extract information from the byte code header, wherein the extracted information includes; a start loading timestamp specifying a start loading time for a first class in the data stream, a load-by timestamp specifying a load-by time for the first class in the data stream, and information identifying a second class in the data stream, wherein the first class is dependent upon the second class; (d) start loading the first class no sooner than the start loading time; (e) complete loading of the first class by the load-by time; (f) determine whether the first class completed loading by the second time; and (g) assert an error condition if the first class did not complete loading by the load-by time. - View Dependent Claims (82, 83)
-
-
84. A computer-readable medium comprising a computer program, wherein the computer program is executable to prepare byte code for transmission by:
-
creating a data stream having one or more packets, wherein a first of the one or more packets has a first class, and wherein a second of the one or more packets has a second class; and adding a byte code header to a first packet in the data stream, wherein the byte code header includes; a first timestamp specifying a first time by which a first class will be loaded, a second timestamp specifying a second time after which loading of the first class will start, and information identifying at least a second class to be loaded, wherein the first class is dependent upon the second class.
-
Specification