jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject JCR JSOP serialize / deserialize
Date Mon, 25 Nov 2013 13:06:45 GMT
Hi all,

I'm currently looking / investigating on an interoperable format for
serializing / deserializing JCR nodes and I was wondering how easy it'd be
(or if anything already exists) to use JSOP [1] for that.

The use case would be like follows:
1. get node /a/b/c from JCR as a JSOP
2. send the JSOP object to other machine(s) (e.g. over HTTP)
3. receiver machine writes JSOP into its own repository creating nodes /
properties for /a/b/c accordingly

FileVault works very nicely for that as one can create a VLT package for
certain paths, send the package stream over HTTP and deserialize the stream
using FileVault on the receiving side.

The (eventual) need or maybe advantage of using JSOP could come if the
receiver is not running on a JVM and therefore cannot use FileVault API for
deserialization of the stream, in this case it seems JSOP may be easier to
handle (even if one could rewrite VLT package deserialization in the
receiving platform language).

Just an idea, looking forward to your comments.

[1] : http://wiki.apache.org/jackrabbit/Jsop

View raw message