URL urlHome = new URL("http://localhost:8888/cloudcodex/home2");
GwtRpcCommLayerClient clientHome = new GwtRpcCommLayerClient(urlHome, http.getCookieStore().getCookies());
clientHome.setGwtRpcClientSizeProxyImplClass(Proxy.class.getName());
final HomeRPCAsync homeRpc = clientHome.createRemoteServicePojoProxy(HomeRPCAsync.class);
URL urlCampaign = new URL("http://localhost:8888/cloudcodex/campaign2");
GwtRpcCommLayerClient clientCampaign = new GwtRpcCommLayerClient(urlCampaign, http.getCookieStore().getCookies());
clientCampaign.setGwtRpcClientSizeProxyImplClass(Proxy.class.getName());
final CampaignRPC campaignRpc = clientCampaign.createRemoteServicePojoProxy(CampaignRPC.class);
// asynchronous call
homeRpc.getHome(new AsyncCallback<Result<HomeDTO>>() {
@Override
public void onSuccess(Result<HomeDTO> result) {
System.err.println(result.hasErrors());