• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread safe

 
Sunjeev Shetty
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A developer wants to ensure that data is updated in a threadsafe manner?which two support this goal?
A)Store the data in a local variable
B)Store the data in a servlet request object.
C)Store the data in a servlet context object.
Answer given is a and c.
I think it should be a and b.

Thanks
 
Charith Fernando
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
even i think its "A" and "B" ... where did u get this question from? can u please post the link... i think this person must've answered as A and C thinking about context init parameters.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic