Win a copy of Head First Go this week in the Go forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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

 
Greenhorn
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?

Thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!