I know that a
servlet is multithreaded... However, I am wondering about the staic varibales... I know that if you declare a variable static that it will be one instance of that variable to share across each servlet that is instantiated...
But does it save me anytime processing time...
Let's say that I have an engine object that in my servlet I pull from the session as well as a dbPool (somethe to make db connections). I should make those static, instead of pulling them out of the session each time... But does it save me any time?