Maybe GuiceRemoteServiceServlet fits your needs. All the services are mapped to the same url, and GuiceRemoteServiceServlet uses Guice dependency injection to choose one appropriate service implementation, that serves the service interface on which the request was made.
hope it helps On 20 nov, 11:28, Kamal Chandana Mettananda <[email protected]> wrote: > Hi, > > When you specify the servlet url-pattern; you must specify the path you > expects without wild cards in the middle of the url-pattern. (wild card > character can be a suffix in a url pattern). > > Cheers, > Kamalhttp://lkamal.blogspot.com > > On Fri, Nov 20, 2009 at 6:50 PM, smiletolead <[email protected]>wrote: > > > > > Hi all, > > I have a project with 2 modules. The modules are sharing a RPC > > servlet. The idea is to use single RPC servlet for multiple Service > > interfaces. The interfaces reside in different modules. I am facing > > one problem when use * in the URL pattern. The servlet is not getting > > invoked when I use the URL patter as "/*/moduleA". It is expecting me > > to specify the exact URL. Can anyone tell me what the problem is? > > > Regards, > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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=.
