You'll want to set yourself up with a proper build process. I suggest Ant. It's simple, powerful, and there are a number of examples you can borrow from this forum. Have your Ant script build a .war file and copy it to your tomcat/webapps directory. Tomcat's default configuration is to automatically deploy any .war it finds in webapps. No server restart required.
On Tue, Oct 14, 2008 at 1:18 PM, Christopher Venning < [EMAIL PROTECTED]> wrote: > > Thank you very much. > > For posterity: I compiled the my.module.server package (with > dependencies) and exported to %TOMCAT_HOME%/webapps/ServerTest/WEB-INF/ > lib, where I also copied gwt-servlet.jar (a dependency) from > GWT_HOME. I also created the WEB-INF/web.xml file with the servlet > mapping. > > Now, I understand the web.xml and dependencies need to be updated with > service changes, but this method also means that changing server-side > code requires a server restart (which embedded-serer Hosted Mode > requires anyways) along with a newly-minted server-side code extract. > Don't get me wrong, you're my new favorite person, I just want to make > sure this is the best option. Am I correct? > > > On Oct 14, 1:01 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > > You're use GWT RPC, which means you have a RemoteServiceServlet somewhere > > that implements the server side of that RPC service. You need to compile > > that servlet to a Java .class file and deploy it to your web server. You > > also need a web.xml file to map request URLs to your servlet. > > > > On Tue, Oct 14, 2008 at 12:55 PM, Christopher Venning < > > > > [EMAIL PROTECTED]> wrote: > > > > > On Oct 14, 12:53 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > > > > Did you deploy your compiled servlet? I don't see it listed in the > stuff > > > you > > > > copied to tomcat/webapps/ServerTest. > > > > > What do you mean "compiled servlet"? > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---