Re: Handling collections in BinaryMarshaller

2015-12-09 Thread Vladimir Ozerov
Dmitriy, Correct. This is what I meant. On Tue, Dec 8, 2015 at 10:26 PM, Dmitriy Setrakyan wrote: > Vladimir, > > I believe the default collections in Java and .NET should be supported out > of the box. Moreover, if we know the collection type, e.g. HashMap, we can >

Re: Handling collections in BinaryMarshaller

2015-12-08 Thread Alexey Goncharuk
I like the idea, however it has obvious downsides. First, if a user class contains a collection, we force user to implement additional interface, even if the collection is a simple ArrayList. Second, I do not see how this plain collection can be the value for the cache - user will always need to

Re: Handling collections in BinaryMarshaller

2015-12-08 Thread Dmitriy Setrakyan
Vladimir, I believe the default collections in Java and .NET should be supported out of the box. Moreover, if we know the collection type, e.g. HashMap, we can always provide a more efficient way of serializing it ourselves, in the Binary marshaller. Is this something you had in mind, or were