Solution 11. Deployment to an External Server

In both hosted mode and web mode, GWT applications run in a version of Tomcat internal to GWT. In hosted mode, your application runs in the Google browser, which Google specifically implemented for GWT applications, whereas in web mode, GWT runs your application in your default browser. But regardless of whether you run your application in hosted or web mode, your application runs in the same internal version of Tomcat that’s bundled with GWT.

GWT’s internal version of Tomcat is fine for development, but eventually you will need to deploy your application to an external server. In fact, it’s a good idea to periodically run your application in the server you plan to deploy on so that you can make sure ...

Get Google Web Toolkit Solutions: More Cool Useful Stuff now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.