In Infinispan the x-serialized-object isn't ideal - its more for
getting java objects in binary ser form if they got into the cache via
some other distributed means (ie the RESTful server is just a "window"
into the Infinispan grid). What is preferred is content type
negotiation and it can return it in something useful like json/xml to
a REST client.
What would be a reasonable use of puting in and getting back binary
serialized objects via REST over some native interface? (happy to be
convinced it matters, and why a better media type is needed, as Bill
mentions, at the moment I just don't see it).
The main thing that interested me about the media type was how to
index it (which is a whole separate topic) - otherwise (really) I
wasn't that worried - it will just store and return what it is told.
Not sure if much more is needed to be honest?