A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
can there ba more than one instance of servlet of a servlet at one time?
manas ranjan mandal
Joined: Apr 02, 2008
Jul 23, 2008 14:05:00
I want to know that can there be more than one instance of
class in the servlet container?if yes please give me an example
Joined: Mar 22, 2005
Jul 23, 2008 14:18:00
A container might create more than one instance if the servlet implements the SingleThreadModel interface. But that interface is deprecated and shouldn't be used any more, so this is kind of an academic example.
I agree. Here's the link:
subject: can there ba more than one instance of servlet of a servlet at one time?
How is Servlet a singleton?
why cant there be multiple servlets running at the same time?
more than one instance of servlet
can same servlet have multiple instance in container
when init() is being called?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015