public MessageDAO createMessageDAO() throws DAOException {
   return (MessageDAO) daoFactory.createDAO(MessageDAO.class);
 }
 public RepositoryDAO createRepositoryDAO() throws DAOException {
   return (RepositoryDAO) daoFactory.createDAO(RepositoryDAO.class);
 }