• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Sybex CSG 11 - Figure 17.10

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Page 823, in Figure 17.10 in chapter 17
* Why is there an arrow from "service locator" to "service provider" ?
* Shouldn't the module "zoo.tours.reservation" be renamed to "zoo.tours.reservations" ?

Thank you!
 
author & internet detective
Posts: 41774
887
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

Emmanuel Szpiega wrote:* Why is there an arrow from "service locator" to "service provider" ?


That represents the service locator "knowing" about the service provider for the lookup. In the Java 17 book, we made this a dashed line to show it isn't a compile time/requires dependency.

Emmanuel Szpiega wrote:* Shouldn't the module "zoo.tours.reservation" be renamed to "zoo.tours.reservations" ?


Yup! I just logged it as an errata and credited you. I also checked and we have this correct in our Java 17 study guide.
 
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic