Recoverable proxy object in an object oriented environment
First Claim
1. A method of distributed object-oriented computing in which a recoverable proxy object, located in a client address space has a pointer to a target object in a server address space, the method comprising the steps of:
- storing, in said proxy object, the name of the target object, an indication as to the validity of the proxy object and an alternate proxy to said target object;
said proxy object registering itself with a proxy register object, said proxy register object maintaining a referencing pointer to said proxy object;
said proxy object checking the validity of the proxy object, prior to each invocation of said target object;
responsive to said checking, using the proxy object if valid, or the alternate proxy if not valid; and
responsive to a malfunction in said server address space;
said proxy register object causing each of said proxy objects to obtain a valid alternate proxy to target objects in said server, to indicate that said proxy object is invalid and to store a pointer to the valid alternate proxy.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism is described for protecting a server against invalid usage of proxy objects after malfunction of a server and also for transparently re-creating proxy objects in a client of a client-server distributed processing system. A proxy class is used that has additional attributes indicating the name of the target object in the server, an indication as to whether the name is presently valid and an alternate pointer to the target object. A proxy register object in the client maintains pointers to all the proxy objects which point to objects in the server. On malfunction of the server, and consequent invalidity of the proxy objects, the proxy register object causes all proxy objects to be refreshed.
81 Citations
16 Claims
-
1. A method of distributed object-oriented computing in which a recoverable proxy object, located in a client address space has a pointer to a target object in a server address space, the method comprising the steps of:
-
storing, in said proxy object, the name of the target object, an indication as to the validity of the proxy object and an alternate proxy to said target object; said proxy object registering itself with a proxy register object, said proxy register object maintaining a referencing pointer to said proxy object; said proxy object checking the validity of the proxy object, prior to each invocation of said target object; responsive to said checking, using the proxy object if valid, or the alternate proxy if not valid; and responsive to a malfunction in said server address space; said proxy register object causing each of said proxy objects to obtain a valid alternate proxy to target objects in said server, to indicate that said proxy object is invalid and to store a pointer to the valid alternate proxy. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A distributed object-oriented computer system having one or more proxy objects, the system comprising:
-
a server address space, having located within the address space; a target object on which operations may be performed by client applications; an object request broker for allowing communication with client applications in a client address space; and a server object for responding to requests from client applications; a client address space, having located within the address space; a client application for operating on one or more objects located in the client address space; an object request broker for allowing communication with objects in a server address space; one or more proxy objects, each proxy object containing a pointer to the location within the server address space of the target object; wherein; each of said one or more proxy objects further comprises; the name of the target object located in a server address space; an alternate pointer to a target object; a validity flag, the validity flag indicating whether the pointer within the proxy or the alternate pointer should be used to reference the target object; and said client address space further comprises; a proxy register object which maintains referencing pointers to proxy objects located in the client address space; and means for updating said one or more proxy objects after a malfunction in the server address space. - View Dependent Claims (13)
-
-
11. A method of distributed object-oriented computing in which proxy objects in a client address space have a primary pointer to target objects in a server address space so that calls on the proxy object result in invocation of the corresponding target objects, the method comprising the steps of:
-
in response to malfunction in the server address space potentially causing relocation of said target objects; recovering said proxy objects to point to the relocated target objects; the method being characterized by the further steps of; causing each of said proxy objects to obtain from a name server in said address space and to store a valid alternate pointer to said relocated target objects; creating a validity flag in said proxy object indicating that said primary pointer is invalid and said alternate pointer should be used whereby a call on the proxy object will result in invocation of the relevant target object. - View Dependent Claims (12, 14)
-
-
15. A computer program product on a computer readable memory for distributed object-oriented computing in which a recoverable proxy object, located in a client address space has a pointer to a target object in a server address space, the computer program product comprising:
-
means for storing, in said proxy object, the name of the target object, an indication as to the validity of the proxy object and an alternate proxy to said target object; means for said proxy object registering itself with a proxy register object, said proxy register object maintaining a referencing pointer to said proxy object; means for said proxy object checking the validity of the proxy object, prior to each invocation of said target object; means responsive to said checking, using the proxy object if valid, or the alternate proxy if not valid; and means responsive to a malfunction in said server address space for causing said proxy register object to cause each of said proxy objects to obtain a valid alternate proxy to target objects in said server, to indicate that said proxy object is invalid and to store a pointer to the valid alternate proxy.
-
-
16. A computer program product on a computer readable memory for distributed object-oriented computing in which proxy objects in a client address space have a primary pointer to target objects in a server address space so that calls on the proxy object result in invocation of the corresponding target objects, the computer program product comprising:
-
in response to a malfunction in the server address space potentially causing relocation of said target objects; means for recovering said proxy objects to point to the relocated target objects; means for causing each of said proxy objects to obtain from a name server in said address space and to store a valid alternate pointer to said relocated target objects; means for creating a validity flag in said proxy object indicating that said primary pointer is invalid and said alternate pointer should be used whereby a call on the proxy object will result in invocation of the relevant target object.
-
Specification