Are you really sure there are no shared classes in client? On 18 March 2010 23:29, Dhiren Bhatia <[email protected]> wrote:
> gwt-servlet.jar is deployed. > > My question is about the client classes from my application. Do they > need to be pushed to the servlet container? The app does not work > without them but I don't see why they're needed on the server side. > > > > On Mar 18, 10:10 am, Fabio Kaminski <[email protected]> wrote: > > You should deploy only gwt-servlet.jar in your Servlet container.. > > as you will need ate least to extends GWT's RemoteServiceServlet > > wich will do all the rpc magic serialization and proper servlet treatment > > for your service... > > > > So normaly you use gwt-dev and gwt-user to build and compile.. and > > gwt-servlet for service response.. > > > > Regards. > > > > Fabio Kaminski > > > > > > > > On Thu, Mar 18, 2010 at 1:53 PM, Dhiren Bhatia <[email protected]> > wrote: > > > 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]<google-web-toolkit%[email protected]><google-web-toolkit%2Bunsubs > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Regards, Alexander -- 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.
