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 / yuvraj singh

SingleThreadModel is a marker interface. It is used to ensure that servlet handle only one request at a time.

Servlets can implement SingleThreadModel interface to inform the container that it should make sure that only one thread is executing the servlet’s service() method at any given moment.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different methods involved in generic servlet?

1154


What is lazy loading and what is Generic Servlet Class?

1128


What are the servlet events?

1121


What is the use of servlet context?

1105


Which are the different ways you can communicate between servlets?

1052


How do I know if java is running on linux?

1179


How do you get the ip address of the client in servlet?

1061


What is load-on-startup in servlet?

1200


What is servlet and its advantages?

1108


What is servlet collaboration?

1192


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1311


What is the need of servlet filters?

1064


What is context in servlet?

1098


Can we override destroy method in servlet?

1040


What is url encoding and url decoding

1229