[
https://issues.jboss.org/browse/ISPN-10301?page=com.atlassian.jira.plugin...
]
Dan Berindei commented on ISPN-10301:
-------------------------------------
Interesting fact: GraalVM has a Javascript engine with {{JSON.parse()}} and
{{JSON.stringify()}} and we have a protostream-to-json transcoder, so a quarkus-based
server could support Javascript tasks with encoding {{application/json}} operating on
{{application/x-protostream}} values.
Deprecate server media type application/x-java-object
-----------------------------------------------------
Key: ISPN-10301
URL:
https://issues.jboss.org/browse/ISPN-10301
Project: Infinispan
Issue Type: Task
Components: Server
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Priority: Major
Fix For: 10.0.0.Beta4
`application/x-java-object` needs to have the application classes deployed on the server
in order to do anything useful with it, and the server must also be able to do reflection
on those application classes.
We should steer users towards always using `application/x-protostream` instead, because
the protobuf schemas are much easier to deploy to the server. The first step would be to
make protostream the default marshalling mechanism in the client.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)