Section 5. Use Ant to Deploy Your Application in Tomcat

It’s great fun to run your application in hosted mode, but eventually you’ll need to move your GWT application to a new home. Most likely, that will be a servlet container such as Tomcat or Resin. Not only will you be able to deploy your application to end-users, but your application should look a little better in a browser such as FireFox than it does in Google’s browser. Figure 7 is offered as proof of that assertion.

Figure 7. The Yahoo! Trips and Address Book apps running in Tomcat

image

In the GWT’s browser, you can compile your code and run it in a bonafide browser by clicking the Compile/Browse ...

Get Google now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.