wood burning stoves 2.0*
The moose likes Servlets and the fly likes Single Thread Model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Single Thread Model
 
Similar Threads
synchronized(page) is jsp
single thread or multi thread ?
Single Thread Model
Transactions - JTA or JDBC?
SingleThread Model