Chapter 10. Communicating with GWT-RPC

This chapter covers

  • Asynchronous communication

  • Overview of the GWT-RPC mechanism

  • Step-by-step instructions for using GWT-RPC

  • Building an example widget using GWT-RPC

When you’re building a rich Internet application, it’s likely you won’t get too far before you need to contact the server. The reasons for doing so are numerous and can range from updating the contents of a shopping cart to sending a chat message. In this chapter, we’ll explore the primary remote procedure call (RPC) mechanism that ships with the GWT toolkit. Throughout this chapter, and the chapters that follow, we’ll refer to this mechanism as GWT-RPC to distinguish it from other general RPC flavors.

If you’re unfamiliar with RPC, it’s a term used ...

Get GWT in Action 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.