2 Replies Latest reply on Feb 15, 2005 7:00 AM by Pablo Javier Santa Cruz Cosp

    Global objects

    Alex Boumbarov Newbie

      Hi all,

      Can I have an object (say a hashtable), which can be accessed by several instances of an EJB, like this:

      LocalTestHome testHome = new LocalTestHome();

      LocalTest test1 = testHome.create();
      LocalTest test2 = testHome.create();

      Object obj = test2.getHash(key1);

      //I want to have obj==object1
      Is this possible?

      Thanks, Alex