Computer system, program product and method utilizing executable file with alternate program code attached as a file attribute
First Claim
1. A method of retrieving a program for execution on a computer system, the program stored in a file on the computer system and including a first set of program code, the method comprising:
- (a) retrieving the file;
(b) generating a second set of program code from the first set of program code; and
(c) associating the second set of program code with the file using a file attribute.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system, program product, and method utilize alternate program code associated with an executable file using a file attribute so that the alternate program code may be retrieved and executed in lieu of the primary program code stored in the file. As one example, for a platform-independent executable file such as a Java class file, a file attribute of the file may be analyzed to determine if native program code for a particular platform is associated with the file. If so, the native program code may be retrieved and executed directly without the additional overhead associated with interpreting the platform-independent program code in the file. If, on the other hand, the native program code is not detected, the native program code may be generated and associated with the file using a file attribute such that the native program code is detected in subsequent attempts to retrieve and execute the file.
146 Citations
69 Claims
-
1. A method of retrieving a program for execution on a computer system, the program stored in a file on the computer system and including a first set of program code, the method comprising:
-
(a) retrieving the file;
(b) generating a second set of program code from the first set of program code; and
(c) associating the second set of program code with the file using a file attribute. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method of retrieving a program for execution on a computer system, the program stored in a file on the computer system and including a first set of program code, the method comprising:
-
(a) analyzing a file attribute for the file to detect existence of a second set of program code that is an alternate representation of the first set of program code; and
(b) if the second set of program code exists, retrieving the second set of program code. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
(a) generating a third set of program code from the first set of program code;
and(b) associating the third set of program code with the file using a file attribute.
-
-
25. The method of claim 24, wherein generating the third set of program code is performed in response to at least one of a determination that a revision status of the second set of program code does not match that of the first set of program code, and a determination that a prerequisite associated with the second set of program code is not met.
-
26. The method of claim 18, further comprising executing the second set of program code on the computer system.
-
27. The method of claim 18, wherein each of the first and second sets of program code is selected from the group consisting of source code, script code, intermediate code, object code, and combinations thereof.
-
28. The method of claim 18, wherein the first set of program code is platform-independent, and wherein the second set of program code is native to the computer system.
-
29. The method of claim 28, wherein the first set of program code includes a set of Java bytecodes, and wherein the second set of program code includes native program code compiled from the set of Java bytecodes.
-
30. The method of claim 29, wherein the file is a Java class file.
-
31. The method of claim 29, wherein the file is a Java archive (JAR) file.
-
32. The method of claim 18, wherein the file attribute is stored in a header portion of the file.
-
33. The method of claim 32, wherein the second set of program code is stored in the header portion of the file.
-
34. The method of claim 18, wherein the second set of program code is stored in a second file, and wherein the file attribute includes a reference to the second file.
-
35. The method of claim 18, wherein the file attribute is hidden from file input/output operations performed in the computer system.
-
36. The method of claim 18, wherein the file attribute is modifiable only by a file management system in the computer system.
-
37. The method of claim 18, further comprising separately controlling file access rights to the first and second sets of program code.
-
38. A method of optimizing execution of a program on a computer system, the program stored in a file on the computer system and including a first set of program code, the method comprising:
-
(a) analyzing a file attribute for the file to detect existence of a second set of program code that is an alternate representation of the first set of program code;
(b) if the second set of program code exists, retrieving and executing the second set of program code; and
(c) if the second set of program code does not exist;
(1) generating the second set of program code from the first set of program code;
(2) associating the second set of program code with the file using a file attribute; and
(3) executing the second set of compiled program code. - View Dependent Claims (39)
-
-
40. A computer system, comprising:
-
(a) a file system configured to store at least one file; and
(b) a processor, coupled to the file system, the processor configured to receive a file that includes a first set of program code and to generate a second set of program code from the first set of program code, the processor further configured to store the second set of program code in the file system with the second set of program code associated with the file using a file attribute for the file. - View Dependent Claims (41, 42, 43, 44, 45, 46, 47, 48, 49, 50)
-
-
51. A computer system, comprising:
-
(a) a memory; and
(b) a processor, coupled to the memory, the processor configured to detect existence of a second set of program code that is an alternate representation of a first set of program code in a file by analyzing a file attribute of the file, and to retrieve into the memory the second set of program code if the second set of program code is detected. - View Dependent Claims (52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63)
-
-
64. A program product, comprising:
-
(a) a first program configured to perform a method of retrieving a second program for execution on a computer system, the second program configured to be stored in a file on the computer system and including a first set of program code, the method comprising;
(1) retrieving the file;
(2) generating a second set of program code from the first set of program code; and
(3) associating the second set of program code with the file using a file attribute; and
(b) a signal bearing media bearing the program. - View Dependent Claims (65, 66)
-
-
67. A program product, comprising:
-
(a) a first program configured to perform a method of retrieving a second program for execution on a computer system, the second program configured to be stored in a file on the computer system and including a first set of program code, the method comprising;
(1) analyzing a file attribute for the file to detect existence of a second set of program code that is an alternate representation of the first set of program code; and
(2) if the second set of program code exists, retrieving the second set of program code; and
(b) a signal bearing media bearing the program. - View Dependent Claims (68, 69)
-
Specification