I have some
servlets I am running with websphere and I have a class that contains a large hashtable which is static and final. the way it works now is that the first time I try to access that data the class hits the database and loads it up, which takes a while.
I have two questions:
1. can anyone suggest a way to prime that hashtable so that the first time its asked for its there? (I understand that I can make a call at the top of the first servlet, but that is a delay as well) can it be primed before that, or in the background as a low priority
thread?
2. will that data persist as long as webshpere is running?
thanks in advance,
jesse