Re: Using same RPC servlet by mutliple modules
I want know why it does not work without using Guice. Because
specifying a URL pattern with wild card is working for a normal
servlet but it is not working for a RPC servlet
On Nov 21, 7:07 am, Fabio <fabio.it...@gmail.com> wrote:
> 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 <lka...@gmail.com> 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 <kumar.gane...@gmail.com>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 google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > > .
> > > 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home