0 Replies Latest reply on Feb 19, 2002 5:34 PM by Dobb Lou

    Storing data tree in memory

    Dobb Lou Newbie

      Hi,

      I am working on this application which requires me to manage serveral hardware devices. I would like to store some of the data retrieved/reported from these boxes in memory instead of in persistance due to the fact that

      1. these data change frequently
      2. No value in storing the data in persistance
      3. Like to improve performance by caching data in memory
      4. Some of these data requires storage in a hiearchial tree format with data changes in one node of the tree causing nodes above the changing node to be affected.

      What's a good way for doing this using EJB? I don't seem to be able to find a way for an EJB to store data in memory like a cache. Should I just move these data outside of the application server?

      Dobb Lou