Object oriented communication between isolates
AssigneeOracle America, Inc.
InventorWilliam F. Foote
Life of this patent
Estimating the term…
Abstract
A computer-implemented method and computer-readable medium for providing object-oriented communication between isolates is described. A request is received from a requesting Xlet for a remote reference to an exported object in a first isolate, the exported object having been exported by an exporting Xlet. A plurality of object registries are searched for the remote reference, each of the object registries being in a respective isolate. The remote reference is retrieved from one of the object registries and the remote reference is forwarded to the requesting Xlet.
Claims20
A computer-implemented method executed by a processor for providing object-oriented communication between isolates, the method comprising:
- receiving, at a registry proxy in an application manager, a request from a requesting Xlet in a first isolate for a remote reference to an exported object in a second isolate, the exported object having been exported by an exporting Xlet, the first and second isolates having different address spaces;
- searching a plurality of object registries for the remote reference, the plurality of object registries being distributed such that each isolate maintains one of the object registries whose entries are exported by the exporting Xlet in that isolate;
- retrieving the remote reference from one of the object registries;
- and
- forwarding the remote reference to the requesting Xlet, wherein the method operations are executed by the processor.
A computer readable storage medium having program instructions for object-oriented communication between isolates, the computer readable storage medium comprising:
- program instructions for requesting from a requesting Xlet in a first isolate for a remote reference to an exported object in a second isolate, the first and second isolates having different address spaces, the exported object having been exported by an exporting Xlet;
- program instructions for searching a plurality of object registries for the remote reference by a registry proxy in an application manager, the plurality of object registries being distributed such that each isolate maintains one of the object registries whose entries are exported by the exporting Xlet in that isolate;
- program instructions for retrieving the remote reference from one of the object registries;
- and
- program instructions for forwarding the remote reference to the requesting Xlet.
A method executed by a processor for providing object-oriented communication between isolates, the method comprising:
- entering an exported object and a remote reference corresponding to the exported object in an exported isolate registry, the entering being performed by a first Xlet in a first isolate, the exported isolate registry being located in the first isolate;
- sending a request for the remote reference from a second Xlet in a second isolate to a registry proxy in an application manager, the first and second isolates having different address spaces;
- searching a plurality of exported isolate registries for the remote reference through a registry proxy, each exported isolate registry being in a corresponding isolate;
- retrieving the remote reference from the exported isolate registry through the registry proxy and passing the remote reference to the second Xlet;
- and
- instantiating a stub object for the second Xlet, the stub object providing an interface of the exported object, the stub object passing calls to the exported object, wherein the method operations are executed by the processor.
Dependencies are inferred from the claim text.