0 Replies Latest reply on Sep 2, 2007 9:34 AM by John Woo

    How to share a blob object in session beans

    John Woo Newbie


      I'm wondering how to make a blob object (3-10M) shared in some session beans.

      The requirement is that, that object should be created only once, at the first request (retrieve from somewhere, expensive in terms of connectivity).

      Thus one thing come in mind is to declare it as static, but this doesn't sound right.

      So, question will be:

      1. what is the way to hold this object?
      2. how to prevent multi access but not slow down respond?