Inter java virtual machine (JVM) resource locking mechanism
First Claim
Patent Images
1. A method of sharing a resource comprising:
- receiving a request for a shared resource in a locking repository, the request being from a requester, the requestor being one of a plurality of applications, wherein the plurality of applications are running on a plurality of JVMs;
determining if the shared resource is identified as available in a master locking repository; and
locking the shared resource to the requester, if the shared resource is identified as available in the master locking repository.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method of sharing a resource includes receiving a request for a shared resource in a locking repository. The request is from a requestor and the requestor is one of several applications. Each of the applications is running on one of several Java virtual machines (JVMs). The shared resource is locked to the requester, if the shared resource is identified as available in the master locking repository.
55 Citations
22 Claims
-
1. A method of sharing a resource comprising:
-
receiving a request for a shared resource in a locking repository, the request being from a requester, the requestor being one of a plurality of applications, wherein the plurality of applications are running on a plurality of JVMs;
determining if the shared resource is identified as available in a master locking repository; and
locking the shared resource to the requester, if the shared resource is identified as available in the master locking repository. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of unlocking a shared resource comprising:
-
receiving an unlock request from an unlock requestor, where in the unlock request includes a request to unlock a shared resource that was previously locked to a lock requestor;
determining if the unlock requestor is the same as the lock requestor; and
unlocking the shared resource if the unlock requestor is the same as the lock requestor.
-
-
10. A method for a requester application to select a shared resource comprising:
-
determining a current status of a first shared resource;
locking the first shared resource to the requestor application if the first shared resource is available. - View Dependent Claims (11, 12, 13)
-
-
14. A method of selecting a master locking repository comprising:
-
instantiating a first application, the first application including a first library;
sending a query for a master locking repository from the first library to a second library, if a second library has been instantiated in a second application;
instantiating a master locking repository in the first library, if the second library does not respond to the query; and
instantiating a slave locking repository in the first library, if the second library responds to the query. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A system comprising:
a plurality of shared resources coupled to a first computing platform the first computing platform including;
a first Java virtual machine including a first application, the first application includes a first library object; and
a second Java virtual machine including a second application, the second application includes a second library object;
logic for receiving a request for a selected one of the plurality of shared resources in a master locking repository, the request being from the first application;
logic for determining if the shared resource is identified as available in a master locking repository; and
logic for locking the shared resource to the requester in the master locking repository, if the selected shared resource is is identified as available in the master locking repository. - View Dependent Claims (20, 21, 22)
Specification