Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Single Threaded Model in Servlets? Explain this
with an example?

Answer Posted / rajkumar

In Single Thread model multiple instances of Servlet class
is Created for every request and in MultiThread model thread
instance is created for every request.
Single thread model is used in case code safety.Performance
fo server is degraded when we use single thread as it
creates Servlet instance for every request where server
gives fast response in multi thread model.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know if java is running on linux?

1174


What is the type of method for sending request from http server?

1176


How do you invoke a servelt?

1184


Why do we have servlet listeners?

1124


What is the capacity the doget can send to the server?

1129


What is session?

1125


The code in a finally clause will never fail to execute, right?

1147


How to create war file?

1225


How can you create a session in servlet?

1213


What is the major difference between servlet and applet?

1058


What must be implemented by all servlets?

1154


Write a servlet to upload file on server.

1157


What methods do you use in servlet - applet communication?

1093


How can we achieve transport layer security for our web application?

1098


What is webservlet?

1039