Method, apparatus, and system for implementing view caching in a framework to support web-based applications
First Claim
1. A system comprising:
- a server, whereinthe server comprisesa processor, anda non-transitory computer-readable storage medium, coupled to the processor;
a server-side object, whereinthe server-side object is stored in the computer-readable storage medium of the server, andthe server-side object is configured to be maintained at the server;
an object manager (OM),the OM is configured to be executed on the processor of the server, andthe OM is further configured to manage the server-side object; and
a synchronization mechanism, whereinthe synchronization mechanism comprisesa server-side synchronization mechanism, anda client-side synchronization mechanism,the synchronization mechanism is configured tofacilitate synchronization betweenthe server-side object, anda client-side object,by being configured to invoke a method of the server-side object, in response to receiving a remote procedure call (RPC) from the client-side object,the client-side object is configured to be executed on a client, as part of a graphical user interface (GUI),the client is configured to maintain a cache configured to store a layout of a view,the view is a display panel comprising an arrangement of applets to be displayed in the GUI, andthe server is configured toreceive a request from the client, whereinthe request indicates receipt by the client of a user request to switch to the view, andthe request comprises
the RPC configured to invoke a method of the server-side object, andin response to the receiving the request,if the request indicates that the layout is not stored in the cache, provide the layout to the client, wherein
the layout is configured to be stored in the cache.
0 Assignments
0 Petitions
Accused Products
Abstract
According to one aspect of the present invention, a system is provided for implementing view caching in a framework to support web-based applications. The system comprising a set of server-side objects managed by an object manager (OM) running on a server. The system further comprises a set of browser-side objects running on a browser running on a client. The system also comprises a remote procedure call (RPC) mechanism and a notification mechanism to facilitate communication and synchronization between the browser-side objects and the server-side objects. The system additionally comprises a cache on the client to store layouts of views, wherein each view is a display panel consisting of a particular arrangement of applets.
-
Citations
21 Claims
-
1. A system comprising:
-
a server, wherein the server comprises a processor, and a non-transitory computer-readable storage medium, coupled to the processor; a server-side object, wherein the server-side object is stored in the computer-readable storage medium of the server, and the server-side object is configured to be maintained at the server; an object manager (OM), the OM is configured to be executed on the processor of the server, and the OM is further configured to manage the server-side object; and a synchronization mechanism, wherein the synchronization mechanism comprises a server-side synchronization mechanism, and a client-side synchronization mechanism, the synchronization mechanism is configured to facilitate synchronization between the server-side object, and a client-side object, by being configured to invoke a method of the server-side object, in response to receiving a remote procedure call (RPC) from the client-side object, the client-side object is configured to be executed on a client, as part of a graphical user interface (GUI), the client is configured to maintain a cache configured to store a layout of a view, the view is a display panel comprising an arrangement of applets to be displayed in the GUI, and the server is configured to receive a request from the client, wherein the request indicates receipt by the client of a user request to switch to the view, and the request comprises
the RPC configured to invoke a method of the server-side object, andin response to the receiving the request, if the request indicates that the layout is not stored in the cache, provide the layout to the client, wherein
the layout is configured to be stored in the cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method comprising:
synchronizing a server-side object and a client-side object, wherein the synchronizing comprises receiving a request at a server, wherein the request is from the client-side object, the client-side object is executed on a client, the request is configured to indicate
receipt by the client of a user request to switch to a view, and
whether a layout of the view is stored in a cache at the client,the view is described by the layout, the layout is configured to be stored in the cache, the view is a display panel comprising an arrangement of applets to be displayed in the GUI, and the request comprises a remote procedure call (RPC) configured to invoke a method of the server-side object; determining whether the request indicates that the layout is not stored in the cache; and if the request indicates that the layout is not stored in the cache, retrieving the layout by
causing an object manager of a server-side synchronization mechanism to manage the server-side object by
invoking the method of the server-side object, wherein the object manager is executed on the server,generating a response comprising the layout, and sending the response to the client. - View Dependent Claims (16, 17, 18, 19, 20)
-
21. A computer program product comprising:
-
a non-transitory computer-readable storage medium; and a plurality of instructions, executable on a computer system, configured to synchronize a server-side object and a client-side object, wherein said instructions are encoded in said non-transitory computer-readable storage medium, and the plurality of instructions comprise a first set of instructions, executable on said computer system, configured to receive a request at a server, wherein the request is from the client-side object, the client-side object is executed on a client, the request is configured to indicate
receipt by the client of a user request to switch to a view, and
whether a layout of the view is stored in a cache at the client,the view is described by the layout, the layout is configured to be stored in the cache, the view is a display panel comprising an arrangement of applets to be displayed in the GUI, and the request comprises a remote procedure call (RPC) configured to invoke a method of the server-side object, a second set of instructions, executable on said computer system, configured to determining whether the request indicates that the layout is not stored in the cache, and a third set of instructions, executable on said computer system, configured to, if the request indicates that the layout is not stored in the cache, retrieve the layout by
causing an object manager of a server-side synchronization mechanism to manage the server-side object by
invoking the method of the server-side object, wherein
the object manager is executed on the server,generate a response comprising the layout, and send the response to the client.
-
Specification