Claims
- 1. A method for packaging program components for execution in a distributed system, comprising the steps of:
determining a component referenced by a program; extracting the component from a stored class; and generating a package that includes the program and the extracted component.
- 2. The method of claim 1, further comprising the step of extracting ancillary information associated with the stored class.
- 3. The method of claim 1, further comprising the steps of:
analyzing the component for any reference to another component; extracting the referenced component from a stored class; and adding the extracted referenced component to the package.
- 4. The method of claim 1, further comprising the steps of:
analyzing a subclass for an overriding method; extracting the overriding method from a stored class; and adding the extracted overriding method to the package.
- 5. The method of claim 1, further comprising the steps of:
analyzing a stored class for a method that overrides a previously loaded method; extracting the overriding method from the stored class; and adding the extracted overriding method to the package.
- 6. The method of claim 1, wherein the extracting step further comprises the step of determining whether a component should be extracted based on a previously extracted component.
- 7. The method of claim 1, wherein the extracting step further comprises the steps of:
receiving an instruction about an excluded component that should not be added to the package; and determining whether a component should be extracted based on the instruction.
- 8. The method of claim 2, further comprising the steps of:
receiving an instruction about an excluded component that should not be added to the package; and determining whether a component should be extracted based on the instruction.
- 9. The method of claim 1, further comprising the steps of:
receiving an instruction about a supplemental component that should be added to the package; extracting the supplemental component from a stored class; and adding the supplemental component to the package.
- 10. The method of claim 2, further comprising the steps of:
receiving an instruction about a supplemental component that should be added to the package; extracting the supplemental component from a stored class; and adding the supplemental component to the package.
- 11. The method of claim 1, further comprising the steps of:
receiving the starting point of program execution; and receiving a location for a class file.
- 12. A computer-readable medium containing instructions for packaging program components for execution in a distributed system by:
determining a component referenced by a program; extracting the component from a stored class; and generating a package that includes the program and the extracted component.
- 13. The computer-readable medium of claim 12, further comprising the step of extracting ancillary information associated with the stored class.
- 14. The computer-readable medium of claim 12, further comprising the steps of:
analyzing the component for any reference to another component; extracting the referenced component from a stored class; and adding the extracted referenced component to the package.
- 15. The computer-readable medium of claim 12, further comprising the steps of:
analyzing a subclass for an overriding method; extracting the overriding method from a stored class; and adding the extracted overriding method to the package.
- 16. The computer-readable medium of claim 12, further comprising the steps of:
analyzing a stored class for a method that overrides a previously loaded method; extracting the overriding method from the stored class; and adding the extracted overriding method to the package.
- 17. The computer-readable medium of claim 12, wherein the extracting step further comprises the step of determining whether a component should be extracted based on a previously extracted component.
- 18. The computer-readable medium of claim 12, wherein the extracting step further comprises the steps of:
receiving an instruction about an excluded component that should not be added to the package; and determining whether a component should be extracted based on the instruction.
- 19. The computer-readable medium of claim 13, further comprising the steps of:
receiving an instruction about an excluded component that should not be added to the package; and determining whether a component should be extracted based on the instruction.
- 20. The computer-readable medium of claim 12, further comprising the steps of:
receiving an instruction about a supplemental component that should be added to the package; extracting the supplemental component from a stored class; and adding the supplemental component to the package.
- 21. The computer-readable medium of claim 13, further comprising the steps of:
receiving an instruction about a supplemental component that should be added to the package; extracting the supplemental component from a stored class; and adding the supplemental component to the package.
- 22. The computer-readable medium of claim 12, further comprising the steps of:
receiving the starting point of program execution; and receiving a location for a class file.
- 23. An apparatus for packaging program components for execution in a distributed system, comprising:
means for determining a component referenced by a program; means for extracting the component from a stored class; and means for generating a package that includes the program and the extracted component.
- 24. A system, comprising:
a client having (a) a processor, (b) a memory, and (c) a runtime environment including a virtual machine task; a server having (a) a processor, (b) a memory, (c) an interface task, (d) a linkage editor task, and (e) component files; and a network interconnecting the client and the server.
RELATED APPLICATIONS
1. The following U.S. patent application is relied upon and is incorporated by reference in this application: U.S. Patent Application No. ——— entitled “Methods and Apparatus for Packaging a Program for Remote Execution,” bearing attorney docket no. 06502.0073-00000, and filed on the same date herewith.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09044904 |
Mar 1998 |
US |
Child |
09726609 |
Dec 2000 |
US |