The client on the other hand, is trying to get a copy of the service object into its own JVM. It goes through the same mechanism to get a registrar from the lookup service, as shown in Figures 1-5 and 1-6.
Figure 1-5: Querying for a service locator
Figure 1-6: Registrar returned
However, the client does something different with the registrar. It requests that the service object be copied across to it. See Figures 1-7 and 1-8.
Figure 1-7: Asking for a service
Figure 1-8: Service object returned
At this point the original service object is running on its host, there is a copy of the service object stored in the lookup service, and there is a copy of the service object running in the client's JVM. The client can make requests of the service object running in its own JVM.