You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Hadas Vogel <ha...@yahoo-inc.com> on 2013/05/02 14:00:45 UTC
Jackrabbit Webdav tutorial
Hi,
I've recently started using Jackrabbit's JCR API. However, I'd like to start using Jackrabbit's webdav instead.
Could you please recommend a tutorial which explains how to use it? I'm looking for something equivalent to this example (http://jackrabbit.apache.org/first-hops.html) in webdav.
For example, I'd like to know how to
- create a node and put a file on it
- create a versionable node
- get a file from a specific version
- add a label to a specific version
I have found this article online (http://jukkaz.wordpress.com/2009/11/24/jackrabbit-over-http/). However it does not cover all cases I am in need of.
In addition, I'd like to know in which cases we'd rather use Jackrabbit's SPI component.
Thank you in advance,
Hadas
Re: Jackrabbit Webdav tutorial
Posted by Ulrich <Fo...@gombers.de>.
WebDAV is the protocol to connect to the repository, it cannot be used to replace the JCR API. Instead of the programmatically approach via JCR you could consider choosing the Sling-Interface for maintenance.
The API itself is very good described. Just do a search for "JCR 2.0 HTML" - it's all there. How to connect via WebDAV can be found here: http://dev.day.com/docs/en/crx/current/how_to/webdav_access.html
Ulrich
Am 02.05.2013 um 14:00 schrieb Hadas Vogel <ha...@yahoo-inc.com>:
> Hi,
>
> I've recently started using Jackrabbit's JCR API. However, I'd like to start using Jackrabbit's webdav instead.
> Could you please recommend a tutorial which explains how to use it? I'm looking for something equivalent to this example (http://jackrabbit.apache.org/first-hops.html) in webdav.
> For example, I'd like to know how to
> - create a node and put a file on it
> - create a versionable node
> - get a file from a specific version
> - add a label to a specific version
>
> I have found this article online (http://jukkaz.wordpress.com/2009/11/24/jackrabbit-over-http/). However it does not cover all cases I am in need of.
>
> In addition, I'd like to know in which cases we'd rather use Jackrabbit's SPI component.
>
> Thank you in advance,
> Hadas
Re: Jackrabbit Webdav tutorial
Posted by Julian Reschke <ju...@gmx.de>.
On 2013-05-02 14:00, Hadas Vogel wrote:
> Hi,
>
> I've recently started using Jackrabbit's JCR API. However, I'd like to start using Jackrabbit's webdav instead.
> Could you please recommend a tutorial which explains how to use it? I'm looking for something equivalent to this example (http://jackrabbit.apache.org/first-hops.html) in webdav.
> For example, I'd like to know how to
> - create a node and put a file on it
> - create a versionable node
> - get a file from a specific version
> - add a label to a specific version
>
> I have found this article online (http://jukkaz.wordpress.com/2009/11/24/jackrabbit-over-http/). However it does not cover all cases I am in need of.
>
> In addition, I'd like to know in which cases we'd rather use Jackrabbit's SPI component.
>
> Thank you in advance,
> Hadas
Well, the main point of the generic WebDAV support is to implement ...
WebDAV. So optimally, you don't need Jackrabbit-specific information.
That being said, there are of course a few restrictions/extensions that
you may need to be aware of. It would be helpful if you'd be more
specific about what you plan to do.
Getting back to your questions: you should be able to create a file node
using a standard HTTP PUT request. Did you try that already?
Best regards, Julian