jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: [j3] Repository MicroKernel API draft
Date Mon, 20 Jun 2011 10:21:52 GMT

> why JSON strings?
> - easy portability
> - remoting-friendly
> - leads to very compact API
> - JSON parsing/generating overhead is IMO minimal
>    and probably more effecient than creating (and collecting) tons of
>    small java objects on the heap
>

I doubt this. In fact I think the situation with the small Java objects 
is even worse in the face of a JSON based API: typically a 
(de)serialization layer will create an additional set of intermediate 
objects which have to be consumed/translated into the domain objects of 
the respective implementation.

Michael

Mime
View raw message