Web Services and Threads



When designing a program to expose as a web service, is it need to be
thread safe. I mean instance variables of classes.

.



Relevant Pages

  • RE: Web Methods Lock
    ... > first user or will both be able to run the web method? ... > web service handle this? ... Is there any good reference available. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: servlet reference and thread safe
    ... Only local variables in methods are thread safe because local variables ... HttpServletRequest and HttpServletResponse are, and there's nothing to ... But you cannot use instance variables of the Servlet, ...
    (comp.lang.java.programmer)
  • Re: Reasonable practice?
    ... > def run ... puts type # => might be a different value now! ... but I think the best way to make your code thread safe is to ... You'll probably have to deal with writing instance variables ...
    (comp.lang.ruby)
  • Re: servlet reference and thread safe
    ... why instance variables are not thread safe? ... before the request for article 31 comes in from Joe. ... these variables are thread safe. ... but you don't have separate instances. ...
    (comp.lang.java.programmer)
  • Re: servlet reference and thread safe
    ... why instance variables are not thread safe? ... String y; ... these variables are thread safe. ... Only local variables in methods are thread safe because local variables ...
    (comp.lang.java.programmer)