// Cache the server name and RMI ID in a property.
setRMIProperties(serverName);
// Create the serializable form of the <code>RenderContext</code>.
RenderContextProxy rcp = new RenderContextProxy(renderContext);
try {
remoteImage.setSource(id, source, rcp);
} catch(RemoteException e) {
e.printStackTrace();