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 / niranjanravi

Single Thread Model ensures that servlet handles only one
request at a time.When YOUR CLASS IMPLEMENTS THIS INTERFACE
WE ARE GUARENTEED THAT no two threads run simultaneously in
service() method.
this is a marker interface which contains no methods on its
own.

Is This Answer Correct ?    53 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is called when reference variable is passed in system.net?

2408


What is the purpose of inter-servlet communication?

1098


Write the code to get the server information in servlet.

1065


Why the concept of single thread model interface is used?

994


What is the difference between genericservlet and httpservlet

1093


Explain the custom jsp tags and the beans.

1069


Which protocol will be used by browser and servlet to communicate

1059


How to get the IP address of client in servlet?

1089


Describe servlet?

1045


What are the objects involved when a servlet receives a call from client?

1036


What is the difference between forward () and sendredirect () functions in servlet? Explain

1033


Define declaration.

1074


How many objects of a servlet is created?

1276


Explain the war file?

1071


What is the use of httpservletresponsewrapper?

974