Originally posted by Fernando Matias Valadao:
I have a doubt about the question "12" on page 428.
The book shows letters "b" and "d" to be the correct answers, but I suppose that only letter "b" is correct.
That is, doesn't letter "d" select all the orders, despite of having line itens or not?
Or did I misunderstand something?
Thanks in advance.
Fernando.
I too had trouble with this question. I chose B and was surprised to see D was also considered correct. If an order must have a line item (I could not discern this from the question), then D would be correct.
This also gave me trouble: Q17 in the same chapter, single_valued_path_expression is not defined anywhere in the book.
Many of the questions/answers in the chapters are misprinted or feel very misleading. Such as, Q9 of Chapter 9. It's not possible to answer this one without reading the spec. because the chapter does not mention it. The chapter just tells you that "Never" and Mandatory" cause exceptions, but it is not clear from page 494 that "NotSupported" and "Supports" also throw exceptions. Very misleading.
When you get to Chapter 10, try listing all the application exceptions on one side of a page and the system exceptions on the other side. It's tougher than you think, because they left at least one of them out, AccessLocalException is never mentioned, but is examinable.
How about the timeline on page 355, I swear ejbStore() is called before ejbPassivate(). At least that's what is says at the bottom of page 352!
The whole book is like this. If you only read the book cover to cover and did their practice exam, you'd be lucky to score 85%. You MUST read the spec (all 500+ pages of it) to do really well.
I am surprised nobody has brought out a more precise book (without the paper-wasting cartoons) than HF-EJB. Yet everyone who studies for the exam recommends (no, insists!) that you have to read this book full of misprints and errors.
-jeff