Claims
- 1. A method of generating a Common Gateway Interface (CGI) adaptor customized for a stored procedure to facilitate communication between a client and a server, comprising the steps of:
- parsing the stored procedure to identify one or more arguments of the stored procedure, wherein the stored procedure is stored at the server;
- generating procedure-specific logic to extract variables from an input form received from the client, wherein the variables correspond to the arguments of the stored procedure; and
- generating procedure-specific logic to invoke the stored procedure at the server using the variables extracted from the input data stream from the client.
- 2. The method of claim 1, further comprising the step of generating logic to extract information from the input data stream that does not correspond to the arguments and to create a universal data structure from the information.
- 3. The method of claim 1, wherein the logic generating step comprises the step of generating a call to a CGI run-time library.
- 4. The method of claim 1, wherein the generating step comprises the step of generating logic to extract the variables from a command line.
- 5. The method of claim 1, wherein the generating step comprises the step of generating logic to call the stored procedure.
- 6. The method of claim 1, wherein the stored procedure comprises source language statements, and wherein the parsing step comprises the step of reading the source language statements of the stored procedure.
- 7. A Common Gateway Interface (CGI) adaptor generating apparatus for facilitating communication between a client and a server, comprising:
- a computer; and
- one or more computer programs, performed by the computer, for parsing the stored procedure to identify one or more arguments of the stored procedure, wherein the stored procedure is stored at the server for generating procedure-specific logic to extract variables from an input form received from the client, wherein the variables correspond to the arguments of the stored procedure, and for generating procedure-specific logic to invoke the stored procedure at the server using the variables extracted from the input data stream from the client.
- 8. The apparatus of claim 7, further comprising one or more computer programs, performed by the computer, for generating logic to extract information from the input data stream that does not correspond to the arguments and to create a universal data structure from the information.
- 9. The apparatus of claim 7, wherein the apparatus further comprises one or more computer programs, performed by the computer, for generating a call to a CGI run-time library.
- 10. The apparatus of claim 7, wherein the apparatus further comprises one or more computer programs, performed by the computer, for generating logic to extract the variables from a command line.
- 11. The apparatus of claim 7, wherein the apparatus further comprises one or more computer programs, performed by the computer, for generating logic to call the stored procedure.
- 12. The apparatus of claim 7, wherein the stored procedure comprises source language statements, and wherein the parsing means comprises means for reading the source language statements of the stored procedure.
- 13. An article of manufacture for use in generating a Common Gateway Interface (CGI) adaptor to facilitate communication between a client and a server, the article of manufacture comprising a computer-readable storage medium having a computer program embodied therein that causes the computer to perform the steps of:
- parsing the stored procedure to identify one or more arguments of the stored procedure, wherein the stored procedure is stored at the server;
- generating procedure-specific logic to extract variables from an input form received from the client, wherein the variables correspond to the arguments of the stored procedure; and
- generating procedure-specific logic to invoke the stored procedure at the server using the variables extracted from the input data stream from the client.
- 14. The article of manufacture of claim 13, further comprising the step of generating logic to extract information from the input data stream that does not correspond to the arguments and to create a universal data structure from the information.
- 15. The article of manufacture of claim 13, wherein the generating step comprises the step of generating a call to a CGI run-time library.
- 16. The article of manufacture of claim 13, wherein the generating step comprises the step of generating logic to extract the variables from a command line.
- 17. The article of manufacture of claim 13, wherein the generating step comprises the step of generating logic to call the stored procedure.
- 18. The article of manufacture of claim 13, wherein the stored procedure comprises source language, statements, and wherein the parsing step comprises the step of reading the source language statements of the stored procedure.
Parent Case Info
This application is a continuation of application Ser. No. 08/656,444, filed May 31, 1996, issued as U.S. Pat. No. 5,875,332 which application are incorporated herein by reference.
US Referenced Citations (4)
Non-Patent Literature Citations (3)
Entry |
Cox, "Spider spins powerful web tool", Network World, Oct. 1995, pp. 14. |
Gutierrez, "Nomad Development Corp's WebDBC common gateway interface--compliant program", Data Based Advisor, Aug. 1995 pp. 94(2). |
"Purveyor WebServer for Windows NT, Programmer's Guide", Process Software Corporation, Aug. 1995. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
656444 |
May 1996 |
|