@Override
 public boolean delete(int id) throws RemoteException {
   return DAO.delete(Account.class, id);
 }
 @Override
 public boolean update(Account account) throws RemoteException {
   return DAO.update(account, account.getId());
 }
 @Override
 public int insert(Account account) throws RemoteException {
   return DAO.insertGetGeneratedKey(account);
 }
 @Override
 public Account getById(int id) throws RemoteException {
   return (Account) DAO.getObById(Account.class, id);
 }
 @Override
 public Vector<Account> getBySql(String sql, Object[] obs) throws RemoteException {
   return DAO.getListBySql(Account.class, sql, obs);
 }
 @Override
 public Vector<Account> getAll() throws RemoteException {
   return DAO.getList(Account.class);
 }