posted 17 years ago
Hi all,
I want to keep a hash map of some object I am creating while some operation of my entity bean. I want this hashmap to be available across the whole application as long as the application runs. That is if I come back next time, I want that map be available. Now, my server is always running on a single jvm. The spec discourage me to use singleton/ static variables. So, where can I keep my hashmap? May be bind it in the Context()??
pls help.
Regards,
Sajid