Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head First EJB: Is this an error?

 
Bharat Ruparel
Ranch Hand
Posts: 493
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
On page 432 of the HF EJB text, question 4 lists both A and B as the correct answers. I think that only A is the correct answer. B is not correct because the problem statement clearly states a unidirectional relationship going from Foo to Bar. Therefore, in my opinion, Bar should not have getFoo method. Is that correct?
Regards.
Bharat
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bharat,
You're right IMO. I mentioned this a few weeks ago in the unconfirmed error reports from readers on O'Reilly's web site.
Cheers,
Phil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic