• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Sybex 816 Errata on Pages 342 and 677

 
Ranch Hand
Posts: 229
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chapter 6, Page 342, Question 14 - There are 3 packages mentioned: "magic.wand", "magic.portion" and "magic.until". It says to give each module the same name as the package. Therefore, the reference to the module "magic.helper" is incorrect.

Appendix B, Page 677, answer to Chapter 6 question 15 - The sentence "The service provider must have a uses directive, but that is on the service provider interface". This is incorrect as it is the service locator that must have the uses directive. Or maybe the sentence is trying to say that the service provider must have the requires directive on the service provider interface.
 
author & internet detective
Posts: 40685
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Edmund Yong wrote:Chapter 6, Page 342, Question 14 - There are 3 packages mentioned: "magic.wand", "magic.portion" and "magic.until". It says to give each module the same name as the package. Therefore, the reference to the module "magic.helper" is incorrect.


Right before that, it says that the magic.helper module contains the magic.util package. The part about giving the module/package the same name applies to the other two which don't have anything specific. While this could certainly be clearer, I don't think it is wrong. I've added a note in our private list of things that could be clearer.
 
Jeanne Boyarsky
author & internet detective
Posts: 40685
827
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Edmund Yong wrote:Appendix B, Page 677, answer to Chapter 6 question 15 - The sentence "The service provider must have a uses directive, but that is on the service provider interface". This is incorrect as it is the service locator that must have the uses directive. Or maybe the sentence is trying to say that the service provider must have the requires directive on the service provider interface.


Agreed and added to errata. Good catch!
 
Jeanne Boyarsky
author & internet detective
Posts: 40685
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:

Edmund Yong wrote:Chapter 6, Page 342, Question 14 - There are 3 packages mentioned: "magic.wand", "magic.portion" and "magic.until". It says to give each module the same name as the package. Therefore, the reference to the module "magic.helper" is incorrect.


Right before that, it says that the magic.helper module contains the magic.util package. The part about giving the module/package the same name applies to the other two which don't have anything specific. While this could certainly be clearer, I don't think it is wrong. I've added a note in our private list of things that could be clearer.


Actually, there is an errata there. This post explains the problem with magic.helper and magic.util. It must be magic
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic