1 Reply Latest reply on Jun 13, 2019 1:27 PM by ctomc

    Global modules static classes isolation

    hman

      Hi all, i have a question about isolation of static classes into global modules.

      This classes are or not isolated between deployments/applications ?

      after some tests where i have 2 deployments/applications that use same static class, seems that aren't isolated by default.

      Is there a settings to implement this isolation level ?

       

      regards

        • 1. Re: Global modules static classes isolation
          ctomc

          They are not isolated between deployments.

          If you want that, than just include such classes / jars as part of your application.

           

          global modules are as the name says, global. as such there is a single instance of given module.

          and if you use static code for example cache that is in such module, it would be shared between all apps that depend on such module.

          it could also cause memory leaks if you are not careful.