Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help w/SingleThreadModel

 
peter parker
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the answer to the following question.
Which among these variables would be thread safe

A Local and Request Variables
B Local,Instance and request variables
 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Local and Request scope variables are thread safe.
cheers.
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also tried answering it in this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic