Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet question

 
Walter Vetrivel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A servlet counts the number of times it has been called using an incrementCount() method. During testing, the developer verifies that the servlet accurately counts the requests from a number of clients. Which of the following BEST explains this fact?
a) The web or application server supports activation and passivation of the servlet.

b) The HttpServlet class is designed to share state data across all its instances.

c) The same servlet instance services all the requests.

d) The servlet doGet( ) method has been marked as synchronized.

 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Walter,
What test is this question from? The IBM 486 (or whatever number it is) test?
John
 
Walter Vetrivel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YES IT IS FROM THE IBM TEST.
WALTER
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic