• 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

OCEJWCD Study Companion Java EE Web 1Z0-899 possible wrong answer

 
Greenhorn
Posts: 8
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On page 200 of Chapter 8, Question 4 ask "When starting a new asynchronous request, under what conditions will always be an exception thrown?".

option "A" is given as wrong answer, but I have my doubts. It says: "Any Attempt to start a second aynchronous cycle in the same client request".

On page 191 of the same chapter it explains that "To prevent a dispatching loop (Particularly When the no-argument dispatch () is used), any one of the dispatch methods can only be called once in the same aynchoronus cycle (started by the startAsync () invocation on ServletRequest). Any aditional dispatch invocation, Within the same cycle, will cause an IllegalStartException to be thrown on the second or subsequent Attempts.

Remember that answer "A" says (in page 200): "in the same client", not second nor other, (I mean). I think that answer A cause an exception. Is this correct? May be this answer wrong?

Thanks
 
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic