This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface RPCServiceAsync { | |
public void getCars(String city, AsyncCallback<List<Car>> callback); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface RPCService extends RemoteService { | |
public List<Car> getCars(String city); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RPCServiceImpl extends RemoteServiceServlet implements RPCService { | |
public List<Car> getCars(String city) { | |
// Implementation here | |
} | |
} |
NewerOlder