an example java rest client with a dreamfactory server