You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by David Buchmann <da...@liip.ch> on 2011/05/24 10:08:50 UTC

jcr remoting

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

when using the jcr api over the jackrabbit remoting implementation, is
there a way to control the depth to fetch all node children from the
backend?
http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.html#bread

i guess the jcr api does not offer anything? how do i make it happen
with jackrabbit? can i still use the jcr api to fetch nodes or do i need
to write code totally specific to jackrabbit?

cheers,david
- -- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3bZ44ACgkQqBnXnqWBgIu7sACgjnxYH9u4jtCa2gk/NdRBZjoY
BjIAnjTS2hZ3h64mDVSwKue+LURyRXnP
=aoKL
-----END PGP SIGNATURE-----

Re: jcr remoting

Posted by Angela Schreiber <an...@adobe.com>.
hi david

> when using the jcr api over the jackrabbit remoting implementation, is
> there a way to control the depth to fetch all node children from the
> backend?
> http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.html#bread

if i remember correctly there a 2 ways of manipulating the batch-reading:

- specify a BatchRead config with the server sided servlet (in this
   case the server defines what's most favorable for the client).

- specify a BatchRead configuration with the creation of the spi2dav
   repositoryservice.

> i guess the jcr api does not offer anything? how do i make it happen

no... that's not part of the jcr api (nor part of the jcr extensions
in jackrabbit) as this is merely an configuration of at the spi level.

> with jackrabbit? can i still use the jcr api to fetch nodes or do i need
> to write code totally specific to jackrabbit?

sure... it's all about using the jcr api... the configuration is
rather to have a more specific behavior on the spi layer in order
to optimize the traffic.

regards
angela