Search code examples
deploymentgwtproduction

Any good articles related to deploying GWT applications to production?


Does anyone know any good articles on how to deploy Google Web Toolkit (GWT) applications to a production environment? What are the requirements? Should I use Tomcat or Jetty with or without Apache? My GWT app leverages GWT-RPC requiring it to be hosted on a JVM stack.

My current experience with deployment to production is primarily based on a Microsoft stack (IIS, ASP.NET etc).

Hope anyone can point me in the right direction,

Thanks.


Solution

  • The requirements would be any J2EE server that complies is Servlet 2.5 standard.

    You don't have to install Apache, tomcat have his own web server. GWT would build for you a WAR file you should copy that file to the tomcat webapps and restart tomcat, it would deploy it automaticly. The war file will contain all the needed file.

    To build the war file you have to use ant, an article here how to do

    I think the ant build would create the war file, anyway zipping the war directory and changing the extension to '.war' is the same (WAR file are only zip files)