Servlet pooling

what is the servlet poolingIn the interview sombody asked me abt this he told me this is now obsolete but concept is still there
[142 byte] By [Tabrezkhana] at [2007-11-27 6:06:16]
# 1

Servlet Pooling Its about SingleThreadModel, google that.

You always have one instance of a servlet handling several request. With Servlet Pooling you have many servlet instances handling the requests one at a time.

This servlet feature is no longer in use because it generates problems at synchronize when using resources.

oropezaa at 2007-7-12 16:21:17 > top of Java-index,Java Essentials,Java Programming...
# 2

Servlet pooling is basically used to make the program thrad safe.

The container manage this pooling.The container will create and assign a different instace to each request. The container will craete the instance for a servlet upto a predefine limit let say 10. If any request comes and all inctstace are busy the the 11th request has to wait to free one of 10 instace.

Saleem

saleeminshaa at 2007-7-12 16:21:17 > top of Java-index,Java Essentials,Java Programming...
# 3
thanks guys..m cleared
Tabrezkhana at 2007-7-12 16:21:17 > top of Java-index,Java Essentials,Java Programming...