jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Bridging DataStore and Web
Date Thu, 18 Dec 2008 11:01:30 GMT
On Thu, Dec 18, 2008 at 12:14 AM, Tony Rozga <tony@neovalent.com> wrote:
> I'm wondering if anyone has thought about a direct bridge between a web
> server and a FileDataStore?

I would strongly recommend to go through JCR. The simplest way for a
pure file-based mapping is to use WebDAV (the SimpleWebDAVServlet
which exposes nt:files and nt:folders), another way is to use Apache
Sling for a HTTP layer on top of JCR.

The DataStore is an implementation detail of Jackrabbit and thus not
standards-compliant - if you'd like to switch the underlying
repository implementation, you would be stuck. Also what you want to
do - get datastore id by path - is already implemented in Jackrabbit,
you would simply re-invent the wheel, especially with a new API. See
also this recent thread: http://markmail.org/message/ksahr7mluzt7ibsw


Alexander Klimetschek

View raw message