Details
-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
6.0.0.Beta2
-
None
Description
Currently if compat mode is active we unmarshall the remote binary value into a java object and put this into the cache so embedded clients will be able to access a meaningful object. But this is not optimal as it will have to be serialized back to a byte array when remote clients get it and will also be to re-serialized when the put is replicated to another node.
It's better to store the byte array that comes from the remote client directly and use the storeAsBinary / MarshalledValue mechanism to provide a java object to embedded clients.