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.