public static void showEmployeesWithSallaryHgherThenAvgInEachDepartment(Context rootContext, boolean useCriteria)
	{
		EmployeeService empService = rootContext.lookupService("EmployeeService", EmployeeService.class);
		
		List<Employee> empList = useCriteria ? empService.getEmployeesWithSallaryHigherThenAvgSallaryInDepartmentCriteria() : empService.getEmployeesWithSallaryHigherThenAvgSallaryInDepartment();
		
		for (Employee emp : empList)
		{
			System.out.println(emp.getDepartment().getDepartmentName() + "\t" + emp.getName() + "\t" + emp.getSallary());
		}
	}