On Wed, Nov 7, 2012 at 10:02 PM, Jan Kotek <[email protected]> wrote:
>> As long as all get down to base types (no matter in what hierarchy layer)
>> it'll work out of the box.
>
> I think basic problem is what a  'base type' is. It is very
> space-unefficient to treat HashMap or Date as POJO.
> For MapDB serialization HashMap, Date (and many other common data types) is
> a  base type.

Jan, I can assure you based on a hands-on experience that almost all
serialization frameworks like Kryo,protostuff or lightning will
serialize everything that MapDB can serialize without any problems
(e.g. a HashMap will be serialized as a collection, not as POJO. In
fact almost in the same way as MapDB does it).

The main difference is that serialization in MapDB/Quickser is more
tightly coupled with the rest of MapDB's code. It is less flexible
than dedicated frameworks in terms of configuration and customization,
but it just works out of the box and provide just enough functionality
for MapDB.


-Roman

P.S. BTW, implementation-wise MapDB's serialization is very similar to
(simplified) Kryo.

Reply via email to