Originally posted by Shrinivas Mujumdar:
ya I do agree.....but
SingleThreadModel interface is Deprecated Ben..in servlet 2.4 Spec. so why to talk about the stuff which is not recommended.......
Shrinivas
First, I was not recommending it.
Second, since most of a developer's time is spent maintaining existing code it is important that we understand all of the API for the tools we are using; including the deprecated aspects of it.
My main point is that pooling is a non-issue except for SingleThreadedModel.
Using load-on-startup will not cause more instances of a given servlet to exist than not using it (unless of course nobody ever hits it, in which case it would never be loaded at all without load-on-startup).