Because he choose to decide where to go when the request arrives to the
server inside that servlet mapped. It will surely have pros and cons over
the alternative that I gave you.

I prefer the one that I sent because it's cleaner and with less workarounds.
I'll think and study it trying to find the pros and cons, but both will
work, it's just a matter of taste.

*Jayr Motta*
Software Developer
*
*
I'm  on 
BlackBeltFactory.com<http://www.blackbeltfactory.com/ui#!User/jmotta/ref=jmotta>
!



On Fri, Jul 1, 2011 at 9:28 AM, ich du <[email protected]> wrote:

> thx for clarification,
>
> your example feels much better :-)
>
> but why the article mentioned above goes this way?:
>
>  the "GuiceRemoteServiceServlet" is used to bundle all rpc requests in one
> servlet. so the "extends RemoteServiceServlet"  isn't needed for all other
> service implementations. The servlet module looks than like this
> ...
> serve("servletPath").with(GuiceRemoteServiceServlet.class)
> ...
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-guice/-/SysVOuPg8JYJ.
>
> 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-guice?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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-guice?hl=en.

Reply via email to