0 Replies Latest reply on Feb 3, 2006 4:34 AM by Reka Guendisch

    Is it possible to use static variables over more web applica

    Reka Guendisch Newbie

      I have more web applications, each of them uses a utility.jar, located under jboss/server/default/lib. A variable of a utility class has to be the same over each application. I initialize it using singleton, and its value (an insance of another class) reamins the same within the first web application, as expected. But if another web application tries to use the same variable, it becomes a new insance of the class it refers. How could I become alwas the first insance? Maybe through a JBoss configuration parameter?

      Thanks,
      Réka