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

Why jsp is better than servlet?

1006


Can we get PrintWriter and ServletOutputStream both in a servlet?

1128


Name the packages that work with servlet?

987


What is the requirement of servlet config and servlet context implemented and how are they implemented?

985


how the HTML data stored in web server?

2608


What are the different mode that servlets can be used?

1004


Define context initialization parameters.

1014


What are different ways for authentication of servlet?

1065


What is servlet and its use?

1095


What is the procedure for initializing a servlet?

1021


Can we use threads in Servlets?

1126


How to notify an object in session when session is invalidated or timed-out?

1074


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

2388


What is servlet instance?

1034


Explain the difference between a web server and a web container?

983