3 Replies Latest reply on Apr 6, 2012 1:11 PM by pferraro

    JBoss 7 Web - Custom HTTP Session Store

    nnanda

      Hi All,

       

      We are having a web application with heavy HTTP Session usage. We want to develop a custom Session Store (which can be a remote  Infinispan cluster or a RDBMS). How can we do it in JBoss 7?

       

      We are using JBoss 7.1.1.Final version

       

      Thanks,

      Niranjan

        • 1. Re: JBoss 7 Web - Custom HTTP Session Store
          ranga033

          Are you talking of something where you dont' wish to use the Infinispan caches which comes along with AS7 and want only a external store?

          • 2. Re: JBoss 7 Web - Custom HTTP Session Store
            nnanda

            Hi Rang,

             

            As I said, it can be anything. Right now I can leverage local Infinispan cache and in future, I want to extend that to use a remote cache.

             

            Please let me know if you need more information. And, let me know if there is a way in JBoss 7 to do this.

             

            Thanks,

            Niranjan

            • 3. Re: JBoss 7 Web - Custom HTTP Session Store
              pferraro

              You can configure the relevant cache in the web cache container to use a shared <remote-store/> with passivation and purge disabled (such that all sessions will be stored in the remote cache).  The sessions will still be held in memory, however.  Direct usage of a remote cache access is not implemented in AS7.