Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Object

 
Navi Singh
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Is the call object Thread-safe by design...or the only way to make the application thread-safe is to make use of Singleton etc.
Thanks in advance,
P.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A call object should be unique to a particular client request - just watch out for using user specific instance variables in the application.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic