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 O’Reilly online learning.

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