On Friday, February 11, 2011 7:53:17 AM UTC+1, Sarjith wrote: > > The very first thing I dint understand is, how do we map the request url to > our method?. > > com.google.gwt.requestfactory.server.RequestFactoryServlet is the class > defined in gwt package, then how we say getPerson() request should call this > method in this service class?. please correct me if I'm wrong anywhere. >
The request contains the name of the RequestContext class, which is deployed on the server. So RequestFactoryServlet looks at the class for its @Service or @ServiceName annotation. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.