public static void main(String[] args) {
		// TODO Auto-generated method stub
		p_dao = DaoFactory.getInstance().getProject_eXceedDAO();
		while (true) {
			System.out
					.print("Add Project(ap) / Find Project(f) / Remove Project(rp) / Find All Project(fa) / clearDB (clear) : ");
			String mode = sc.nextLine();

			if (mode.equalsIgnoreCase(ADD)) {
				System.out.print("Add Project : ");
				String name = sc.nextLine();
				System.out.println(p_dao.saveProject(name));
			} else if (mode.equalsIgnoreCase(FIND)) {
				System.out.print("Find Project : ");
				String name = sc.nextLine();
				System.out.println(p_dao.findProjectByName(name));
			} else if (mode.equalsIgnoreCase(REMOVE)) {
				System.out.print("Remove Project : ");
				String name = sc.nextLine();
				System.out.println(p_dao.deleteProject(name));
			} else if (mode.equalsIgnoreCase(FIND_ALL)) {
				List<Project_eXceed> result = p_dao.findAllProjects();
				//System.out.println(result.size());
				for(int i = 0;i<result.size(); i++) {
					System.out.println(result.get(i));
				}
			} else if ( mode.equalsIgnoreCase("clear"))	{
				List<Project_eXceed> result = p_dao.findAllProjects();
				Iterator<Project_eXceed> it = result.iterator();
				while(it.hasNext())	{
					Project_eXceed p  = it.next();
					System.out.println(p_dao.deleteProject(p.getProject_Name()));
				}
			}else
				break;
		}
	}