Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Servlet Instances

Status
Not open for further replies.

db2sachin

Programmer
Jun 9, 2003
24
0
0
AU
Could anyone tell me how many instances of the same servlet will be formed if I use the same Servlet from different clients/ or same client?
 
Normally, only a single one.
If you use loadballancing across servers, a single instance will be created in each server that gets to execute the servlet.
 
A servlet instance would create a process at the server at which it runs which has multiple threads. Multiple calls to the same servlet by any client would create multiple threads.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top