Thanks Paul !!

On Apr 3, 7:03 pm, Paul Robinson <ukcue...@gmail.com> wrote:
> redzediwrote:
> > Hi All,
> >    Here are a couple of elementary questions, pardon me if they sound
> > very naive but i really really need to know the answer :-
>
> > 1. why do we need to do a setEndPoint on the client-side stub we get
> > from GWT.create() ??
>
> because you choose what the name of your servlet will be in your
> web.xml. It can't know what name you put in there.
>
> > 2. is the resultant stub as thus created threadsafe or is their any
> > kind of restrictions of its being used simultaneously i.e can i save a
> > reference of the stub as a static variable and call it from anywhere
> > in my code ??
>
> Client-side GWT code runs in the browser and is therefore single-threaded.
>
> Paul
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to