aspose file tools*
The moose likes Servlets and the fly likes SingleThreadModel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SingleThreadModel " Watch "SingleThreadModel " New topic
Author

SingleThreadModel

Adnan Ahmed
Greenhorn

Joined: Aug 18, 2003
Posts: 17
When a Servlet implements SingleThreadModel interface, the container is required to use an object of a servlet to serve a single request at a time.
To serve multiple requests, container can maintain a pool of servlet objects, each instance serving a single request.
my question is that all the container support the pool of servlet objects behaviour and how can we define this pool in container.


SCJP1.2 <br />SCWCD1.4
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
Unfortunately, all not servlet container support it.
Adnan Ahmed
Greenhorn

Joined: Aug 18, 2003
Posts: 17
Engin its okie that all the containers not support pool of servlet instances.
i want to know that if a container support it then whether we will be configured the container or container automatically provide it.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

i want to know that if a container support it then whether we will be configured the container or container automatically provide it.

Yes, Weblogic provides the ability to configure the pool size.


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SingleThreadModel