Mechanism to cache references to Java RMI remote objects implementing the unreferenced interface
AssigneeInternational Business Machines Corporation
InventorKevin Gary Tapperson
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorKevin Gary Tapperson
Estimating the term…
An efficient caching mechanism for Java RMI remote objects is implemented. In order to efficiently implement a cache for these connection objects, the client JVM may hold a normal reference to the object while the connection is in use and for a period of time thereafter. A thread, referred to as a connection expiration thread, is used as a timer for each connection. After that period of time expires, only a weak reference is held by the client JVM and the connection may be garbage collected. The period of time may be adjusted to suit the needs of the server JVM. A shorter time may be used to ensure responsiveness of the server JVM to memory demand and shutdown requests, while a longer time may be used to enhance the effectiveness of the caching mechanism by forcing connections to stay open longer after they are no longer being used and before they are automatically destroyed due to garbage collection by the server JVM.
A method, in a client, for managing connections to a server in a distributed environment, comprising:
A method, in a client, for reusing a connection to a server, comprising:
A method, in a client, for caching connections to a server, comprising:
An apparatus, in a client, for managing connections to a server in a distributed environment, comprising:
An apparatus, in a client, for reusing a connection to a server, comprising:
An apparatus, in a client, for caching connections to a server, comprising:
A computer program product, in a computer readable medium, for managing connections in a distributed environment, comprising:
A computer program product, in a computer readable medium, for reusing a connection to a server, comprising:
A computer program product, in a computer readable medium, for caching connections to a server, comprising:
Dependencies are inferred from the claim text.