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 / sateesh.b

SingleThreadModel is a taged interface i.e. an interface
with out methods.
If any servlet is implimenting singlethreadmodel interface
that servlet is said be thread safe i.e. for each request
to that servlet one new object will be created in the server

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some life cycle methods of a servlet.

1068


What are the supporting protocol by HttpServlet ?

1198


Can you refresh servlet in client and server-side automatically?

1081


Explain the difference between servlet and cgi?

1168


What are its drawbacks of cgi?

1127


What is the main purpose of java servlets?

1063


What's the difference between servlets and applets?

1049


Which java framework is most popular?

1144


Which protocol will be used by browser and servlet to communicate

1059


What are the ways to handle multi-threading in servlets?

1085


How to make sure a servlet is loaded at the application startup?

1043


What are all the protocols supported by httpservlet?

1282


What do you mean by cgi and what are its drawbacks?

987


How can you start a jta transaction from a servlet deployed on jboss?

1166


What is the procedure of invoking different servlet in a different application?

1022