Claims
- 1. A computer program product for execution by a server computer for automatically generating program code, comprising:
computer code for creating a class file container object; computer code for adding a method to the class file object; computer code for adding code to the method; computer code for generating Java byte code for the class file container object; and computer code for generate an instance of the new class file object.
- 2. The computer program product of claim 1 wherein creating a class file container object includes:
setting attributes for a class file.
- 3. The computer program product of claim 2 the attributes include at least one of class file name, parent super.
- 4. The computer program product of claim 1 wherein adding a method to the class file object includes:
adding a plurality of methods to the class file object.
- 5. The computer program product of claim 1 wherein adding code to the method includes
adding code to the method using constructs that correspond to programming language statements, expressions, and variables.
- 6. The computer program product of claim 5 wherein the constructs include parameters.
- 7. The computer program product of claim 5 wherein each statement, expression type, variable is represented as an object.
- 8. The computer program product of claim 1 wherein generating Java byte code for the class file container object includes:
generating an intermediate representation of program flow.
- 9. The computer program product of claim 8 wherein generating Java byte code for the class file container object includes:
converting the intermediate representation into byte code.
- 10. The computer program product of claim 1 wherein the program code implements an adaptor class.
- 11. The computer program product of claim 1 wherein the program code implements a proxy class.
CLAIM TO PRIORITY
[0001] The present application claims the benefit of priority under 35 U.S.C. §119(e) to U.S. Provisional Patent Application entitled “A SYSTEM FOR GENERATING HOT CODE”, Application No. 60/450,720, filed on Feb. 28, 2003, which application is incorporated herein by reference
Provisional Applications (1)
|
Number |
Date |
Country |
|
60450720 |
Feb 2003 |
US |