public static void showTotalEmployeeVacations(Context rootContext, boolean useCriteria)
	{
		EmployeeService empService = rootContext.lookupService("EmployeeService", EmployeeService.class);
		
		List<EmployeeVacationDuration> empVacations = useCriteria ? empService.getEmployeeTotalVacationDurationsCriteria() : empService.getEmployeeTotalVacationDurations();
		
		for(EmployeeVacationDuration vacationDuration : empVacations)
		{
			System.out.println(vacationDuration.getEmployee().getName() + " has " + vacationDuration.getTotalVacation() + " days of vacations");
		}
	}