• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

(Sybex) (Kindle pg 527) (Java OCP 11 Programmer II Study Guide) Possible Errata

Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne/Scott,

On page 527, chapter 6, where the book says,

Java provides a ServiceLocator class

I think this is possibly a typo because there is no such class in jdk11. I'm sure you meant ServiceLoader because that's what the example used.

Also, when you talk about Locator, are you talking about the Service Locator pattern that is explained in this blog post https://www.baeldung.com/java-service-locator-pattern as well?
Ranch Foreman
Posts: 34
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that it is already in the errata (p. 330, chapter 6). Link to Vasiliy Spodin's thread
Kindle edition has different pages, though.
I'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic