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 / rajesh r

Hi

The SingleThreadedModel has been deprecated from Servlet
specification due to a performace hit.

Please donot use this in future use Synchronized block if
you really need to protect your Attributes from cuncurrent
access.

Thanks
Rajesh
rajeshr1988@gmail.com

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default http method in the servlet?

1250


What is meant by a servlet?

1057


What are the types of an http request?

1103


How httpservlet is different from the genericservlet?

1083


Differentiate between the print writer and servlet output stream?

961


Explain the difference between get and post method in servlet?

1096


Explain jsessionid?

989


Explain how to improve Servlet Performance?

1103


What is the life cycle of a servlet?

1448


Explain the features are in servlet 3?

1022


Can we use threads in Servlets?

1100


what do you understand by url rewriting?

911


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

2359


What do you mean by mime type?

933


Why do we use sendredirect() method?

943