RE: Binary object inside Externalizable

2016-02-24 Thread Andrey Kornev
t/writeExternal - passing in *itself* as > > > ObjectOutputStream/ObjectOutput correspondingly. This way the entire > > > serialization process never leaves the context of a single Binary > > > marshaller and allows Ignite to handle such complex cases as the one > >

Re: Binary object inside Externalizable

2016-02-24 Thread Dmitriy Setrakyan
le/Externalizable classes and calls their serialization > > callbacks > > > - writeObject/writeExternal - passing in *itself* as > > > ObjectOutputStream/ObjectOutput correspondingly. This way the entire > > > serialization process never leaves the context of a single

Re: Binary object inside Externalizable

2016-02-23 Thread Valentin Kulichenko
riteExternal - passing in *itself* as > > ObjectOutputStream/ObjectOutput correspondingly. This way the entire > > serialization process never leaves the context of a single Binary > > marshaller and allows Ignite to handle such complex cases as the one > we're > > discussin

Re: Binary object inside Externalizable

2016-02-20 Thread Dmitriy Setrakyan
ne we're > discussing now. > > I hope it makes sense. > > Andrey > > > From: valentin.kuliche...@gmail.com > > Date: Fri, 19 Feb 2016 19:15:07 -0800 > > Subject: Binary object inside Externalizable > > To: dev@ignite.apache.org > > > > Folks, >

Binary object inside Externalizable

2016-02-19 Thread Valentin Kulichenko
Folks, I recently faced an issue which seems to be pretty critical. As you know, when binary marshaller meets an Externalizable object, it switches to optimized marshaller. And if there is a regular object inside, it's still serialized with optimized, even if its type is declared in binary