Skip to content

Instantly share code, notes, and snippets.

@deepaksinghvi
Created July 24, 2012 03:33
Show Gist options
  • Save deepaksinghvi/3167852 to your computer and use it in GitHub Desktop.
Save deepaksinghvi/3167852 to your computer and use it in GitHub Desktop.
MongoDBService
package com.example.gwt.client;
import java.util.List;
import com.example.gwt.client.modal.User;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("dbservice")
public interface MongoDBService extends RemoteService {
List<String> getAllUsers();
void setUser(User user);
boolean isValidUser(User user);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment