Generating a common gateway interface adaptor customized for a stored procedure
First Claim
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.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for generating a Common Gateway Interface (CGI) adaptor customized for a stored procedure. In accordance with the present invention, stored procedure application developers can provides their stored procedure to a builder, which creates a CGI adaptor customized for the stored procedure. To generate the CGI adaptor, the builder parses the stored procedure to identify the arguments of the stored procedure. Then, using the stored procedure arguments, the builder generates logic to extract variables from an input data stream, wherein the variables correspond to the arguments of the stored procedure. The builder also generates logic to invoke the stored procedure using the variables extracted from the input data stream. The generated logic comprises the customized CGI adaptor.
-
Citations
18 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
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. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
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. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification