It's a URL. If your GWT app is located at http://www.foo.com/myapp and
you set the service entry point to GWT.getModuleBaseURL() +
"myservice" then you'll end up sending an HTTP request to
http://www.foo.com/myapp/myservice, and it will be received by the
servlet mapped to that URL.

I haven't seen the example in question so I couldn't speak to why it
doesn't make sense. If you want to post the relevant bits, I'd be
happy to puzzle over it with you. It may, of course, just be a typo.


On Tue, Feb 3, 2009 at 3:06 PM, beeky <[email protected]> wrote:
>
> I'm working my way through _Beginning Google Web Toolkit_ by Smeets,
> Boness and Bankras and I'm thoroughly confused by the usage of
> setServiceEntryPoint().
>
> What is the parameter for this method supposed to be?  It appears to
> be a path since GWT.getModuleBaseURL() is always used as part of the
> parameter.  But in the example from BGWT the rest of the url does not
> correspond to anything in the downloaded example code.
>
> I thought perhaps the portion after getModuleBaseURL() was a
> configuration item, i.e. a setting for service entry point in
> *.gwt.xml but that does not seem to be the case either.
>
> Could someone explain what this param is and how it is arrived at?
>
> Thanks for any help or guidance,
> -=beeky
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to