• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Posts: 8
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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?

I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!