• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet 3.0 specs 2.3.3.4 doubt ?

 
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


this is in context of Asynchronous processing.

the specs says that


Thread safety 2.3.3.4
Be aware that other than the
startAsync, and complete methods, the request and response objects are not
thread safe.


i'm not able to understand what it means ? what does other than startAsync and complete methods means ?
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In English, "Other than X" means that "X" is excluded from whatever follows in the sentence.

So in this case it means that in all methods except for startAsync and complete, those objects are not thread-safe.
 
gurpeet singh
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the reply Paul. but my problem was not in the wording/english. my doubt was that "what does inside the methods(othe than startAsync, complete) the objects are not thread safe means ? can you tel me a scenario when the request/response objects are accessed by more than 1 thread concurrently ?
regards
gurpreet
reply
    Bookmark Topic Watch Topic
  • New Topic