JSP composition in a cache for web applications with dynamic content
First Claim
1. A software system supporting distributed web applications, comprising:
- a parent server page, containing a call to a child server page;
a cache, containing code for the parent server page and child server page, wherein the code for the parent server page does not contain all the code for the child server page; and
a link associated with the call to the child server page, and encapsulating information for locating and executing the code for the child server page.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method are disclosed, according to which performance of client/server-based distributed web applications operating in an object-oriented environment may be improved, by increasing the capacity of a cache for Java Server Pages (JSPs). The main body of a JSP may contain calls to several other JSPs. The conventional method of caching such a composite JSP places a fully expanded version of each called JSP at the point in the main code from which it is called. This can result in considerable redundancy, since the same JSP may be called from several places. In an exemplary embodiment of the techniques disclosed herein for caching composite JSPs, the called JSPs are stored separately from the main JSP, along with links allowing the called JSPs to be located in the cache or executed. This eliminates redundancy, since only one copy of each called JSP is required.
-
Citations
18 Claims
-
1. A software system supporting distributed web applications, comprising:
-
a parent server page, containing a call to a child server page;
a cache, containing code for the parent server page and child server page, wherein the code for the parent server page does not contain all the code for the child server page; and
a link associated with the call to the child server page, and encapsulating information for locating and executing the code for the child server page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for caching a parent and a child sever page, comprising:
-
storing code for the parent sever page in a cache, such that the code for the parent sever page does not contain all lines of code for the child sever page;
storing only one copy of the code for the child sever page in the cache;
creating in the code for the parent sever page a link to the singular copy of the code for the child sever page for locating and executing the code for the child sever page; and
associating the link with more than one call to the child sever page to execute from the cache a plurality of the singular copy of the code for the child sever page. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer product, comprising a web server and a software system, wherein the web server includes a processor, memory, mass storage and a network interface, and the software system is adapted for caching a parent and a child sever page, such that the code for the parent sever page does not contain all lines of code for the child sever page.
-
17. A computer program product in a computer readable medium for use in storing a parent and a child server page in a cache, the computer program product comprising:
-
instructions for storing code for the parent sever page in the cache, such that the code for the parent sever page does not contain all lines of code for the child sever page;
instructions for storing only one copy of the code for the child sever page in the cache;
instructions for creating in the code for the parent sever page a link to the singular copy of the code for the child sever page for locating and executing the code for the child sever page; and
instructions for associating the link with more than one call to the child sever page to execute from the cache a plurality of the singular copy of the code for the child sever page.
-
-
18. A server including memory and processor comprising;
-
means for storing code for the parent sever page in the cache, such that the code for the parent sever page does not contain all lines of code for the child sever page;
means for storing only one copy of the code for the child sever page in the cache;
means for creating in the code for the parent sever page a link to the singular copy of the code for the child sever page for locating and executing the code for the child sever page; and
means for associating the link with more than one call to the child sever page to execute from the cache a plurality of the singular copy of the code for the child sever page.
-
Specification