Well, cheat, like Rick! 8^})

have a reference to a singleton in a stateless session bean. Just make sure the singleton is thread safe, and lacking in bottlenecks if you have a lot of volume to deal with.

-danch

Schnitzer, Jeff wrote:
I need to cache some data that is both physically large and expensive to
compute.  I can suffer only one copy in memory, and it must be refreshed
at intervals in the background - not while the user is waiting for a
response.

I am doing this in the web tier.  How can it be done in the EJB tier?

Jeff




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to