O'Reilly logo

Essential GWT: Building for the Web with Google Web Toolkit 2 by Federico Kereki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Communicating with Other Servers

If you cannot or won’t use GWT servlets on the server (possibly because your company has already set up a different environment, with a services-oriented architecture, probably based in scripting languages such as PHP) you can still do direct Ajax calls and process other kind of responses, such as XML (or JSON, which we’ll see later on). In this chapter we will study the usage of XmlHttpRequests and connect to services both to get and to send XML data.

RPC calls are very useful in GWT, but in today’s computing environments, it’s highly likely that your GWT application will have to coexist with other, previously developed, separate applications. Your company might already have in place a service-oriented architecture, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required