On Thu, Dec 18, 2008 at 12:14 AM, Tony Rozga <[email protected]> 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 Regards, Alex -- Alexander Klimetschek [email protected]
