@Override
	public boolean replicaAll(Hashtable<String, Integer> objects, String server) throws RemoteException
	{
		//Interface to access other server to get all objects
		InterfaceAcesso ia = null;
		//Was replicaAll a success?
		boolean success = true; 
		
		//Looking for the server
		try
		{
			ia = (InterfaceAcesso) Naming.lookup(server);
		}
		catch(MalformedURLException e)
		{
			System.err.println("Server.replicaAll catch MalformedURLException");
			e.printStackTrace();
			success = false;
		}
		catch(NotBoundException e)
		{
			System.err.println("Server.replicaAll catch NotBoundException");
			e.printStackTrace();
			success = false;
		}
		
		Set<String> objs = objects.keySet();

		System.out.println("Coping objects from " + ia);
		//Get all objects
		for(String s: objs)
		{
			Integer id = objects.get(s);
			try
			{
				Box obj = ia.recupera(id);
				h.put(id, obj);
			} 
			catch (ObjetoNaoEncontradoException e)
			{
				System.err.println("Server.replicaAll catch ObjetoNaoEncontradoException to ID " + id.toString());
				e.printStackTrace();
				success = false;
			}
		}
		
		System.out.println("All objects copied from " + ia);
		
		return success;
	}