So, this should mean that the client package does not need to get
deployed to my Tomcat server, correct? I tried deleting the client
package from the server side just to see what would happen and the app
doesn't work which is why I'm confused.

Thanks.

On Mar 18, 9:48 am, PhilBeaudoin <[email protected]> wrote:
> The View and Presenter participants in the MVP pattern are expected to
> live on the client only. The Model objects are typically shared
> between the client and the server.
>
> If you look at your Project.gwt.xml file you will see:
>         <!-- Specify the paths for translatable code                    -->
>         <source path='client' />
>         <source path='shared' />
>
> This means all classes in package client and shared are compiled to
> javascript.
>
> Cheers,
>
>     Philippe
>
> On Mar 18, 9:25 am, Dhiren Bhatia <[email protected]> wrote:
>
>
>
> > I'm curious about the container the 'Presenter' runs in. If I have an
> > application that uses the MVP pattern on the UI side and makes RPC
> > calls to a servlet (running in Tomcat), where does the presenter run?
> > Does it get compiled to Javascript and run in the browser or is it
> > running in Tomcat?
>
> > Is there a document that explains exactly which pieces get compiled
> > into Javascript? Apologies if this has been asked already.
>
> > Thanks,
> > Dhiren

-- 
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