aspose file tools
The moose likes Servlets and the fly likes Single Thread Model Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Single Thread Model

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
A servlet implements Single Thread model
public class BasicServlet extends HttpServlet implements SingleThreadModel {

int number = 0;
public void service(HttpServletRequest req, HttpServletResponse res) {
}
}
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
So, where is the question?


Mani
Quaerendo Invenietis
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Single Thread Model
 
Similar Threads
Single Thread Model
SingleThread Model
Transactions - JTA or JDBC?
single thread or multi thread ?
synchronized(page) is jsp