1 Reply Latest reply on Dec 5, 2002 12:50 PM by Sacha Labourey

    Singleton instance

    leo Newbie

      if I produce a singleton instance in one EJB tier. Will the instance and so do the static variable being sharing among the clustered JVM environment. Please advise

        • 1. Re: Singleton instance
          Sacha Labourey Master

          no, which is why the EJB specification restrict this: a standard deployment or a clustered deployment should behave the same => singleton must be avoided. If you want the singleton behaviour, you must to app server specific coding.

          Cheers,


          sacha