This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!