Skip to content

Instantly share code, notes, and snippets.

View ipapaste's full-sized avatar

ipapaste ipapaste

  • Greece, Thessaloniki
View GitHub Profile
public interface RPCServiceAsync {
public void getCars(String city, AsyncCallback<List<Car>> callback);
}
public interface RPCService extends RemoteService {
public List<Car> getCars(String city);
}
public class RPCServiceImpl extends RemoteServiceServlet implements RPCService {
public List<Car> getCars(String city) {
// Implementation here
}
}