Hi,

On Wed, May 11, 2011 at 6:31 PM, Stefan Guggisberg
<stefan.guggisb...@gmail.com> wrote:
> as some of you may have noticed i've started work on my own
> MicroKernel proposal a while ago in the jackrabbit sandbox.
>
> although the project is in a very early stage i wanted to share my work
> with you.

Good stuff! I see people are already starting to collaborate on this.

> as always, questions & feedback are welcome.

The MicroKernel interface [1] reads more like a REST than a Java API.
I guess that's the intention, but I question why one would ever want
to pass around serialized JSON strings around in a Java application. A
Java client would just parse the string again, leading to unnecessary
serialize/parse rounds whenever an API call is made. So, assuming we
are designing a REST API (which seems like a good idea), instead of
defining the API as a Java interface, wouldn't it make more sense to
directly with a HTTP binding or alternatively a more abstract API
definition?

Another question: Why would we ever want to build our own JSON parsing
and serialization code? Just use one of the existing libraries out
there.

[1] 
http://svn.apache.org/repos/asf/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java

BR,

Jukka Zitting

Reply via email to