private boolean update() throws RemoteException {
    try {

      FileWriter fw = new FileWriter(file);
      fw.write("");

      System.out.println(accounts.size());
      for (AccountPO po : accounts) {
        // 将列表中的数据再一次的更新到Account.txt文件中去
        fw.append(po.getName() + " " + po.getAccountID() + " " + po.getBalance() + "\n");
        fw.flush();
      }
      fw.close();
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    return true;
  }