Java Reference
In-Depth Information
is invoked by your client to fetch and save timecard entries and related project
information. You will need to implement the following components to round out
your application:
1. A server-side service containing the methods that your client will
2. The client-side code that will invoke the service
3. A serializable POJO containing your actual timecard data that is
passed between your server and client
Figure 7-1. Your GWT RPC components model
TimeEntryData POJO
Your client and server will need a POJO to pass data back and forth. The POJO in
Listing 7-4 will be a single timecard entry that will be persisted to the datastore.
When using GWT RPC, the class, parameters, and return types must be
serializable so that the object can be moved from layer to layer.
Search WWH ::

Custom Search