public static DaoFactory getFactory() throws DaoException {
		if (factory == null) {
			factory = new XmlDaoFactory();
			// factory = Class.forName("org.training.d4.dao.xml.XmlDaoFactory");
		}
		return factory;
	}