2 Replies Latest reply on Oct 26, 2007 5:08 PM by Ges George

    writing to JBoss Cache Remotely

    Ges George Newbie


      I apologize if my question has already been answered here. A quick search did not reveal anything.

      I am new to JBoss Cache - I am trying to figure out if it is possible for a server to push data to a Jboss Cache remotely. For example, if I have a webapp running in JBoss in one JVM, is it possible for me to run the JBoss Cache in a different JVM and push data to it, so that this Cache node can then sync up with other cache nodes.

      Any help with this is deeply appreciated.


        • 1. Re: writing to JBoss Cache Remotely
          Manik Surtani Master

          No. We don't distribute any code that does this, although creating a wrapper interface to do this using the technology of your choice should be trivial. I know of people who were trying to wrap the cache interface in CORBA so they could write to it from a C app, but that's an extreme case.

          Another approach would be that your front-end has a Cache instance as well, which is a part of the cluster, but configured to be a "light" member of the cluster (e.g., very aggressive eviction so memory footprint is small; no state transfer; and a clustered cache loader to load state from other cluster members as needed).

          • 2. Re: writing to JBoss Cache Remotely
            Ges George Newbie


            I will definitely look into setting up the cache in the way you mentioned above.

            Thanks a lot!