You typically annotate your remote service interface using 
@RemoteServiceRelativePath("<service-end-point">).

GWT's code generator for remote services sees this annotation and generates 
code that calls 
ServiceDefTarget.setServiceEntryPoint(GWT.getModuleBaseURL() + <value of 
annotation>). The generated implementation of your remote service 
implements your remote service interface as well as the ServiceDefTarget 
interface. So you could even cast your service into the ServiceDefTarget 
interface and change the corresponding servlet path yourself if you want.

-- J

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OcemyBv8InkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to