O'Reilly logo

Google by David Geary

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

Section 1. Use Remote Procedure Calls to Access Online Web Services

Like most non-trivial GWT applications, both the Address Book and Yahoo! Trips applications use remote procedure calls to access information on the server. For example, when the Address Book application starts up, it makes an RPC to the server to load contacts from a database.

The Yahoo! Trips application also uses RPCs, but it uses them to access an online web service instead of a database. Figure 2 shows the Yahoo! Trips web site, where people can post information about their trips, which other people can access through a search. If you were planning a vacation to Paris, for example, you could look at other people’s Paris trips for some good ideas.

Figure 2. Yahoo!’s Trip ...

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