8.2. Understanding RequestFactory architecture

As with GWT-RPC, using RequestFactory requires quite a few moving parts. So before we start coding the individual components, we’ll look at the picture as a whole so that you can see where each part fits. We’ll start on the client side first and then take a look at the server.

8.2.1. Investigating the client-side architecture

The client portion of the RequestFactory framework consists of three types of objects: the RequestFactory interface implementation, the RequestContext implementation, and entity proxy implementations. These classes and their relationship are shown in figure 8.3.

Figure 8.3. On the client side, the RequestFactory is used to create a context, which in turn is used to create, ...

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