public boolean releaseLock(int transactionId, int resourceId) throws RemoteException
	{
		Resource r = resources.get(resourceId);
		boolean result = r.unlock(transactionId);
		if (gui != null)
			gui.updateResourceTable(resources);
		return result;
	}