1 Reply Latest reply on Nov 19, 2013 9:47 AM by Randall Hauch

    Remote access

    marcocommunity Newbie

      I have some questions about remote access. I would like to share a JCR repository with 20 - 30 clients. As far as I know I have the two options (Webdav and REST API). Unfortunatelly I am unable to find the option for hard und weak references, but I will need these options for my project. Are there other possibilities to share a repository (Infinispan + JDBC ?)





        • 1. Re: Remote access
          Randall Hauch Master

          The only remote options that ModeShape provides out of the box are a generic RESTful service and a general purpose WebDAV service. Sometimes these may be a natural fit, but other times they may not fit terribly well. In that case, I'd recommend creating your own custom RESTful service with an API that suits your domain and scenario. It's so easy to create a RESTful service using JAX-RS nowadays.


          Our JDBC driver can be used remotely to query a repository, but you can't really do anything else. For example, we don't support inserts, updates, or deletes.


          The other option that may work for you is to allow your clients to start ModeShape locally so it "joins the cluster". Having said that, however, I definitely can see many situations where that not only is not ideal but it is downright undesirable.