File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes Servlets Performance Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Servlets Performance Issue" Watch "Servlets Performance Issue" New topic

Servlets Performance Issue

Ramesh Pappala
Ranch Hand

Joined: Sep 14, 2005
Posts: 50

I am developing an application using JSF Framework. Is there any problem with creating the servlets more than one.

Is there any chance to face performance issues in RealTime if creates more number of servlets.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 861
Do you mean is there a problem with having an instance of each servlet for each user? Hard to say without knowing more, but I would write my servlet to be thread safe and have one instance per servlet no matter how many users come to the site. - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Servlets Performance Issue