When I use rpc in GWT, I must made two interfaces, like:
public interface GreetingService extends RemoteService {
String greetServer(String name) throws IllegalArgumentException;
}
public interface GreetingServiceAsync {
void greetServer(String input, AsyncCallback<String> callback) throws IllegalArgumentException;
}
If I create interface GreetingService eclipse show errors "Missing asynchronous interface GreetingServiceAsync"
Or if missing method with same name and some defined structure, eclipse show error "GreetingServiceAsync is missing method greetServer(String, AsyncCallback)"
or If I rename one service with reflactoring, second service is renamed too.
My ask is: How I can do to same in my own rpc library. It is eclipse plugin? if yes, can you give me some basic info how and where I can look for some info or examples.
Thanks All