public static void saveOrUpdate(Employee employee) {
   ((AuthenticationRemote) ServiceLocator.getInstance().getRemoteInterface(jndiName))
       .saveOrUpdate(employee);
 }
 public static User authenticate(String login, String password) {
   return ((AuthenticationRemote) ServiceLocator.getInstance().getRemoteInterface(jndiName))
       .authenticate(login, password);
 }
 public static List<Employee> findAllEmployee() {
   return ((AuthenticationRemote) ServiceLocator.getInstance().getRemoteInterface(jndiName))
       .findAllEmployees();
 }
 public static void createUser(User user) {
   ((AuthenticationRemote) ServiceLocator.getInstance().getRemoteInterface(jndiName))
       .createUser(user);
 }