[jax-rs-spec users] Re: REST server/client contract

From: Marek Potociar <>
Date: Tue, 20 Sep 2016 16:24:03 -0700

The problem with this type of client/server contract is that it promotes tight coupling, which goes against the grain of the whole REST philosophy. You still can rely on JAXB (and soon hopefully on JSONB as well) specs to get at least the model-level contract covered, if you decide to do so…


> On 23 Aug 2016, at 00:19, wrote:
> Am I really the only one who thinks that contracts between
> server/client in an enterprise application are important?
> The RESTeasy framework did a great job providing the contract interface
> with Resteasy PROXY Framework*.
> But with the rise of ASYNC processing it became useless, because the
> return type cannot be inspected as far as i know.
> @GET
> public void asyncGet(@Suspended final AsyncResponse asyncResponse)
> Does anyone have any solutions for this problem?
> *
> _Client_Framework.html