• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion in Single Thread Model

 
naresh govindaswmay
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Which statement is NOT true about the SingleThreadModel interface?
Mark
Please select one correct answer.
A : By implementing this interface it ensures that servlets handle only one request at a time.

B : If a servlet implements this interface, no two threads will execute concurrently in the servlet's service method.

C : This interface has no methods.

D : The servlet container will ensure there will be only one instance of the servlet at a time if the servlet implements this interface.

E : Class variables are not protected by this interface, but instance variables are protected.

I have a little Confision in the answers B and D.can any one clear this ..
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please QuoteYourSources.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Studying deprecated technologies?

Which exam are you studying for?

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic