hi Terry,
it doesn't matter becuase it is used at compile time to create source
files for given implementation,
code implementation can be different and there are really as many
solutions as you can think including ServiceLocator pattern and
others,
for example GWT Designer from Instantiations creates such handy
serivce template code:
public interface MySerice extends RemoteService {
/**
* Utility class for simplifying access to the instance of async
service.
*/
public static class Util {
private static MySericeAsync instance;
public static MySericeAsync getInstance(){
if (instance == null) {
instance = (MySericeAsync) GWT.create(MySerice.class);
ServiceDefTarget target = (ServiceDefTarget) instance;
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "MySerice");
}
return instance;
}
}
}
so your service is directly accessed later as
MyService.Util.getInstance(),
regards,
Peter