Hi zixzgima, you only need to compile (javac) the 'shared' and 'server' folder (and maybe your service interfaces). What resources are compiled (javac) is a setting in the Eclipse "Java Build Path". There you can deactivate the compilation of the 'client' folder.
If you haven't got a server side communication you only need to copy the generated folder by the GWT compiler (the javascript stuff) into any folder of your webserver (e.g. apache2). Otherwise you have to use a war and a webserver like tomcat, glassfish, jboss, jetty etc. I do not see any way and point in using a jar for a GWT compiled app since these files should be accessible via a browser. Hope it helps, cheers On 3 Mrz., 17:32, zixzigma <[email protected]> wrote: > Hello, > in GWT, we write code in Java, that GWT Compiler , compiles to JavaScript. > > - when deploying the application, do you think we need compiled Java class > files in our final WAR ? > or we just need the generated .js ? > > I look inside the war file generated, and I see my client-side Java classes > in classes folder. > this made me wonder, weren't these classes supposed to be compiled to > JavaScript ? > so why they ended up in WAR ? > > - is it possible to compile GWT App into a JAR instead of WAR ? > > - is maven gwt:compile capable of producing jar ? instead of war ? > > Thank You -- 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.
