users@glassfish.java.net

Stateless EJB and small cache

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Aug 2009 02:41:19 PDT

hi,

I have a webservice, which uses a stateless EJB, which in turn uses entity beans.
I've tried to implement some kind of cache to "remember" small chunks of data between EJB calls. But it seems I can't do this.
Isn't there a thing such "applicationContext" or whatever, which I could use for this purpose? Some kind of application environment? Or these EJB's are completely alone? No way to share data?

Thx for any ideas.
MB
[Message sent by forum member 'mbazs' (mbazs)]

http://forums.java.net/jive/thread.jspa?messageID=358957