3 Replies Latest reply on Jan 15, 2011 10:17 AM by Sergei Vasilyev

    Federation of a remote JCR

    Sergei Vasilyev Newbie

      Hi,

       

      Say I have a ModeShape instance running on a machine A; a remote machine B with ModeShape on wants to federate the A's repository to query and sometimes modify it.

       

      Is there a way to do such federation without JNDI or forming a cluster of those 2 machines?

       

      Thanks,

      Sergei

        • 1. Federation of a remote JCR
          Randall Hauch Master

          There is a JCR connector that allows ModeShape to talk to another local JCR instance, but that doesn't help in your situation where the other JCR instance is in another process (not part of a cluster). What we really need for this is a connector that talks to a remote JCR instance. Since JCR is not a remote API, we'd have to fall back on a ModeShape-specific approach.

           

          Luckily we do have the RESTful API, but we haven't yet created a connector that uses the RESTful API to push and pull information to/from a remote ModeShape instance. We have the RESTful Client module, so it'd be a matter of writing a connector to use that client module.

           

          Sorry that we don't have this now.

          1 of 1 people found this helpful
          • 2. Federation of a remote JCR
            Randall Hauch Master

            I just logged this new feature as MODE-1072. If you have any interest in participating with the implementation, just holler (here or on IRC).

            • 3. Federation of a remote JCR
              Sergei Vasilyev Newbie

              Thank you for the helpful info. Can the implementation be something light-weight on top JGroups, maybe a 2-node mini-cluster under the hood?

               

              Though it would require a configuration for every given pair.