jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Registering Node Types over RMI
Date Wed, 22 Nov 2006 11:11:29 GMT
Hi,

On 11/22/06, Christoph Kiehl <kiehl@subshell.com> wrote:
> Daniel Murley wrote:
> > Is it at all possible to register node definitions using the RMI client?
> >
> > I currently have a situation where the application uses RMI to talk to a
> > separate tomcat instance running jackrabbit.  However it doesn't seem to be
> > possible to register node types over the wire/
>
> No, it's not possible to register nodetypes over RMI. This is because the JCR
> spec does not specify how nodetypes are registered and the JCR API does not
> include methods to register nodetypes. Since the RMI interface reflects the JCR
> API 1:1 there is no method to register nodetypes in the RMI interface as well.
> Nodetype registration has to be done locally on your server. Or you have to
> write your own RMI interface to register nodetypes.

There's an improvement request JCR-585 for extending JCR-RMI with some
Jackrabbit-specific features while still maintaining support for other
JCR repositories. The initial goal is to have it done by Jackrabbit
1.2.

BR,

Jukka Zitting

Mime
View raw message