Hi, Am Donnerstag, den 13.03.2008, 17:58 +0000 schrieb Torgeir Veimo: > On 13 Mar 2008, at 15:49, Felix Meschberger wrote: > > >> > >> How about defining a formal remote protocol for JCR instead? A JCR > >> explorer is of course a useful tool, but having a defined, formal > >> protocol to interact with a JCR repository would be ideal. I'm > >> thinking something similar to webdav but more appropriate for JCR > >> repositories. > > > > I am not sure, whether I understand you correctly. Currently the > > Jackrabbit protocol has an RMI library, which allows plain-JCR > > remoting > > over RMI. In addition there is a simple WebDAV servlet, which allows > > filesystem-like access over WebDAV to the repository and there is a > > JCR > > WebDAV servlet, which in fact remotes the JCR API over WebDAV using > > defined WebDAV functionality such as DASL etc. > > > The webdav protocol doesn't map fully to the JCR data model. And RMI > is not really that useful when the client is not a Java client.
Right. So you would target other languages. A possible candidate jumping to my mind would be Hession [1] > > But I guess it opens up a lot of questions, I guess. How do you send > JCR data over the wire? XML or JSON? RMI uses plain old java serialization using home-grown remote objects and WebDAV of course uses XML. Regards Felix [1] http://hessian.caucho.com/
