Optimization of portable operations in a client-server environment
First Claim
Patent Images
1. A method of compiling a JAVA Server Page (JSP) resident on a server, the method comprising:
- (a) receiving first server program code associated with a JSP that is configured to generate an active document for transmission to a client, wherein the active document is configured to initiate the transmission of input data from the client to the server in response to user input supplied to the active document;
(b) receiving second server program code associated with the JSP that is configured to process the input data received by the server from the client;
(c) identifying a portable operation performed by the second server program code in connection with processing the input data, wherein the portable operation includes at least one of formatting the input data and validating the input data;
(d) modifying the first server program code to generate the active document with at least one instruction embedded therein to initiate performance of the portable operation by the client when processing the active document;
(e) modifying the second server program code to eliminate performance of the portable operation by the second server program code; and
(f) compiling the modified first and second server program code to generate at least one JAVA servlet for execution on the server.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, program product and method optimize the interaction between a client and server via an active document through the modification of server-side program code that generates the active document to effectively shift the performance of portable operations, e.g., data formatting and data validation operations, from the server to the client.
37 Citations
29 Claims
-
1. A method of compiling a JAVA Server Page (JSP) resident on a server, the method comprising:
-
(a) receiving first server program code associated with a JSP that is configured to generate an active document for transmission to a client, wherein the active document is configured to initiate the transmission of input data from the client to the server in response to user input supplied to the active document; (b) receiving second server program code associated with the JSP that is configured to process the input data received by the server from the client; (c) identifying a portable operation performed by the second server program code in connection with processing the input data, wherein the portable operation includes at least one of formatting the input data and validating the input data; (d) modifying the first server program code to generate the active document with at least one instruction embedded therein to initiate performance of the portable operation by the client when processing the active document; (e) modifying the second server program code to eliminate performance of the portable operation by the second server program code; and (f) compiling the modified first and second server program code to generate at least one JAVA servlet for execution on the server.
-
-
2. A method of optimizing program code of the type configured to generate an active document for transmission to a client, and to interact with the client via the generated active document, the method comprising:
-
(a) identifying a portable operation to be performed by a server when executing the program code; and (b) modifying the program code in response to identifying the portable operation to embed at least one instruction in the active document to initiate performance of the portable operation by the client when processing the active document. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An apparatus, comprising:
-
(a) a memory; and (b) a processor, the processor configured to optimize program code of the type that generates an active document for transmission to a client, and that interacts with the client via the generated active document, wherein the processor is configured to optimize the program code by identifying a portable operation to be performed by a server when executing the program code, and modifying the program code in response to identifying the portable operation to embed at least one instruction in the active document to initiate performance of the portable operation by the client when processing the active document. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A program product, comprising:
-
(a) first program code configured to optimize second program code of the type that generates an active document for transmission to a client, and that interacts with the client via the generated active document, by identifying a portable operation to be performed by a server when executing the second program code, and modifying the second program code in response to identifying the portable operation to embed at least one instruction in the active document to initiate performance of the portable operation by the client when processing the active document; and (b) a tangible signal bearing medium bearing the first program code.
-
-
29. An apparatus, comprising:
-
(a) a client configured to receive an active document; and (b) a server coupled to the client and configured to optimize program code of the type that generates the active document for transmission to the client, and that interacts with the client via the active document, wherein the server is configured to optimize the program code by identifying a portable operation to be performed by the server when executing the program code, and modifying the program code in response to identifying the portable operation to embed at least one instruction in the active document to initiate performance of the portable operation by the client when processing the active document.
-
Specification