jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Hypermedia - Take 2

From: Markus KARG <markus_at_headcrashing.eu>
Date: Tue, 2 Aug 2011 20:23:54 +0200

> Jan,
>
> The way I understand it, Sergey is just supporting the idea to make the
> absolute references a default option in JAX-RS
> API, so that by default the API can support also (potential) ill-
> behaved clients. Such behavior is IMO a variation to
> Postel's Law. Do you have any particular concerns with this?
>
> Marek

You are proposing that we shall squander valueable resources out of the hypothetic risk that there might be a ill-behaving client? I would understand this if client and server would not have any knowledge of each other as it is typical in the web. But here, things are different. Client and Server actually need to share the same view of a RESTful service interface that is defined exactly by one party -- the application programmer. So if a client is not working with that server, is it in the interest of that programmer that it silently will work when squandering additional bandwith? I wouldn't it be more in the interest of the application programmer that bandwidth is saved and that one client programmer opens a case with the service provider, then learning about his fault?